Am 14.01.2010 13:00, schrieb tonjg: > > > David B Funk wrote: >> >> So you need to tell us exactly how you've integrated SA into your sendmail >> before we can give you a precise answer. > > what I did was edit the local.cf so it contained this: > required_hits 8 > rewrite_subject 1 > report_header 1 > use_terse_report 1 > defang_mime 0 > report_safe 0 > use_bayes 1 > auto_learn 1 > ok_locales en > rewrite_header Subject [SPAM] > -------------- > > and I edited the procmailrc file so it contained this: > ORGMAIL=$HOME/mbox > DEFAULT=$ORGMAIL > DROPPRIVS=yes > > :0fw > * < 500000 > | /usr/bin/spamc > --------------------- > > if I've done the right thing then next I want sendmail to reject the spam > mails in the same way the dnsbl lists do. > I think I'm getting somewhere because my mail log has started showing > entries like this: > Jan 14 06:00:14 home spamd[17440]: spamd: connection from.... > Jan 14 06:00:14 home spamd[17440]: spamd: setuid to.... > Jan 14 06:00:14 home spamd[17440]: spamd: processing message.... > Jan 14 06:00:28 home spamd[17440]: spamd: clean message (3.3/8.0).... > Jan 14 06:00:28 home spamd[17440]: spamd: result: . 3.... > Jan 14 06:00:28 home spamd[17415]: prefork: child states: II > > and a spam email just came in as I was writing this (lol) and the header of > that email contains this: > Return-Path: <poxingrl...@smartie.fsnet.co.uk> > X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on home.svr5 > X-Spam-Level: ******* > X-Spam-Status: No, score=7.9 required=8.0 > tests=FH_DATE_PAST_20XX,HTML_MESSAGE, > > but I see this mail wasn't tagged because the score was 7.9 (lol). > this is what I've done so far so thanks for any further advice.
you can use spamass-milter to reject spam mails over a wanted level at smtp income stage i.e with postfix or sendmail, rejecting later may cause backscatter, i recommend also use clamav-milter with antispam sanesecurity sigs in milter stage too, this is good enough for daily filtering, i would only use procmail for putting i.e marked mails in special imap folders ( i.e Junk ) etc, anyway postfix-dovecot-sieve is more nice to handle filtering then procmail, give it a try -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria