MailScanner 5.1.2 not working

Shawn Iverson iversons at rushville.k12.in.us
Thu Oct 25 10:33:40 UTC 2018


Hello Koby,

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.

With Debug on, what do you see in the log when your run
"/usr/sbin/MailScanner" one time?



On Thu, Oct 25, 2018 at 4:46 AM Koby Peleg Hen <koby at mksoft.co.il> wrote:

> I fix all permission on /Mailscanner  > chown -R  postfix:mtagroup
>
>
> But ,
>
> It is seems that all the mail stuck in the /var/spool/mailscanner/milterin
>
> They are not send out to target...
>
>
> here is the log from debug
>
>
> Oct 25 11:40:28 lab postfix/smtpd[10203]: connect from mail.mksoft.co.il
> [199.203.52.126]
> Oct 25 11:40:28 lab MSMilter[9849]: connect_callback: ip = 199.203.52.126
> Oct 25 11:40:28 lab MSMilter[9849]: helo_callback: Received: from
> mail.mksoft.co.il
> Oct 25 11:40:28 lab MSMilter[9849]: msmailqueuetype = long
> Oct 25 11:40:28 lab MSMilter[9849]: envrcpt_callback: no client
> certificate requested
> Oct 25 11:40:28 lab MSMilter[9849]: envrcpt_callback: id = 42ggYm3nHjz4TLC
> datestring = Thu, 25 Oct 2018 11:40:28 +0300 (IDT)
> Oct 25 11:40:28 lab postfix/smtpd[10203]: 841DE40068: client=
> mail.mksoft.co.il[199.203.52.126]
> Oct 25 11:40:28 lab postfix/cleanup[10206]: 841DE40068: message-id=
> <0f84b726-ba58-998c-175e-73f5763034f6 at mksoft.co.il>
> <0f84b726-ba58-998c-175e-73f5763034f6 at mksoft.co.il>
> Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: scannermode = yes
> Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: to =
> admin at ofc.mksoft.co.il
> Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: ip = 199.203.52.126
> Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: id = 42ggYm3nHjz4TLC
> Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: incoming =
> /var/spool/MailScanner/milterin
> Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: file =
> /var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC
> Oct 25 11:40:29 lab MSMilter[9849]: Not locking spool file
> >>/var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC
> Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: scanner mode enabled
> Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: no whitelist match,
> proceeding to blacklist test
> Oct 25 11:40:29 lab MSMilter[9849]: eoh_callback: End of Header detected
> Oct 25 11:40:29 lab MSMilter[9849]: body_callback: incoming =
> /var/spool/MailScanner/milterin
> Oct 25 11:40:29 lab MSMilter[9849]: body_callback: file =
> /var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC
> Oct 25 11:40:29 lab MSMilter[9849]: Not locking spool file
> >>/var/spool/MailScanner/milterin/temp-42ggYm3nHjz4TLC
> Oct 25 11:40:29 lab MSMilter[9849]: eom_callback: incoming =
> /var/spool/MailScanner/milterin
> Oct 25 11:40:29 lab postfix/cleanup[10206]: 841DE40068: milter-discard:
> END-OF-MESSAGE from mail.mksoft.co.il[199.203.52.126]: milter triggers
> DISCARD a
> ction; from=<koby at mksoft.co.il> <koby at mksoft.co.il> to=
> <admin at ofc.mksoft.co.il> <admin at ofc.mksoft.co.il> proto=ESMTP helo=<
> mail.mksoft.co.il>
>
>
>
>
>
> נכתב על ידי Conz, ב־25.10.2018 בשעה 10:36:
>
> Is there anything in the maillog ?
>
> Is your MTA delivering the emails or just keeping them in the hold queue ?
>
>
> *usually* when MS stops picking up new messages it means it cannot access
> the mail queue (permissions) or is looking in the wrong location.
>
>
>
>
> On 10/25/18 9:16 AM, Koby Peleg Hen wrote:
>
> Hello All ,
>
> Since my upgrade to 5.1.2 (yesterday) my mailscanner stop function (not
> scanning)
>
> I did not change my  mailscanner.conf which run as a milter
>
>
>
> Here is the load process :
>
>
> postfix   4628     1  0 Oct20 ?        00:00:00 MailScanner: starting child
> postfix   5740     1  0 16:10 ?        00:00:00 MSMilter Daemon
> postfix   5744  5740  0 16:10 ?        00:00:00 MSMilter Daemon
> postfix   5745  5740  0 16:10 ?        00:00:00 MSMilter Daemon
> postfix   5746  5740  0 16:10 ?        00:00:00 MSMilter Daemon
> postfix   5747  5740  0 16:10 ?        00:00:00 MSMilter Daemon
> postfix   5748  5740  0 16:10 ?        00:00:00 MSMilter Daemon
> postfix   7309  2463  0 16:26 ?        00:00:00 anvil -l -t unix -u -c
> root      7784  7464  0 16:39 pts/1    00:00:00 grep --color=auto post*
> postfix  22102  4628  0 13:07 ?        00:00:34 MailScanner: waiting for
> messages
> postfix  28635  2463  0 13:46 ?        00:00:00 qmgr -l -t unix -u
> postfix  30060  2463  0 15:32 ?        00:00:00 pickup -l -t unix -u -c
> postfix  30150  2463  0 15:36 ?        00:00:00 tlsmgr -l -t unix -u -c
> postfix  30775  4628  0 15:41 ?        00:00:34 MailScanner: waiting for
> messages
>
>
>
> It is seen that some thing went wrong
>
>
> Any clue...
>
>
> Koby Peleg Hen
>
>
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
>

-- 
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 option 7
iversons at rushville.k12.in.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20181025/cf6e37ec/attachment.html>


More information about the MailScanner mailing list