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.
-- 
View this message in context: 
http://old.nabble.com/newbie%3A-configure-SA-to-reject-spam-tp27149042p27160220.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to