[opendmarc-dev] Default authserv-id in Authentication Result
Robbert Klarenbeek
robbertkl at renbeek.nl
Fri Oct 4 15:30:31 PDT 2013
Hi,
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.
Thanks!
Robbert Klarenbeek
More information about the opendmarc-dev
mailing list