RE: [Exim] Removing spamassassin headers from incoming mail

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Eli
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: RE: [Exim] Removing spamassassin headers from incoming mail
>Can I remove X-Spam-Score from incoming mail _before_ the ACLs add
>X-Spam-Score based on the results of the SpamAssassin dialogue?


Not yet :) There was a discussion a few days back that I started about
reworking how headers are dealt with during ACL time, and it was suggested
that maybe a rework of the header code would be the best way to solve this,
so it may not happen for a while.

The way I can think around this is, rather than add the headers during ACL
time, just set some of your ACL custom variables ($acl_c0...) to the various
spam settings you need. Then either in a system filter or your
routers/transports, remove and add headers based on these variables at that
time.

Eli.

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On Behalf
Of Sheldon Hearn
Sent: Wednesday, January 21, 2004 8:26 AM
To: exim-users@???
Subject: [Exim] Removing spamassassin headers from incoming mail


Hi folks,

I'm noticing that it's trivial for a spammer to defeat my client spam
filtering rules.

My Exim w/ exiscan-acl server adds an X-Spam-Score header, which my
client filter then uses to test whether a message should be filed in my
Spam folder. I always include the X-Spam-Score, so that the scoring for
false negatives can be analyzed.

However, my filter uses the first X-Spam-Score header it sees. If
a spammer sends me mail with an X-Spam-Score that says the message
isn't spam, my filter believes that, because it readds the spammer's
X-Spam-Score header before it reads the one my server added.

I'm not hopeful, given that ACLs are run before routers and long before
transports, but...

Can I remove X-Spam-Score from incoming mail _before_ the ACLs add
X-Spam-Score based on the results of the SpamAssassin dialogue?

Ciao,
Sheldon.

--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##