<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">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_-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_-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_-7928029326938843221moz-txt-link-rfc2396E" href="mailto:koby@mksoft.co.il" target="_blank"><koby@mksoft.co.il></a>
to=<a class="m_-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_-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_-7928029326938843221mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
<fieldset class="m_-7928029326938843221mimeAttachmentHeader"></fieldset>
<pre class="m_-7928029326938843221moz-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="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>