On Wed, Nov 13, 2002 at 09:45:35AM -0500, James Pifer wrote: > I have it all installed, mostly with defaults, but spam still seems to > be getting through. I've received 6 spam messages since last night. How > can I tell if its working at all? /var/log/maillog doesn't seem to show > me much except sendmail delivering (forwarding in my case) the messages. > Are there some logs somewhere for MailScanner, SpamAssassin (and f-prot > for that matter)?
Have a look at the email headers. Do you see anything like the following? If so, spamassassin is doing its job and you're most of the way there. Subject: *****SPAM***** Re: Start an eBay Business X-Is-Spam: Yes, SpamAssassin (score=23.4, required 5, SUBJ_HAS_SPACES, INVALID_DATE_TZ_ABSURD, NO_REAL_NAME, HOME_EMPLOYMENT, WORK_AT_HOME, EXCUSE_3, EXCUSE_14, EXCUSE_10, EXCUSE_15, REMOVE_PAGE, BIG_FONT, CTYPE_JUST_HTML, SUBJ_HAS_UNIQ_ID) X-Spam-Status: Yes, hits=23.4 required=7.0 tests=SUBJ_HAS_SPACES,INVALID_DATE_TZ_ABSURD,NO_REAL_NAME,HOME_EMPLOYMENT,WORK_AT_HOME,EXCUSE_3,EXCUSE_14,EXCUSE_10,EXCUSE_15,REMOVE_PAGE,BIG_FONT,CTYPE_JUST_HTML,SUBJ_HAS_UNIQ_ID version=2.20 X-Spam-Flag: YES X-Spam-Level: *********************** X-Spam-Checker-Version: SpamAssassin 2.20 (devel $Id: SpamAssassin.pm,v 1.77 2002/04/06 19:28:30 hughescr Exp $) X-Spam-Prev-Content-Type: text/html; charset="iso-8859-1" X-Spam-Prev-Content-Transfer-Encoding: quoted-printable > In another post Steve Cowles made mention of Procmail. It looks like > Procmail was installed by default when I installed RH8. Do I need to > disable or configure anything in there? SpamAssassin only identifies the mail as spam; it's up to you to filter the mail and shunt the spam to another file. There's a pretty good procmail tutorial at http://www.ii.com/internet/robots/procmail/qs/ which is well worth reading, as are the procmail, procmailrc, and procmailex manpages. A basic procmail recipe for spamassassin looks like this: MAILDIR=$HOME/Mail :0fw | spamassassin -P :0: * ^X-Spam-Status: Yes spam Basically if there's a X-Spam-Status: Yes header the mail gets sent to the ~/Mail/spam file. Spamassassin has never once tagged legitimate mail as spam, but I go through my spamfile once a month or so just to make sure. I have to say, between spamassassin and friends, mozilla's privacy features, and the filterproxy (filterproxy.sf.net) web filter, the net seems like the good old days before Canter & Siegal and all of their successors. No spam, no ads, pop-up or otherwise, no theft of my time or privacy. Very nice. I am always amazed when I use someone else's computer and see how they're continually assaulted by all the crap out there. I honestly don't know how anyone can stand it. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list