Fix wrong directory for spamassassin learning

This commit is contained in:
cternes 2019-08-02 22:10:14 +02:00
parent 0a0e758d92
commit e03af03ef9

View file

@ -107,7 +107,7 @@ edit the system cron file `nano cron/sa-learn`, and set an appropriate configura
# spam: junk directory
0 2 * * * root sa-learn --spam /var/mail/domain.com/username/.Junk --dbpath /var/mail-state/lib-amavis/.spamassassin
# ham: archive directories
15 2 * * * root sa-learn --ham /var/mail/domain.com/username/.Archives* --dbpath /var/mail-state/lib-amavis
15 2 * * * root sa-learn --ham /var/mail/domain.com/username/.Archives* --dbpath /var/mail-state/lib-amavis/.spamassassin
# ham: inbox subdirectories
30 2 * * * root sa-learn --ham /var/mail/domain.com/username/.INBOX.* --dbpath /var/mail-state/lib-amavis/.spamassassin
#