From 5e2effeab0609f8174660fdfdfcf64952efcf52f Mon Sep 17 00:00:00 2001 From: Thomas VIAL Date: Thu, 19 Jan 2017 21:39:20 +0100 Subject: [PATCH] Added info about ONE_DIR --- docs/content/config/troubleshooting/faq.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/config/troubleshooting/faq.md b/docs/content/config/troubleshooting/faq.md index 3c84f574..714af3e5 100644 --- a/docs/content/config/troubleshooting/faq.md +++ b/docs/content/config/troubleshooting/faq.md @@ -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 ```