<div dir="ltr"><div>Monis,</div><div><br></div><div>Signing and DKIM are mutually exclusive.  You can't sign after DKIM sigs are generated.  Signing will always break DKIM.</div><div><br></div><div>You can, however, position DKIM upstream for outbound and downstream for inbound, which would generate the DKIM signature after signing.  This can be done on separate instances or another postfix daemon on the same host positioned appropriately for inbound and outbound traffic.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 13, 2019 at 5:09 AM Monis Monther <<a href="mailto:mmmm82@gmail.com">mmmm82@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<br clear="all"><div><br></div><div>I have installed opendkim with postfix-2.10.1-6 and mailscanner 5.1.1 , I have set the following</div><div><br></div><div>Place New Headers At Top Of Message = yes<br></div><div>Multiple Headers = add<br></div><div><br></div><div>Still the DKIM signature fails when testing with <span style="background-color:rgba(0,0,0,0.05);color:rgb(0,0,0);font-family:monospace;font-size:15px"><a href="mailto:check-auth@verifier.port25.com" target="_blank">check-auth@verifier.port25.com</a></span></div><div><span style="background-color:rgba(0,0,0,0.05);color:rgb(0,0,0);font-family:monospace;font-size:15px"><br></span></div><div><span style="background-color:rgba(0,0,0,0.05);color:rgb(0,0,0);font-family:monospace;font-size:15px">It succeeds when I set</span></div><div><span style="background-color:rgba(0,0,0,0.05);color:rgb(0,0,0);font-family:monospace;font-size:15px"><br></span></div><div><span style="background-color:rgba(0,0,0,0.05);color:rgb(0,0,0);font-family:monospace;font-size:15px">Sign Clean Messages = no</span></div><div><br></div><div><br></div><div>My understanding is that when mailscanner signs the message after the DKIM signature, then it breaks it due to the addition of the signature text/images. </div><div><br></div><div>How can we make MailScanner signatures work without failing DKIM.</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_-4584473229261400477gmail_signature"><div dir="ltr"><div>Best Regards</div><div>Monis</div></div></div></div>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 option 7</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ" width="89" height="96"><img src="https://docs.google.com/uc?export=download&id=1aBrlQou4gjB04FY-twHN_0Dn3GHVNxqa&revid=0Bw5iD0ToYvs_RnQ0eDhHcm95WHBFdkNRbXhQRXpoYkR6SEEwPQ" style="font-size: 12.8px;"><img src="https://www.doe.in.gov/sites/default/files/cybersecurity/cybersecurity.png" alt="Cybersecurity" width="96" height="96"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>