«

»

Oct
30

Getting Spamassasin To Learn From Emails In Mailbox Folder

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.

Related posts:

  1. Outlook Is Unable To Download Folder (null) We have recently had an issue with outlook 2003 working with a new Courier IMAP Server. Connections would be made to the server and emails...
  2. Don’t Unsubscribe From Spam Emails In the interests of saving embarrassment, shall we say ‘A friend’ has just clicked on an unsubscribe link in a SPAM email, and now has...
  3. Spam Bait Posts We have all heard about link bait posts, but how about SPAM bait posts. The recent post I made ‘Are Nofollow Links Worthless?‘ has attracted...

2 comments

  1. hughesnet satellite internet says:

    Hey mate, thanks 4 posting but this page isn’t vewable when using Firefox it is doubled up.

    1. Digitalquill says:

      Thanks for this. It does work in Firefox as far as I can see.

    Leave a Reply

    Your email address will not be published.

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>