remove docker-compose swarm only statement

This commit is contained in:
Sebastian Wiesendahl 2019-03-08 16:01:17 +01:00
parent b5a827ff31
commit 90fa8b0544
1 changed files with 1 additions and 1 deletions

View File

@ -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: