<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 5 Apr 2018, 20:15 Juri Haberland, <<a href="mailto:juri@sapienti-sat.org">juri@sapienti-sat.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05.04.2018 21:04, Jonathan Sélea wrote:<br>
<br>
>> You need both, openDKIM and openDMARC. openDMARC takes input from<br>
>> openDKIM to evaluate DKIM part of DMARC. So you need to have two milters<br>
>> in Postfix, first openDKIM and than openDMARC.<br>
<br>
> I do? I can use amavis thou:<br>
><br>
> Apr  5 20:52:28 hashmal amavis[25296]: (25296-10) Passed CLEAN {RelayedInternal}, ORIGINATING LOCAL [81.235.23.113]:9582 [81.235.23.113]  -> , Queue-ID: 125A249C70, Message-ID: , mail_id: 3Z37skT18zXi, Hits: -0.081, size: 7023, queued_as: 1A9B649C71, dkim_new=hej:<a href="http://selea.se" rel="noreferrer noreferrer" target="_blank">selea.se</a>, 304 ms, Tests: [ALL_TRUSTED=-1,SPF_FAIL=0.919]<br>
><br>
> Can OpenDMARC "accept" the output from amavis too?<br>
<br>
Yes, it might work if run it as milter, because the incoming mail goes<br>
through milters first, then through the content-filter.</blockquote></div></div><div dir="auto"><br></div><div dir="auto">I never heard that it is possible to run amavis as a milter? The standard configuration is to use opendkim milter followed by opendmarc milter. They are clearly documented, have similar syntax and in short are a good fit.</div><div dir="auto"><br></div><div dir="auto">Normally (always?) amavis runs as a content filter, reinjecting emails that pass its criteria. I use it, but not for dkim or dmarc.</div></div>