Exim Filter not run when email return-path blank

damn

Verified User
Joined
Nov 30, 2004
Messages
101
Hello all.

I have an issue on my FreeBSD 5.5 / DirectAdmin server regarding spam.

Despite having the spam settings set to delete spam, occasionally emails, that have been marked as spam, are being delivered.

I was chasing Spam Assassin for a while, but John from DA support pointed out that it is a domain level exim filter that deletes the mail.

Anyway cutting a long story short, I have found that if the spam email contains the header:
Return-path: <>

Then the domain level filter is not applied, hence the email (correctly tagged as spam) is passed through. I am drawing this conclusion because the email does contain the header:
X-Spam-Status: Yes, score=24.7 required=5.0 tests=BAYES_

Which is what the domain level filter is looking for...
/etc/virtual/domain.com/filter said:
if
$h_X-Spam-Status: contains "Yes,"
then
seen finish
endif



Is this an issue with exim.conf ? I've come about as far as I can with this, have some good leads but don't know what to look at next? Have just downloaded Jeff's latest exim.conf and will give that a crack.....
 
Back
Top