[opendmarc-dev] Default authserv-id in Authentication Result

Murray S. Kucherawy msk at blackops.org
Sun Oct 6 17:08:08 PDT 2013


On Sat, 5 Oct 2013, Robbert Klarenbeek wrote:
> After setting up both OpenDKIM and OpenDMARC on my (postfix) mail 
> server, I've noticed a difference in the authserv-id of each milter's 
> Authentication Result headers. OpenDKIM uses the value of myhostname= in 
> my postfix config, while OpenDMARC seems to use gethostname(3). The 
> AuthservID section of opendkim.conf(5) and opendmarc.conf(5) are 
> identical and state the "default is to use the name of the MTA 
> processing the message", which seems to be correct for OpenDKIM.
>
> Taking a quick look in the OpenDMARC source, I've found the section 
> responsible for this is still present:
>
>        authservid = conf->conf_authservid;
>        if (authservid == NULL)
>                authservid = hostname;
>
> However, when reading the config, conf_authservid is never left NULL and 
> will be set to the system hostname right away, meaning the above 
> if-statement will never trigger.
>
> Obviously, overriding AuthservID in the config does the job for me to 
> get it all matched again, but it would be nice if the behavior would 
> match that of OpenDKIM and the documentation.

Please post a bug in the SourceForge bug tracker with all of this detail 
included.  I just started OpenDKIM 2.9.0 in Beta, which means a new 
version of OpenDMARC is not far behind.

Thanks for the report!

-MSK


More information about the opendmarc-dev mailing list