how to prevent amavis from removing Authentication Results?
Mark Martinec
Mark.Martinec+amavis at ijs.si
Tue May 22 20:10:28 CEST 2012
Marko,
> when i send from one of my servers a mail to my new mailserver
> with amavis 2.7.1 i see this in the logs
>
> May 22 16:12:29 mail amavis[3617]: (03617-01) deleted:
> Authentication-Results: mail.xxxxxmail.de; x-dkim-rep=neutral (0)
> header.d=xxxxxertig.de
>
> May 22 16:12:29 mail amavis[3617]: (03617-01) deleted:
> Authentication-Results: mail.xxxxxmail.de; dkim=pass (1024-bit
> key)\n\theader.i=xxxxfertig.de header.b=TbAL96p2; dkim-adsp=pass
>
> how can i tell amavis TO NOT DELETE this entries?
The Authentication-Results header field is deleted only if its
authserv-id is the same as $myauthservid of the amavisd process.
If the $myauthservid is undefined, the $myhostname is used instead.
RFC 5451:
authres-header = "Authentication-Results:" [CFWS] authserv-id
[ CFWS version ]
( [CFWS] ";" [CFWS] "none" / 1*resinfo ) [CFWS] CRLF
; the special case of "none" is used to indicate that no
; message authentication is performed
authserv-id = dot-atom
; see below for a description of this element
So the simplest solution is to set a config variable $myauthservid
to some string which is different from the authserv-id of the
other application which is inserting the Authentication-Results.
The syntax of $myauthservid should look like a FQDN host name,
but which need not exist in DNS.
Mark
More information about the amavis-users
mailing list