Sa-learn and MailScanner Subject Modification

Nathan Johanson nathan at TCPNETWORKS.NET
Tue Jan 20 19:56:35 GMT 2004

Thanks the quick response. A quick "man sed" got me going.
Sometimes I just need someone to point out the obvious (as it's not
always obvious to me).

-----Original Message-----
From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK] 
Sent: Tuesday, January 20, 2004 10:26 AM
Subject: Re: Sa-learn and MailScanner Subject Modification

If you use a script to auto-learn a mailbox at one go (I have published
mine here several times), then you could easily use sed to remove the
subject tag before feeding the file to sa-learn.

At 18:19 20/01/2004, you wrote:
>Is there a simple way to ignore the spam tag in the subject header when
>manually learning spam? Or does it matter?
>I know that SpamAssassin ignores it's own markup and I'm familiar with
>using the  bayes_ignore_header directives for the MailScanner  headers,
>but am curious what to do about the spam subject modification. I
>I could reconfigure MailScanner to leave the the subject alone, but I
>prefer not to do this if possible. Any ideas or workarounds?

Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

More information about the MailScanner mailing list