mirror of
https://github.com/tomav/docker-mailserver
synced 2025-08-31 06:15:28 +00:00
Added info about ONE_DIR
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user