MailScanner Ignoring All Emails
Shawn Iverson
iversons at rushville.k12.in.us
Fri Aug 25 16:20:05 UTC 2017
Wait, that could be right....
mqueue.in belongs to the second process.
On Fri, Aug 25, 2017 at 12:13 PM, Shawn Iverson <
iversons at rushville.k12.in.us> wrote:
> Something doesn't jive here...from your earlier thread...
>
> > [root at mailscanner MailWatch-1.2.5]# ps -ef|grep sendmail
> > root 17992 1 0 08:08 ? 00:00:00 sendmail: Queue
> > runner at 00:15:00 for /var/spool/mqueue
>
> > root 17994 1 0 08:08 ? 00:00:00 sendmail: accepting
> > connections
>
> > smmsp 18007 1 0 08:08 ? 00:00:00 sendmail: Queue
> > runner at 01:00:00 for /var/spool/clientmqueue
>
> These are not the ones started by ms-sendmail.
>
> It should be watching /var/spool/mqueue.in, not /var/spool/mqueue...
>
> You don't have a rogue init scirpt, do you?
>
>
>
> On Fri, Aug 25, 2017 at 12:03 PM, Quintin S. Giesbrecht <q at snj.ca> wrote:
>
>> Here are the scripts from /etc/systemd/system.... that systemctl enable
>> ms-sendmail created - hopefully that makes sense...:
>>
>> [root at mailscanner multi-user.target.wants]# cat ms-sendmail.service
>> [Unit]
>> Description=Sendmail Mail Transport Client for MailScanner
>> After=syslog.target network.target
>> Conflicts=postfix.service exim.service sendmail.service sm-client.service
>> Wants=ms-sendmail-in.service ms-sendmail-out.service
>> BindsTo=ms-sendmail-in.service ms-sendmail-out.service
>>
>> [Service]
>> Type=forking
>> PIDFile=/run/sm-client.pid
>> Environment=SENDMAIL_OPTS=-q1h
>> ExecStartPre=/bin/touch /run/sm-client.pid
>> ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid
>> ExecStartPre=-/sbin/restorecon /run/sm-client.pid
>> ExecStartPre=-/etc/mail/make
>> ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS
>>
>> [Install]
>> WantedBy=multi-user.target
>> Also=ms-sendmail-in.service ms-sendmail-out.service
>> [root at mailscanner multi-user.target.wants]#
>> [root at mailscanner multi-user.target.wants]#
>> [root at mailscanner multi-user.target.wants]# cat ms-sendmail-in.service
>> [Unit]
>> Description=Sendmail Mail Transport Inbound Agent for MailScanner
>> After=syslog.target network.target
>> Conflicts=postfix.service exim.service sendmail.service sm-client.service
>> Wants=ms-sendmail.service ms-sendmail-out.service
>> BindsTo=ms-sendmail.service ms-sendmail-out.service
>>
>> [Service]
>> Type=forking
>> PIDFile=/run/sendmail.in.pid
>> ExecStart=/usr/sbin/sendmail -bd -OPrivacyOptions=noetrn
>> -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in
>> -OPidFile=/run/sendmail.in.pid
>>
>> [Install]
>> WantedBy=multi-user.target
>> Also=ms-sendmail.service ms-sendmail-out.service
>> [root at mailscanner multi-user.target.wants]#
>> [root at mailscanner multi-user.target.wants]#
>> [root at mailscanner multi-user.target.wants]# cat ms-sendmail-out.service
>> [Unit]
>> Description=Sendmail Mail Transport Outbound Agent for MailScanner
>> After=syslog.target network.target
>> Conflicts=postfix.service exim.service sendmail.service sm-client.service
>> Wants=ms-sendmail.service ms-sendmail-in.service
>> BindsTo=ms-sendmail.service ms-sendmail-in.service
>>
>> [Service]
>> Type=forking
>> PIDFile=/run/sendmail.out.pid
>> ExecStart=/usr/sbin/sendmail -q15m -OPidFile=/run/sendmail.out.pid
>>
>> [Install]
>> WantedBy=multi-user.target
>> Also=ms-sendmail.service ms-sendmail-in.service
>>
>>
>>
>> -----Original Message-----
>> From: MailScanner [mailto:mailscanner-bounces+q=
>> snj.ca at lists.mailscanner.info] On Behalf Of Antony Stone
>> Sent: Friday, August 25, 2017 8:23 AM
>> To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
>> Subject: Re: MailScanner Ignoring All Emails
>>
>> On Friday 25 August 2017 at 15:16:48, Quintin S. Giesbrecht wrote:
>>
>> > I did that, from the instructions at the end of the MS install…also
>> > confirmed that the directories have the correct permissions. Mail is
>> > flowing, so I assume that the queue folders are correct, MS is just
>> > not jumping in…and it is running ☺
>>
>> That doesn't sound like a good assumption to me (about the queue folders
>> being correct).
>>
>> If your listener process is putting received mail into the folder being
>> monitored by the queue runner process, for example, MailScanner will be
>> sitting waiting for emails to appear in another folder altogether, and mail
>> will simply be delivered by the queue runner as soon as it's received.
>>
>> > [root at mailscanner MailWatch-1.2.5]# ps -ef|grep sendmail
>> > root 17992 1 0 08:08 ? 00:00:00 sendmail: Queue
>> > runner at 00:15:00 for /var/spool/mqueue
>>
>> > root 17994 1 0 08:08 ? 00:00:00 sendmail: accepting
>> > connections
>>
>> > smmsp 18007 1 0 08:08 ? 00:00:00 sendmail: Queue
>> > runner at 01:00:00 for /var/spool/clientmqueue
>>
>> 1. I'm not sure I understand why you have two queue runner processes
>> going, with different timings and monitoring different directories.
>>
>> 2. Which directory is the middle process (PID 17994) delivering into?
>>
>>
>> Antony.
>>
>> --
>> All generalisations are inaccurate.
>>
>> Please reply to the
>> list;
>> please *don't*
>> CC me.
>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>>
>> ________________________________
>> This communication, including its attachments, if any, is confidential
>> and intended only for the person(s) to whom it is addressed, and may
>> contain proprietary and/or privileged material. Any unauthorized review,
>> disclosure, copying, other distribution of this communication or taking of
>> any action in reliance on its contents is strictly prohibited. If you have
>> received this message in error, please notify SNJ immediately so that we
>> may amend our records. Then, please delete this message, and its
>> attachments, if any, without reading, copying or forwarding it to anyone.
>>
>>
>> --
>> 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 x271 <(765)%20932-3901>
> iversons at rushville.k12.in.us
>
>
>
--
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 x271
iversons at rushville.k12.in.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170825/b2f41a1b/attachment.html>
More information about the MailScanner
mailing list