Added info about ONE_DIR

This commit is contained in:
Thomas VIAL 2017-01-19 21:39:20 +01:00
parent 5583ad2779
commit 5e2effeab0

View file

@ -57,6 +57,7 @@ Put received spams in `.Junk/` imap folder and add a cron like the fllowing:
```
# Everyday 2:00AM, learn spam for this specific user
# This assumes you're having `ONE_DIR=1` (consolidated in `/var/mail-state`)
0 2 * * * docker exec mail sa-learn --spam /var/mail/domain.com/username/.Junk --dbpath /var/mail-state/lib-amavis/.spamassassin
```