On Thu, 6 Feb 2014, Matus UHLAR - fantomas wrote:

header MY_AUTH ALL =~ /\(authenticated
bits=\d+\)\s+by\s+myserver.mydomain.at/

On 31.01.14 16:58, Rainer Fügenstein wrote:
thanks. looks plausible, but doesn't work, unfortunately. I figured out
that rules matching the first line work, but rules for lines 2+ never
match, regardless of \n \s etc.

isn't this the first Received: header? spamd may not receive it when MTA
first transfers message to SA and THEN adds the Received: header...
e.g. milter behaves like this

Any worthwhile milter for SA needs to syntesize a "Received:" header to mimic
what the MTA will add to the processed message. Problem can be with the accuracy
of that syntesized header. If the milter author didn't know to check the auth
status of the message s/he may not have added a representation of it to the
header passed on to SA thus SA had no way to know that the message was authed.
(seem to remember this exact issue with an early incarnation of
'spamass-milter' ).

--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to