<div dir="ltr">I have been planning for a MailScanner milter for quite some time. I have been specifically studying rpamd's milter source for this purpose. Alas, lack of time and lack of money are always an issue, and I put a lot of hours in my day job. As Jerry would say, I like to eat and have a roof over my head :D<div><br></div><div>If I do find the time to build a milter, performance will definitely be impacted. The reason is that postfix will have to keep each session open for the duration of scanning, and each MailScanner child would have to issue a callback to postfix after scanning the spam so that postfix can responds to the connection appropriately (i.e. reject or accept). This will slow down mail processing considerably. If I do this, I am going to keep the HOLD queue around, so you would have to choose between speed or MTA level rejection functionality.</div><div><br></div><div><br></div><div><br><div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 7, 2018 at 10:52 AM David Jones via MailScanner <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 08/07/2018 05:03 AM, <a href="mailto:info@schroeffu.ch" target="_blank">info@schroeffu.ch</a> wrote:<br>
> <br>
> Hi Mailscanner friends,<br>
> <br>
> is there any progress to make MailScanner usable as a postfix milter?<br>
> The most biggest problem I have is, SPAM is not possible to reject when <br>
> reaching a high score at MTA level. For my understanding, connect via <br>
> milter instead of queue ^HOLD would be the solution.<br>
> <br>
> For the next decade we are still using MailScanner instead of others <br>
> like Rspamd, because MailScanner is like a mail suite for mail security, <br>
> but if there will never be the possibility to reject at MTA level the <br>
> high score spam, we will also change in 1-3 years while replacing the OS <br>
> beyond.<br>
> <br>
<br>
One of MailScanner's strongest features is it's batch mode processing <br>
that will allow it to handle a very high volume of mail flow. I doubt <br>
that MailScanner will ever be changed to run as a milter for this reason.<br>
<br>
I tried rspamd and found it wasn't as good as the author claims so no <br>
reason to try to use that as a milter. It also wasn't as fast as it <br>
claims. I could not send high volumes of mail through it like I could <br>
with MailScanner.<br>
<br>
If you want to block high scoring spam at the MTA level, I suggest using <br>
amavis or spamd with the same SA rulesets as MailScanner. This will get <br>
you most of the power of MailScanner's blocking at the MTA.<br>
<br>
<a href="https://wiki.apache.org/spamassassin/IntegratedInMta" rel="noreferrer" target="_blank">https://wiki.apache.org/spamassassin/IntegratedInMta</a><br>
<br>
If you you use postscreen and postwhite at the Postfix MTA level, you <br>
can block most of the obvious spam with a tuned list of RBLs. See the <br>
SA users mailing list over the past year for details on this from me and <br>
a few others.<br>
<br>
I suggest setting up a quick test VM with iRedmail to get a good example <br>
of how to do TLS and amavis integration well with Postfix.<br>
<br>
-- <br>
David Jones<br>
<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"><div><br></div>-- <br><div dir="ltr" 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><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" width="89" height="96"></div><div><img src="https://docs.google.com/uc?export=download&id=1aBrlQou4gjB04FY-twHN_0Dn3GHVNxqa&revid=0Bw5iD0ToYvs_RnQ0eDhHcm95WHBFdkNRbXhQRXpoYkR6SEEwPQ" style="font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>