mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
remove docker-compose swarm only statement
This commit is contained in:
parent
b5a827ff31
commit
90fa8b0544
|
@ -65,7 +65,7 @@ Put received spams in `.Junk/` imap folder and add a cron like the following:
|
|||
0 2 * * * docker exec mail sa-learn --spam /var/mail/domain.com/username/.Junk --dbpath /var/mail-state/lib-amavis/.spamassassin
|
||||
```
|
||||
|
||||
If you run the server with docker compose on swarm, you can leverage on docker configs and the mailserver's own cron. This is less problematic than the simple solution shown above, because it decouples the learning from the host on which the mailserver is running and avoids errors if the server is not running.
|
||||
If you run the server with docker-compose, you can leverage on docker configs and the mailserver's own cron. This is less problematic than the simple solution shown above, because it decouples the learning from the host on which the mailserver is running and avoids errors if the server is not running.
|
||||
|
||||
The following config works nicely:
|
||||
|
||||
|
|
Loading…
Reference in a new issue