mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
To retrieve emails from external mail accounts.
This commit is contained in:
parent
8b289f6717
commit
e7de8b9245
8 changed files with 77 additions and 3 deletions
|
@ -352,6 +352,15 @@ if [ -f /tmp/docker-mailserver/dovecot.cf ]; then
|
|||
/usr/sbin/dovecot reload
|
||||
fi
|
||||
|
||||
# Enable fetchmail daemon
|
||||
if [ "$ENABLE_FETCHMAIL" = 1 ]; then
|
||||
if [ -f /tmp/docker-mailserver/fetchmail.cf ]; then
|
||||
cat /etc/fetchmailrc_general /tmp/docker-mailserver/fetchmail.cf > /etc/fetchmailrc
|
||||
fi
|
||||
echo "Fetchmail enabled"
|
||||
/etc/init.d/fetchmail start
|
||||
fi
|
||||
|
||||
# Start services related to SMTP
|
||||
if ! [ "$DISABLE_SPAMASSASSIN" = 1 ]; then
|
||||
/etc/init.d/spamassassin start
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue