You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Massimiliano Marini <ma...@linuxtime.it> on 2008/09/10 20:49:47 UTC

sa-learn with tagged mail

Hi all,

when I create a .mbox file for sa-learn with all the spam mail, i must
remove all the mail with :

1. X-Spam headers:
X-Spam-Status: Yes, hits=4.7 required=4.0
X-Spam-Level: ++++ 

and

2.
subject tagged ***SPAM*** by qmailscanner 

or can I leave mails as they are in .mbox?

-- 
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Re: sa-learn with tagged mail

Posted by Massimiliano Marini <ma...@linuxtime.it>.
> 'man Mail::SpamAssassin::Conf' and read about bayes_ignore_header. 

Very helpfully thanks :)

-- 
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Re: sa-learn with tagged mail

Posted by Sahil Tandon <sa...@tandon.net>.
Massimiliano Marini <ma...@linuxtime.it> wrote:

> when I create a .mbox file for sa-learn with all the spam mail, i must
> remove all the mail with :
> 
> 1. X-Spam headers:
> X-Spam-Status: Yes, hits=4.7 required=4.0
> X-Spam-Level: ++++ 

man sa-learn:

  --spam
     Learn the input message(s) as spam.   If you have previously 
     learnt any of the messages as ham, SpamAssassin will forget them    
     first, then re-learn them as spam.  Alternatively, if you have 
     previously learnt them as spam, it'll skip them this time around.  
     If the messages have already been filtered through SpamAssassin, the 
     learner will ignore any modifications SpamAssassin may have made.
 
> 2.
> subject tagged ***SPAM*** by qmailscanner 
> 
> or can I leave mails as they are in .mbox?

'man Mail::SpamAssassin::Conf' and read about bayes_ignore_header. 

-- 
Sahil Tandon <sa...@tandon.net>