[opendmarc-users] Problem parsing headers added by enma
Andreas Schulze
sca at andreasschulze.de
Fri Nov 8 10:57:41 PST 2013
Am 08.11.2013 14:48 schrieb Cristian Mammoli:
> Authentication-Results: mail.bzone.it; spf=pass smtp.mailfrom=c.mammoli at apra.it; sender-id=pass
> header.From=c.mammoli at apra.it; dkim=pass header.i=@apra.it; dkim-adsp=pass
> header.From=c.mammoli at apra.it
I only saw results from spf and dkim test in separate AR header.
Here you have both in one. That's uncommon to /me/. But not to opendmarc:
# cat <<"EOM" >/tmp/mail
Authentication-Results: mail.bzone.it; spf=pass smtp.mailfrom=c.mammoli at apra.it; sender-id=pass
header.From=c.mammoli at apra.it; dkim=pass header.i=@apra.it; dkim-adsp=pass
header.From=c.mammoli at apra.it
From: "foo" <c.mammoli at apra.it>
body
EOM
# echo 'TrustedAuthservIDs mail.bzone.it' > /tmp/conf
# opendmarc -v -v -v -t /tmp/mail -c /tmp/conf
opendmarc: mlfi_connect() returned SMFIS_CONTINUE
opendmarc: /tmp/mail: mlfi_envfrom() returned SMFIS_CONTINUE
opendmarc: /tmp/mail: line 1: mlfi_header() returned SMFIS_CONTINUE
opendmarc: /tmp/mail: line 4: mlfi_header() returned SMFIS_CONTINUE
### INSHEADER: idx=1 hname='Authentication-Results' hvalue='dmarc; dmarc=pass header.from=apra.it'
opendmarc: /tmp/mail: mlfi_eom() returned SMFIS_ACCEPT
opendmarc: mlfi_close() returned SMFIS_CONTINUE
Is it possible that the AR header is not inserted at the time opendmarc check the message but later?
> But with this configuration it seems that headers added from enma are ignored:
> if I send an email from an host not listed in the spf records this is what happens:
>
> Authentication-Results: mail.bzone.it; spf=hardfail smtp.mailfrom=c.mammoli at apra.it;
> sender-id=hardfail header.From=c.mammoli at apra.it
> Authentication-Results: mail.bzone.it; dmarc=pass header.from=apra.it
> Authentication-Results: mail.bzone.it; dkim=pass
> reason="1024-bit key; unprotected key"
thats fine. dmarc pass as long dkim OR spf pass.
Andreas
More information about the opendmarc-users
mailing list