<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</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]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mailscanner-bounces@lists.mailscanner.info
[mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Rick
Cooper<br>
<b>Sent:</b> 22 June 2009 20:35<br>
<b>To:</b> 'MailScanner discussion'<br>
<b>Subject:</b> RE: DKIM signing<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I am not sure how sendmail does things but I use two instances of
exim as well,</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; <span style='font-size:10.0pt;font-family:
"Arial","sans-serif";color:blue'>eximIN (check
DKIM)-----------------&gt;INqueue--&gt; MailScanner(Do MS
Stuff)----&gt;OUTQueue-----&gt; EximOut(Sign DKIM and other out stuff)</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>The only difference between the exim instance is the config(s) the
use. I have no recpt,data,ehlo acls in the outbound and I have no
domainkey/DKIM signing in the inbound</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Rick</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mailscanner-bounces@lists.mailscanner.info
[mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Alex
Neuman<br>
<b>Sent:</b> Monday, June 22, 2009 2:58 PM<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: DKIM signing</span><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>The point I was trying to make
is that MailScanner works like this (oversimplifying, I know, but bear with
me):<br>
<br>
1. First instance of sendmail grabs e-mail after milters and such, and deposits
in an incoming queue<br>
2. MailScanner grabs, scans, deals with messages in the queue and places them
in the outgoing (final) queue<br>
3. Second instance of sendmail grabs e-mail from outgoing (final) queue and
delivers them to their final destination.<br>
<br>
In order to DKIM-sign things it would have to be done using the second
instance. Since MailScanner basically runs the same instance of sendmail using a
command line parameter to distinguish the two, there would have to be a slight
change to the way step 3 is done if you wanted to do it on one machine.
Otherwise step 4 would be to have the outgoing MTA (separate machine) do the
DKIM signing.<br>
<br>
Please correct me if I'm looking at this the wrong way.<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Jun 22, 2009 at 1:42 PM, Rick Cooper &lt;<a
href="mailto:rcooper@dwford.com">rcooper@dwford.com</a>&gt; wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I don't use sendmail (exim no milters required) but I am sure there
is a way to handle it easily in sendmail. Be advised however that when I first
implemented domainkeys the test server at <a href="http://sendmail.net"
target="_blank">sendmail.net</a> was the only domainkeys test server (of
4)&nbsp;to state that my keys were invalid. It does pass my DKIM keys but still
doesn't pass the domainkeys.</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Rick</span><o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>
[mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info"
target="_blank">mailscanner-bounces@lists.mailscanner.info</a>] <b>On Behalf Of
</b>Alex Neuman<br>
<b>Sent:</b> Monday, June 22, 2009 12:02 PM<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: DKIM signing</span><span lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Any chance of someone thinking
up a way to fire up a third instance of sendmail on one machine to do something
like this?<o:p></o:p></p>

<div>

<p class=MsoNormal>On Mon, Jun 22, 2009 at 10:38 AM, Rick Cooper &lt;<a
href="mailto:rcooper@dwford.com" target="_blank">rcooper@dwford.com</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal>You don't want to sign dkim or domainkeys until the last
thing before the<br>
message is &quot;place on the wire&quot;. Any modification made after the
signing<br>
with, of course make the signature invalid. This means the outbound MTA has<br>
to be the signing agent.<br>
<br>
Rick<br>
<br>
Does anyone have some information on how to do this with postfix? I&#8217;ve 1
instance of postfix running that uses Julian&#8217;s hold queue method.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Jason<o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>