mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Added info about ONE_DIR
This commit is contained in:
parent
5583ad2779
commit
5e2effeab0
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue