-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 13 March 2004 02:36 pm, John Lagrue wrote: > 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? Whoops! Excuse me for not reading the original question properly. In your case, each user will be getting missed spam in their "inbox", correct? The only thing that I can think of is for each user to have a "MissedSpam" folder, and be trained to move all spam to that folder. You probably don't want to run sa-learn on the inbox, some people never clean it up, leaving old msgs there instead of filing them in a sub folder. Then you could write a simple script that loops through each MissedSpam folder, and runs sa-learn. The problem with this, though, is that you have to depend on the users to do someting, and to do it correctly. I've never found users to be that dependable. ;-) - -- Charles Howse Jackson, TN Registered Linux user # 347576 (http://counter.li.org) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAU4FE/S+VsB9RMKgRArHyAKCW3u9OdngJK7n1QypOtZB0FMcMhACfU+8z jPEm+PHxu8F+r67cxbXfZqg= =zyfG -----END PGP SIGNATURE-----