Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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
share|improve this answer
    
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 spamassassin.apache.org/full/3.2.x/doc/sa-learn.html –  Phil Ross Nov 23 '09 at 10:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.