<div dir="ltr">One issue I spotted is you have the MSMail Queue Type set to long, but it appears that postfix is using short queue ids.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 7:19 AM Shawn Iverson <<a href="mailto:iversons@rushville.k12.in.us">iversons@rushville.k12.in.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Koby,<div><br></div><div>Yes, that is correct, as it should. Did you run /usr/sbin/MailScanner with Debug = yes ?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 25, 2018 at 7:06 AM Koby Peleg Hen <<a href="mailto:koby@mksoft.co.il" target="_blank">koby@mksoft.co.il</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" text="#000000" bgcolor="#FFFFFF">
<p>It seem that it always </p>
<p>do : milter triggers DISCARD</p>
<p><br>
</p>
<p>Oct 25 14:03:32 lab postfix/cleanup[23487]: E4206419CC:
milter-discard: END-OF-MESSAGE from
<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126]: milter triggers DISCARD a</p>
ction; from=<a class="m_3210400852351584107m_3689511156625432912moz-txt-link-rfc2396E" href="mailto:koby@mksoft.co.il" target="_blank"><koby@mksoft.co.il></a>
to=<a class="m_3210400852351584107m_3689511156625432912moz-txt-link-rfc2396E" href="mailto:admin@ofc.mksoft.co.il" target="_blank"><admin@ofc.mksoft.co.il></a> proto=ESMTP
helo=<<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>><br>
Oct 25 14:03:32 lab postfix/smtpd[23484]: disconnect from
<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126] ehlo=1 mail=1 rcpt=1 data=1 quit=1
commands=5<br>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr">
</div>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr"><br>
</div>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr">Here is the full
log</div>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr"><br>
</div>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr">Oct 25 14:03:31
lab MSMilter[23469]: connect_callback: ip = 199.203.52.126<br>
Oct 25 14:03:31 lab MSMilter[23469]: helo_callback: Received: from
<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a><br>
Oct 25 14:03:31 lab MSMilter[23469]: msmailqueuetype = long<br>
Oct 25 14:03:31 lab MSMilter[23469]: envrcpt_callback: no client
certificate requested<br>
Oct 25 14:03:31 lab MSMilter[23469]: envrcpt_callback: id =
42gkkq6cnMz750Q datestring = Thu, 25 Oct 2018 14:03:31 +0300 (IDT)<br>
Oct 25 14:03:31 lab postfix/smtpd[23484]: E4206419CC:
client=<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126]<br>
Oct 25 14:03:31 lab postfix/cleanup[23487]: E4206419CC:
message-id=<a class="m_3210400852351584107m_3689511156625432912moz-txt-link-rfc2396E" href="mailto:d0577bf9-22b8-f8ea-2525-16ca68a7b62e@mksoft.co.il" target="_blank"><d0577bf9-22b8-f8ea-2525-16ca68a7b62e@mksoft.co.il></a><br>
Oct 25 14:03:32 lab MSMilter[23469]: eom_callback: scannermode =
yes<br>
Oct 25 14:03:32 lab MSMilter[23469]: eoh_callback: to =
<a class="m_3210400852351584107m_3689511156625432912moz-txt-link-abbreviated" href="mailto:admin@ofc.mksoft.co.il" target="_blank">admin@ofc.mksoft.co.il</a><br>
Oct 25 14:03:32 lab MSMilter[23469]: eoh_callback: ip =
199.203.52.126<br>
Oct 25 14:03:32 lab MSMilter[23469]: eoh_callback: id =
42gkkq6cnMz750Q<br>
Oct 25 14:03:32 lab MSMilter[23469]: eoh_callback: incoming =
/var/spool/MailScanner/milterin<br>
Oct 25 14:03:32 lab MSMilter[23469]: eoh_callback: file =
/var/spool/MailScanner/milterin/temp-42gkkq6cnMz750Q<br>
Oct 25 14:03:32 lab MSMilter[23469]: Not locking spool file
>>/var/spool/MailScanner/milterin/temp-42gkkq6cnMz750Q<br>
Oct 25 14:03:32 lab MSMilter[23469]: eom_callback: scanner mode
enabled<br>
Oct 25 14:03:32 lab MSMilter[23469]: eom_callback: no whitelist
match, proceeding to blacklist test<br>
Oct 25 14:03:32 lab MSMilter[23469]: eoh_callback: End of Header
detected<br>
Oct 25 14:03:32 lab MSMilter[23469]: body_callback: incoming =
/var/spool/MailScanner/milterin<br>
Oct 25 14:03:32 lab MSMilter[23469]: body_callback: file =
/var/spool/MailScanner/milterin/temp-42gkkq6cnMz750Q<br>
Oct 25 14:03:32 lab MSMilter[23469]: Not locking spool file
>>/var/spool/MailScanner/milterin/temp-42gkkq6cnMz750Q<br>
Oct 25 14:03:32 lab MSMilter[23469]: eom_callback: incoming =
/var/spool/MailScanner/milterin<br>
Oct 25 14:03:32 lab postfix/cleanup[23487]: E4206419CC: <b>milter-discard:
END-OF-MESSAGE from <a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126]: milter
triggers DISCARD </b>a<br>
ction; from=<a class="m_3210400852351584107m_3689511156625432912moz-txt-link-rfc2396E" href="mailto:koby@mksoft.co.il" target="_blank"><koby@mksoft.co.il></a>
to=<a class="m_3210400852351584107m_3689511156625432912moz-txt-link-rfc2396E" href="mailto:admin@ofc.mksoft.co.il" target="_blank"><admin@ofc.mksoft.co.il></a> proto=ESMTP
helo=<<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>><br>
Oct 25 14:03:32 lab postfix/smtpd[23484]: disconnect from
<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126] ehlo=1 mail=1 rcpt=1 data=1
quit=1 commands=5<br>
<br>
</div>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr"><br>
</div>
<div class="m_3210400852351584107m_3689511156625432912moz-signature" style="direction:ltr"><br>
</div>
<br>
<div class="m_3210400852351584107m_3689511156625432912moz-cite-prefix" style="direction:ltr"><br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello Koby,
<div><br>
</div>
<div>It looks like the milter is functioning fine. We need to
focus on MailScanner itself. The next step would be for
MailScanner to pick up the messages and scan them.</div>
<div><br>
</div>
<div>With Debug on, what do you see in the log when your run
"/usr/sbin/MailScanner" one time?</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Thu, Oct 25, 2018 at 4:46 AM Koby Peleg Hen
<<a href="mailto:koby@mksoft.co.il" target="_blank">koby@mksoft.co.il</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="direction:ltr" text="#000000" bgcolor="#FFFFFF">
<p>I fix all permission on /Mailscanner > chown -R
postfix:mtagroup </p>
<p><br>
</p>
<p>But , </p>
<p>It is seems that all the mail stuck in the
/var/spool/mailscanner/milterin</p>
<p>They are not send out to target...</p>
<p><br>
</p>
<p>here is the log from debug</p>
<p><br>
</p>
<p>Oct 25 11:40:28 lab postfix/smtpd[10203]: connect from <a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126]<br>
Oct 25 11:40:28 lab MSMilter[9849]: connect_callback: ip =
199.203.52.126<br>
Oct 25 11:40:28 lab MSMilter[9849]: helo_callback:
Received: from <a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a><br>
Oct 25 11:40:28 lab MSMilter[9849]: msmailqueuetype = long<br>
Oct 25 11:40:28 lab MSMilter[9849]: envrcpt_callback: no
client certificate requested<br>
Oct 25 11:40:28 lab MSMilter[9849]: envrcpt_callback: id =
42ggYm3nHjz4TLC datestring = Thu, 25 Oct 2018 11:40:28
+0300 (IDT)<br>
Oct 25 11:40:28 lab postfix/smtpd[10203]: 841DE40068:
client=<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126]<br>
Oct 25 11:40:28 lab postfix/cleanup[10206]: 841DE40068:
message-id=<a class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221moz-txt-link-rfc2396E" href="mailto:0f84b726-ba58-998c-175e-73f5763034f6@mksoft.co.il" target="_blank"><0f84b726-ba58-998c-175e-73f5763034f6@mksoft.co.il></a><br>
Oct 25 11:40:29 lab MSMilter[9849]: eom_callback:
scannermode = yes<br>
Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: to = <a class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221moz-txt-link-abbreviated" href="mailto:admin@ofc.mksoft.co.il" target="_blank">admin@ofc.mksoft.co.il</a><br>
Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: ip =
199.203.52.126<br>
Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: id =
42ggYm3nHjz4TLC<br>
Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: incoming
= /var/spool/MailScanner/milterin<br>
Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: file =
/var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC<br>
Oct 25 11:40:29 lab MSMilter[9849]: Not locking spool file
>>/var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC<br>
Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: scanner
mode enabled<br>
Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: no
whitelist match, proceeding to blacklist test<br>
Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: End of
Header detected<br>
Oct 25 11:40:29 lab MSMilter[9849]: body_callback:
incoming = /var/spool/MailScanner/milterin<br>
Oct 25 11:40:29 lab MSMilter[9849]: body_callback: file =
/var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC<br>
Oct 25 11:40:29 lab MSMilter[9849]: Not locking spool file
>>/var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC<br>
Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: incoming
= /var/spool/MailScanner/milterin<br>
Oct 25 11:40:29 lab postfix/cleanup[10206]: 841DE40068:
milter-discard: END-OF-MESSAGE from <a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>[199.203.52.126]:
milter triggers DISCARD a<br>
ction; from=<a class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221moz-txt-link-rfc2396E" href="mailto:koby@mksoft.co.il" target="_blank"><koby@mksoft.co.il></a> to=<a class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221moz-txt-link-rfc2396E" href="mailto:admin@ofc.mksoft.co.il" target="_blank"><admin@ofc.mksoft.co.il></a>
proto=ESMTP helo=<<a href="http://mail.mksoft.co.il" target="_blank">mail.mksoft.co.il</a>><br>
<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>נכתב על ידי Conz, ב־25.10.2018 בשעה 10:36:</p>
<blockquote type="cite">
<p>Is there anything in the maillog ?</p>
<p>Is your MTA delivering the emails or just keeping them
in the hold queue ?</p>
<p><br>
</p>
<p>*usually* when MS stops picking up new messages it
means it cannot access the mail queue (permissions) or
is looking in the wrong location.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221moz-cite-prefix">On
10/25/18 9:16 AM, Koby Peleg Hen wrote:<br>
</div>
<blockquote type="cite">
<p>Hello All , <br>
</p>
<p>Since my upgrade to 5.1.2 (yesterday) my mailscanner
stop function (not scanning)<br>
</p>
<p>I did not change my mailscanner.conf which run as a
milter<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Here is the load process :</p>
<p><br>
</p>
<p>postfix 4628 1 0 Oct20 ? 00:00:00
MailScanner: starting child<br>
postfix 5740 1 0 16:10 ? 00:00:00
MSMilter Daemon<br>
postfix 5744 5740 0 16:10 ? 00:00:00
MSMilter Daemon<br>
postfix 5745 5740 0 16:10 ? 00:00:00
MSMilter Daemon<br>
postfix 5746 5740 0 16:10 ? 00:00:00
MSMilter Daemon<br>
postfix 5747 5740 0 16:10 ? 00:00:00
MSMilter Daemon<br>
postfix 5748 5740 0 16:10 ? 00:00:00
MSMilter Daemon<br>
postfix 7309 2463 0 16:26 ? 00:00:00 anvil
-l -t unix -u -c<br>
root 7784 7464 0 16:39 pts/1 00:00:00 grep
--color=auto post*<br>
postfix 22102 4628 0 13:07 ? 00:00:34
MailScanner: waiting for messages<br>
postfix 28635 2463 0 13:46 ? 00:00:00 qmgr
-l -t unix -u<br>
postfix 30060 2463 0 15:32 ? 00:00:00 pickup
-l -t unix -u -c<br>
postfix 30150 2463 0 15:36 ? 00:00:00 tlsmgr
-l -t unix -u -c<br>
postfix 30775 4628 0 15:41 ? 00:00:34
MailScanner: waiting for messages</p>
<p><br>
</p>
<p><br>
</p>
<p>It is seen that some thing went wrong</p>
<p><br>
</p>
<p>Any clue...</p>
<p><br>
</p>
<p>Koby Peleg Hen</p>
<br>
<fieldset class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
<fieldset class="m_3210400852351584107m_3689511156625432912m_-7928029326938843221mimeAttachmentHeader"></fieldset>
</blockquote>
</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">
<div><br>
</div>
-- <br>
<div dir="ltr" class="m_3210400852351584107m_3689511156625432912gmail_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>
<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_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" style="font-size:12.8px" width="96" height="96"><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>
</div>
</div>
<br>
<fieldset class="m_3210400852351584107m_3689511156625432912mimeAttachmentHeader"></fieldset>
<pre class="m_3210400852351584107m_3689511156625432912moz-quote-pre">
</pre>
</blockquote>
</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"><div><br></div>-- <br><div dir="ltr" class="m_3210400852351584107gmail_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><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_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></div></div>
</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><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_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></div></div>