<div dir="ltr">For anyone curious, I am researching creating a mailscanner milter for postfix.  I have gotten as far to conclude it is possible and that it might bring additional functionality when using postfix and mailscanner together.  For example, it would be possible to reject a message for various reasons and still have detailed reports on the messages.  It would also be possible to have more granular whitelisting capabilities (virus scan only, spam scan only, no scan, etc.).  It is a ways off, but I've been looking at milter code on various things for a while.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 13, 2017 at 5:36 PM, Jerry Benton <span dir="ltr"><<a href="mailto:jerry.benton@mailborder.com" target="_blank">jerry.benton@mailborder.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Because MailScanner does not use a proper milter for Postfix. Instead, it<br>
gets the email from a hold directory and drops it back in the Postfix queue.<br>
<br>
<br>
This is how it is supposed to work:<br>
<br>
Postfix > milter > hold > scan > injection to Postfix > delivery<br>
<br>
<br>
This is how it actually works:<br>
<br>
Postfix > hold > scan > drop into Postfix<br>
<br>
<br>
Technically, this is incorrect.<br>
<br>
<br>
--<br>
Jerry Benton<br>
<a href="http://www.mailborder.com" rel="noreferrer" target="_blank">www.mailborder.com</a><br>
<a href="tel:%2B1%20%20%20%28843%29%20800-8605" value="+18438008605">+1   (843) 800-8605</a><br>
<a href="tel:%2B44%20%28020%29%203883-8605" value="+442038838605">+44 (020) 3883-8605</a><br>
<br>
<br>
-----Original Message-----<br>
From: MailScanner<br>
[mailto:<a href="mailto:mailscanner-bounces%2Bjerry.benton">mailscanner-bounces+<wbr>jerry.benton</a>=<a href="mailto:mailborder.com@lists.mailscanner.in">mailborder.com@<wbr>lists.mailscanner.in</a><br>
fo] On Behalf Of Maarten<br>
Sent: Wednesday, December 13, 2017 17:34<br>
To: MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.<wbr>mailscanner.info</a>><br>
Subject: postfix and mailscanner<br>
<br>
Don't want to start a flame war here, but just a question, why does<br>
<a href="http://postfix.org" rel="noreferrer" target="_blank">postfix.org</a> advise against using mailscanner? Saw the following on the<br>
postfix website:<br>
<br>
mailscanner: system, works with Postfix and other MTAs. WARNING: This<br>
software uses unsupported methods to manipulate Postfix queue files<br>
directly. This will result in corruption or loss of mail. The mailscanner<br>
authors have sofar refused to discuss a proper access API or protocol.<br>
<br>
When reading through mailinglists it seems that some mails can get lost as<br>
in how mailscanner handles mail from the postfix mailqueue, and that it's<br>
safer to use one of the virus/spam/content filters that that uses the SMTP<br>
proxy interface or the Milter Interface. I wouldn't know if this is true or<br>
how to know if any mails every got lost(is there a way to know of having<br>
lost mails), but have there ever been talks between postfix devs and<br>
mailscanner devs about this?<br>
<br>
<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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 x1171</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_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>