How do I teach Spam Assassin?

John Lagrue admin at moraystudio.com
Sat Mar 13 20:36:58 UTC 2004


Charles Howse wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 12 March 2004 04:46 pm, Christofer C. Bell wrote:
> 
>>I've been collecting spam email that's gotten past my Fedora Core 1
>>installation of spam assassin (spamassassin-2.63-0.2) and I'd like to
>>"teach" spam assassin about these messages (update the heuristics to be
>>able to filter these messages that are getting past the filter by default).
>>
>>Someone posted a command that does this on the list some time ago and I've
>>unfortunately lost that message.  How can I teach spam assassin (system
>>wide) about this email?  Thanks!
>>
> 
> man sa-learn will give you the details.
> Using KMail, I use the following to teach:
> sa-learn --spam --dir /home/charles/Mail/.Spam.directory/MissedSpam/*
> 

That does it if spamassassin in running on a per-user basis. However the 
original question is how do we do this on a system-wide basis? Like, for 
example, on my system where I filter ALL incoming mail with spamd before 
sorting it into users' mailboxes. How in this case do I teach SA?

John





More information about the fedora-list mailing list