mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Improve script 'debug-fetchmail' (#292)
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:
parent
0064a19c68
commit
81f42d096a
|
@ -5,6 +5,7 @@
|
|||
su -s /bin/sh -c "/usr/bin/fetchmail \
|
||||
--verbose \
|
||||
--daemon 0 \
|
||||
--check \
|
||||
--nosyslog \
|
||||
--nodetach \
|
||||
-f /etc/fetchmailrc" fetchmail <&- 2>&1
|
||||
|
|
Loading…
Reference in a new issue