Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

-d 300 means that it should use a delay of 5 Minutes between fetches

note: ensure to make the fetchmail.script file accessible for your below mentioned linux user ("fetchmail" as user) and executable at the same time. (thus the 755 pattern)

Code Block
languagebash
themeEmacs
# chmod 755 /opt/fetchmail.script


then edit  /etc/fetchmailrc

Code Block
languagebash
themeEmacs
defaults

proto pop3

set logfile "/var/log/fetchmaillog"

poll pop.1und1.de

proto pop3

user "serviva@epmanagement.eu"

pass "mypassword"

is "servivadms1"

keep


most important setting is “keep” to keep the polled emails on the server. If you omit this, the polled mails will be deleted from the pop3 (exchange) server which might result in a shitstorm.

...

There is a lot more detail, hundreds of fetchmail tutorials or the man page of fetchmail. This is my own cheatsheet and is by no means complete or all encompassing.

...