<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 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:53089721;
        mso-list-type:hybrid;
        mso-list-template-ids:329952814 201916431 201916441 201916443 201916431 201916441 201916443 201916431 201916441 201916443;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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-AU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">Really appreciate it Mark. I misunderstood few things since the MailScanner interface shows the result of SPF and DKIM check. I thought they are done by MailScanner. Okay, so as long as the original sender can receive some kinds of notification
 message, I might try to apply a milter. I am really sorry for bothering all of you but more questions.<o:p></o:p></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoPlainText" style="mso-list:l0 level1 lfo1">I can see there are lots of milter add-ons for Postfix. Are they all doing different jobs? Like you said before, I don't want to deploy redundant milters.<o:p></o:p></li><li class="MsoPlainText" style="mso-list:l0 level1 lfo1">Do you have any suggestions?<o:p></o:p></li></ol>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks very much.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Eoin<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span lang="EN-US" style="mso-fareast-language:EN-AU">-----Original Message-----<br>
From: MailScanner <mailscanner-bounces+eoin.kim=rcst.com.au@lists.mailscanner.info> On Behalf Of Mark Sapiro<br>
Sent: Wednesday, 27 June 2018 12:44 AM<br>
To: mailscanner@lists.mailscanner.info<br>
Subject: Re: [Question] Email flow when using with milter</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On 6/26/18 12:24 AM, Eoin Kim wrote:<o:p></o:p></p>
<p class="MsoPlainText">> Thanks Mark,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> So, if I interpret your comment in my own way, if the milter rejects the message, no one (both sender and receiver) will know about what happened to the message. Am I following you? If so, that wouldn't be a pleasant situation for
 me.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The sending MTA will receive an SMTP 5xx status with a reason provided<o:p></o:p></p>
<p class="MsoPlainText">by the milter. What happens then depends on how the mail was sent, but<o:p></o:p></p>
<p class="MsoPlainText">the original sender should be notified somehow. The difference is any<o:p></o:p></p>
<p class="MsoPlainText">delivery status notification which may be backscatter to a spoofed<o:p></o:p></p>
<p class="MsoPlainText">sender will come from the sending MTA or upstream and not from your<o:p></o:p></p>
<p class="MsoPlainText">server. This is a good thing.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> Are there any features similar to milters I can use in MailScanner? I believe, SPF, DKIM, RBL check is possible with it, correct? Thanks again.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">The one big downside of MailScanner is your server has already accepted<o:p></o:p></p>
<p class="MsoPlainText">the mail before MailScanner sees it. Thus, any backscatter generated by<o:p></o:p></p>
<p class="MsoPlainText">a MailScanner notice comes from you. MailScanner can check RBLs.<o:p></o:p></p>
<p class="MsoPlainText">Generally SPF and DKIM validation are done by the incoming MTA which<o:p></o:p></p>
<p class="MsoPlainText">generates results headers that are checked by SpamAssassin running by<o:p></o:p></p>
<p class="MsoPlainText">MailScanner.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">MailScanner does support custom functions as a hook to your own code,<o:p></o:p></p>
<p class="MsoPlainText">but this is somewhat limited and doesn't support a 'milter' interface.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText">Mark Sapiro <<a href="mailto:mark@msapiro.net"><span style="color:windowtext;text-decoration:none">mark@msapiro.net</span></a>>        The highway is for gamblers,<o:p></o:p></p>
<p class="MsoPlainText">San Francisco Bay Area, California    better use your sense - B. Dylan<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText">MailScanner mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a href="mailto:mailscanner@lists.mailscanner.info"><span style="color:windowtext;text-decoration:none">mailscanner@lists.mailscanner.info</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"><span style="color:windowtext;text-decoration:none">http://lists.mailscanner.info/mailman/listinfo/mailscanner</span></a><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
</div>
</body>
</html>