<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>We configure this in postfix's master.cf<br><br>submission&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inet&nbsp; n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtpd<br>&nbsp; -o smtpd_tls_security_level=encrypt<br>&nbsp; -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject<br>&nbsp; -o content_filter=dksign:[127.0.0.1]:10028<br><br>On the submission instance, we add a content_filter (dksign) which signs all mail coming in on the submission port<br><br>/Markus<br><br><br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>Från: </b>"John Mark Niar" &lt;johnn@zylun.com&gt;<br><b>Till: </b>"MailScanner discussion" &lt;mailscanner@lists.mailscanner.info&gt;<br><b>Skickat: </b>torsdag, 22 sep 2011 23:49:24<br><b>Ämne: </b>RE: mailscanner and opendkim<br><br><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Jason,</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Do you have any links for any tutorial on how to do this?</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">I’m not yet familiar on this that much.</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks,</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">John</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);">&nbsp;</span></p><div><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;"><p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US"> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Jason Ede<br><b>Sent:</b> Thursday, September 22, 2011 3:48 PM<br><b>To:</b> MailScanner discussion<br><b>Subject:</b> RE: mailscanner and opendkim</span></p></div></div><p class="MsoNormal">&nbsp;</p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB">We use DKIM on our outbound here with MS and postfix. &nbsp;We just have 2 instances of postfix running. The first one scans the email with MS and the second signs the email before it leaves our servers.</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB">&nbsp;</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB">Jason</span></p><p class="MsoNormal"><span style="color: rgb(31, 73, 125);" lang="EN-GB">&nbsp;</span></p><div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0in 0in 0in 4pt;"><div><div style="border-right: medium none; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;"><p class="MsoNormal"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;" lang="EN-US"> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>John Mark Niar<br><b>Sent:</b> 22 September 2011 07:17<br><b>To:</b> mailscanner@lists.mailscanner.info<br><b>Subject:</b> mailscanner and opendkim</span></p></div></div><p class="MsoNormal"><span lang="EN-GB">&nbsp;</span></p><p class="MsoNormal">Hello All,</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">I’ve just implemented MailScanner.&nbsp; Great software by the way!&nbsp; When I run MailScanner I run into OpenDKIM problem.&nbsp; My OpenDKIM was working already before I run the MailScanner.</p><p class="MsoNormal">Now even if OpenDKIM adds a signature, it will result o dkim: permerror (bad sig).&nbsp; I know MailScanner inserts some information inside the header and probably overwrites the OpenDKIM header information?</p><p class="MsoNormal">If so, does anyone can help me solve this?</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">Looking forward to hearing anyone.</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">thanks,</p><p class="MsoNormal">&nbsp;</p><p class="MsoNormal">John</p><p class="MsoNormal"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"><br>-- <br>This message has been scanned for viruses and <br>dangerous content by <a href="http://www.mailscanner.info/" target="_blank"><b>MailScanner</b></a>, and is <br>believed to be clean. </span></p></div></div><br>-- <br>MailScanner mailing list<br>mailscanner@lists.mailscanner.info<br>http://lists.mailscanner.info/mailman/listinfo/mailscanner<br><br>Before posting, read http://wiki.mailscanner.info/posting<br><br>Support MailScanner development - buy the book off the website! <br></div><br></div></body></html>