1

I am still new at this so be gentle.

I have setup a server with postfix, dovecot, apachce2, PHP5, PHPmyadmin, spamassassin, clamav, amavis.

Now to train spamassassin apperently I need to use IMAP.

  • But can I use POP3 saved emails in any way?
  • Is it possible to copy mails from Thunderbird to the server and train spamassassin

Its because my spam folder on my thundird email client has alot of "good" examples of spam.

Cudos
  • 529
  • 2
  • 7
  • 18

1 Answers1

4

Thunderbird stores its mail folders as mbox files (see the Thunderbird FAQ). If you locate the file for the spam folder, you can train from it using the --mbox switch:

sa-learn --spam --mbox /path/to/spam_mbox
Phil Ross
  • 7,009
  • 2
  • 23
  • 19
  • So I upload the contents of my spam folder in thunder bird to e.g. /tmp/spam folder an execute above command? – Cudos Nov 22 '09 at 18:38
  • @Cudos Yes, copy the Spam folder mbox file from your Thunderbird profile and then run the above command. You can find further documentation for sa-learn at http://spamassassin.apache.org/full/3.2.x/doc/sa-learn.html – Phil Ross Nov 23 '09 at 10:10