Improve script 'debug-fetchmail'

The option '--check' checks for new mails without actually fetching
or deleting mail. Without '--check' 'debug-fetchmail' throws errors if
the external mail accout has new mails and the smtp daemon is not
running.
This commit is contained in:
Josef Friedrich 2016-08-29 23:28:28 +02:00
parent 6c9901e260
commit cb97cec2e1
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
su -s /bin/sh -c "/usr/bin/fetchmail \ su -s /bin/sh -c "/usr/bin/fetchmail \
--verbose \ --verbose \
--daemon 0 \ --daemon 0 \
--check \
--nosyslog \ --nosyslog \
--nodetach \ --nodetach \
-f /etc/fetchmailrc" fetchmail <&- 2>&1 -f /etc/fetchmailrc" fetchmail <&- 2>&1