[exim] Exim user filter not triggering on bounce messages

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Darryl Hamilton
Dátum:  
Címzett: exim-users
Tárgy: [exim] Exim user filter not triggering on bounce messages
Hi

I've encountered a bit of a problem that I haven't been able to solve
from looking through the docs and searching the mailing list archives
(if there is a solution in both, I do apologise).

The problem appears to be that bounce mail, or mail that looks like
bounce mail, bypasses any Exim user filters in place, after going
through SpamAssassin. A test of the filter comes back with "Filter did
not set up any significant delivery".

The filter in question is as follows -

# Exim filter

if error_message then finish endif

if
$h_X-Spam-Status: begins "Yes"
or $header_subject: contains "***SPAM***"
or $message_headers contains "X-Spam-Flag: YES"
or $message_headers contains "X-Spam-Status: Yes"
then
save "/dev/null" 660
endif


The following log entries hopefully show what I mean...

2006-01-06 10:17:11 1EucTu-0003Gz-RL <= <>
H=(AStrasbourg-251-1-60-126.w82-126.abo.wanadoo.fr) [82.126.128.126]
P=smtp S=4190 id=0000$01a6a502$0936da4c@nom-3qfff0120lm
2006-01-06 10:17:13 1EucTu-0003Gz-RL => christian <christian@xxxxx>
R=virtual_sa_user T=virtual_sa_userdelivery
2006-01-06 10:17:13 1EucTu-0003Gz-RL Completed

2006-01-06 10:17:11 1EucTu-0003Gz-RL <= <>
H=(AStrasbourg-251-1-60-126.w82-126.abo.wanadoo.fr) [82.126.128.126]
P=smtp S=4190 id=0000$01a6a502$0936da4c@nom-3qfff0120lm
2006-01-06 10:17:13 1EucTv-0003H9-7L <= <> U=xxxxx P=local-bsmtp S=7003
id=0000$01a6a502$0936da4c@nom-3qfff0120lm

2006-01-06 10:17:13 1EucTv-0003H9-7L <= <> U=xxxxx P=local-bsmtp S=7003
id=0000$01a6a502$0936da4c@nom-3qfff0120lm
2006-01-06 10:17:13 1EucTv-0003H9-7L => christian <christian@xxxxx>
R=virtual_user T=virtual_userdelivery
2006-01-06 10:17:13 1EucTv-0003H9-7L Completed

... where mail with a set from address gets picked up as expected ...

2006-01-09 04:02:25 1Evc3r-00009t-73 <= hfvapxprulw@??? U=mahne
P=local-bsmtp S=4915
2006-01-09 04:02:25 1Evc3r-00009t-73 => /dev/null <christian@xxxxx>
R=central_filter T=**bypassed**
2006-01-09 04:02:25 1Evc3r-00009t-73 Completed

I'm hoping there is an option that turns on filtering of bounce mail,
and that option is off by default (to save processing time etc), but as
yet I've been unable to find anything.

The version is 4.52, installed via RPM (packaged by cPanel).

Thanks
--
Darryl Hamilton
Programmer / Sys Admin
iSERVE Limited
e darryl@???
p 04 915 1988
m 021 616 919