Quantcast
Channel: Digitalquill - My Life and Times » courier
Viewing all articles
Browse latest Browse all 3

Getting Spamassasin To Learn From Emails In Mailbox Folder

$
0
0

I use this command to learn from spam in a folder on a virtual mail box.

sa-learn –spam /var/spool/postfix/virtual/DomainName.com/emailaddress/.Possible_Spam/cur/* –showdots

This then runs on a Cron Tab each day. Care must be taken that no non-spam messages are added to this folder, so only use this with users you trust.

I am working on a way that it will iterate through each mail box and find the possible_spam folders on all virtual boxes and learn from them all at once.

I also want to get postfix/courier to automatically create the possible_spam folders on all new mail boxes.

No related posts.


Viewing all articles
Browse latest Browse all 3

Trending Articles