<div dir="ltr">Wait, that could be right....<div><br></div><div><a href="http://mqueue.in">mqueue.in</a> belongs to the second process.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 25, 2017 at 12:13 PM, Shawn Iverson <span dir="ltr"><<a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Something doesn't jive here...from your earlier thread...<div><br></div><div><span style="font-size:12.8px">> [root@mailscanner MailWatch-1.2.5]# ps -ef|grep sendmail</span><br style="font-size:12.8px"><span style="font-size:12.8px">> root 17992 1 0 08:08 ? 00:00:00 sendmail: Queue</span><br style="font-size:12.8px"><span style="font-size:12.8px">> runner@00:15:00 for /var/spool/mqueue</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">> root 17994 1 0</span><span class="m_-4384631366676203900gmail-aBn" style="font-size:12.8px"><span class="m_-4384631366676203900gmail-aQJ"> 08:08 ?</span></span><span style="font-size:12.8px"> 00:00:00 sendmail: accepting</span><br style="font-size:12.8px"><span style="font-size:12.8px">> connections</span><br style="font-size:12.8px"><br style="font-size:12.8px"><span style="font-size:12.8px">> smmsp 18007 1 0 08:08 ? 00:00:00 sen</span><span class="m_-4384631366676203900gmail-aBn" style="font-size:12.8px"><span class="m_-4384631366676203900gmail-aQJ">dmail: Q</span></span><span style="font-size:12.8px">ueue</span><br style="font-size:12.8px"><span style="font-size:12.8px">> runner@01:00:00 for /var/spool/clientmqueue</span><br style="font-size:12.8px"></div><div><span style="font-size:12.8px"><br></span></div><div>These are not the ones started by ms-sendmail.</div><div><br></div><div>It should be watching /var/spool/<a href="http://mqueue.in" target="_blank">mqueue.in</a>, not /var/spool/mqueue...</div><div><br></div><div>You don't have a rogue init scirpt, do you?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 25, 2017 at 12:03 PM, Quintin S. Giesbrecht <span dir="ltr"><<a href="mailto:q@snj.ca" target="_blank">q@snj.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here are the scripts from /etc/systemd/system.... that systemctl enable ms-sendmail created - hopefully that makes sense...:<br>
<br>
[root@mailscanner multi-user.target.wants]# cat ms-sendmail.service<br>
[Unit]<br>
Description=Sendmail Mail Transport Client for MailScanner<br>
After=syslog.target network.target<br>
Conflicts=postfix.service exim.service sendmail.service sm-client.service<br>
Wants=ms-sendmail-in.service ms-sendmail-out.service<br>
BindsTo=ms-sendmail-in.service ms-sendmail-out.service<br>
<br>
[Service]<br>
Type=forking<br>
PIDFile=/run/sm-client.pid<br>
Environment=SENDMAIL_OPTS=-q1h<br>
ExecStartPre=/bin/touch /run/sm-client.pid<br>
ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid<br>
ExecStartPre=-/sbin/restorecon /run/sm-client.pid<br>
ExecStartPre=-/etc/mail/make<br>
ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
Also=ms-sendmail-in.service ms-sendmail-out.service<br>
[root@mailscanner multi-user.target.wants]#<br>
[root@mailscanner multi-user.target.wants]#<br>
[root@mailscanner multi-user.target.wants]# cat ms-sendmail-in.service<br>
[Unit]<br>
Description=Sendmail Mail Transport Inbound Agent for MailScanner<br>
After=syslog.target network.target<br>
Conflicts=postfix.service exim.service sendmail.service sm-client.service<br>
Wants=ms-sendmail.service ms-sendmail-out.service<br>
BindsTo=ms-sendmail.service ms-sendmail-out.service<br>
<br>
[Service]<br>
Type=forking<br>
PIDFile=/run/sendmail.in.pid<br>
ExecStart=/usr/sbin/sendmail -bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/<a href="http://mqueue.in" rel="noreferrer" target="_blank">mq<wbr>ueue.in</a> -OPidFile=/run/sendmail.in.pid<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
Also=ms-sendmail.service ms-sendmail-out.service<br>
[root@mailscanner multi-user.target.wants]#<br>
[root@mailscanner multi-user.target.wants]#<br>
[root@mailscanner multi-user.target.wants]# cat ms-sendmail-out.service<br>
[Unit]<br>
Description=Sendmail Mail Transport Outbound Agent for MailScanner<br>
After=syslog.target network.target<br>
Conflicts=postfix.service exim.service sendmail.service sm-client.service<br>
Wants=ms-sendmail.service ms-sendmail-in.service<br>
BindsTo=ms-sendmail.service ms-sendmail-in.service<br>
<br>
[Service]<br>
Type=forking<br>
PIDFile=/run/sendmail.out.pid<br>
ExecStart=/usr/sbin/sendmail -q15m -OPidFile=/run/sendmail.out.pi<wbr>d<br>
<br>
[Install]<br>
WantedBy=multi-user.target<br>
Also=ms-sendmail.service ms-sendmail-in.service<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Bq" target="_blank">mailscanner-bounces+q</a>=<a href="mailto:snj.ca@lists.mailscanner.info" target="_blank"><wbr>snj.ca@lists.mailscanner.info</a>] On Behalf Of Antony Stone<br>
Sent: Friday, August 25, 2017 8:23 AM<br>
To: MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner<wbr>.info</a>><br>
Subject: Re: MailScanner Ignoring All Emails<br>
<br>
On Friday 25 August 2017 at 15:16:48, Quintin S. Giesbrecht wrote:<br>
<br>
> I did that, from the instructions at the end of the MS install…also<br>
> confirmed that the directories have the correct permissions. Mail is<br>
> flowing, so I assume that the queue folders are correct, MS is just<br>
> not jumping in…and it is running ☺<br>
<br>
That doesn't sound like a good assumption to me (about the queue folders being correct).<br>
<br>
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.<br>
<br>
> [root@mailscanner MailWatch-1.2.5]# ps -ef|grep sendmail<br>
> root 17992 1 0 08:08 ? 00:00:00 sendmail: Queue<br>
> runner@00:15:00 for /var/spool/mqueue<br>
<br>
> root 17994 1 0 08:08 ? 00:00:00 sendmail: accepting<br>
> connections<br>
<br>
> smmsp 18007 1 0 08:08 ? 00:00:00 sendmail: Queue<br>
> runner@01:00:00 for /var/spool/clientmqueue<br>
<br>
1. I'm not sure I understand why you have two queue runner processes going, with different timings and monitoring different directories.<br>
<br>
2. Which directory is the middle process (PID 17994) delivering into?<br>
<br>
<br>
Antony.<br>
<br>
--<br>
All generalisations are inaccurate.<br>
<br>
Please reply to the list;<br>
please *don't* CC me.<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br>
______________________________<wbr>__<br>
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.<br>
<span class="m_-4384631366676203900HOEnZb"><font color="#888888"><br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
</font></span></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-4384631366676203900gmail_signature" data-smartmail="gmail_signature"><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><a href="tel:(765)%20932-3901" value="+17659323901" target="_blank">765-932-3901 x271</a></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"><br></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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 x271</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"><br></div></div></div></div></div></div></div></div></div></div></div>
</div>