On 08/02/2013 01:39 AM, N. Raghavendra wrote:
I work in a setup where the external mail server (say,
extmail.example.com) in a DMZ runs Spamassassin as soon as mail arrives
from the Internet, and then passes the mail to an internal mail server
(say, intmail.example.com) which has user maildirs.

The trouble is that the Spamassassin filtering at extmail isn't good,
and a lot of spam get through as ham to intmail.  However, the intmail
machine also has Spamassassin.  Is it possible for me, as a user, to
refilter the mail coming in from extmail through Spamassassin using
procmail on intmail?

In case, it's relevant, the mail coming in from extmail has headers like
this:

X-FOO-MailScanner-Information: Please contact *** for more info
X-FOO-MailScanner-ID: CD5545F305.A22A6
X-FOO-MailScanner: Found to be clean
X-FOO-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
        score=-5.818, required 5, autolearn=not spam, BAYES_00 -1.90,
        HTML_IMAGE_RATIO_04 0.56, HTML_MESSAGE 0.00, MIME_HTML_MOSTLY 0.43,
        MPART_ALT_DIFF 0.79, RCVD_IN_DNSWL_HI -5.00, RP_MATCHES_RCVD -0.70,
        T_REMOTE_IMAGE 0.01, UNPARSEABLE_RELAY 0.00)
X-FOO-MailScanner-From: epromoti...@bar.com
X-Spam-Status: No

Bayes and dnswl rules are causing spams to get mis classified here.
You can ( allegedly :-) ) train your bayes , but I could not do this successfully myself with spammers deliberately putting junk text in mails

Use better network based rules


Filtering twice with the same rules, IMHO , will be really pointless. Just more cpu cycles consumed













Thanks and best regards,
Raghu.


Reply via email to