MailScanner Ignoring All Emails
Quintin S. Giesbrecht
q at snj.ca
Fri Aug 25 13:16:48 UTC 2017
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 ☺
[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
[root at mailscanner MailWatch-1.2.5]# ps -ef|grep MailScanner
root 2681 1 0 Aug24 ? 00:00:00 MailScanner: master process sleeping
root 2682 2681 0 Aug24 ? 00:00:05 MailScanner: waiting for messages
root 2741 2681 0 Aug24 ? 00:00:04 MailScanner: waiting for messages
root 2764 2681 0 Aug24 ? 00:00:04 MailScanner: waiting for messages
root 2793 2681 0 Aug24 ? 00:00:04 MailScanner: waiting for messages
root 2816 2681 0 Aug24 ? 00:00:04 MailScanner: waiting for messages
Thanks,
Quintin
From: MailScanner [mailto:mailscanner-bounces+q=snj.ca at lists.mailscanner.info] On Behalf Of Shawn Iverson
Sent: Friday, August 25, 2017 7:48 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: MailScanner Ignoring All Emails
(corrected ordering)
In the case of CentOS 7...
Disable these:
systemctl stop sendmail
systemctl stop sm-client
systemctl disable sendmail
systemctl disable sm-client
systemctl enable ms-sendmail
systemctl start ms-sendmail
On Fri, Aug 25, 2017 at 7:18 AM, Shawn Iverson <iversons at rushville.k12.in.us<mailto:iversons at rushville.k12.in.us>> wrote:
MailScanner, starting with version 5.0.6-3, ships with a MailScanner specific sendmail script for Red Hat based distributions.
In the case of CentOS 7...
Disable these:
systemctl disable sendmail
systemctl disable sm-client
systemctl stop sendmail
systemctl stop sm-client
systemctl enable ms-sendmail
systemctl start ms-sendmail
On Thu, Aug 24, 2017 at 5:50 PM, Quintin S. Giesbrecht <q at snj.ca<mailto:q at snj.ca>> wrote:
I have searched and searched, and I cannot find an answer for this. Everything is working on the server. It is running Sendmail, and configured to relay to our Exchange Server using mailertable. It works – mail from the outside gets received by Sendmail and forwarded to our Exchange Server, and visa versa.
What is not happening, is MailScanner is not scanning anything. There is no indication in the logs (pasted below – this is from an internal test, but if an email comes from the outside, it behaves the same way) that MailScanner is doing anything.
I have followed the instructions on getting it working with Sendmail on CentOS 7, including creating the mqueue.in<http://mqueue.in> folder, and adjusting the startup scripts….
Any help here would be greatly appreciated.
Thanks so much!
Quintin
Aug 24 16:46:10 mailscanner MailScanner[2816]: MailScanner Email Processor version 5.0.6 starting...
Aug 24 16:46:10 mailscanner MailScanner[2816]: Reading configuration file /etc/MailScanner/MailScanner.conf
Aug 24 16:46:10 mailscanner MailScanner[2816]: Reading configuration file /etc/MailScanner/conf.d/README
Aug 24 16:46:10 mailscanner MailScanner[2816]: Read 1500 hostnames from the phishing whitelist
Aug 24 16:46:10 mailscanner MailScanner[2816]: Read 12757 hostnames from the phishing blacklists
Aug 24 16:46:10 mailscanner MailScanner[2816]: Using SpamAssassin results cache
Aug 24 16:46:10 mailscanner MailScanner[2816]: Connected to SpamAssassin cache database
Aug 24 16:46:10 mailscanner MailScanner[2816]: Enabling SpamAssassin auto-whitelist functionality...
Aug 24 16:46:13 mailscanner MailScanner[2816]: Auto: Found virus scanners: clamav
Aug 24 16:46:13 mailscanner MailScanner[2816]: Connected to Processing Attempts Database
Aug 24 16:46:13 mailscanner MailScanner[2816]: Found 0 messages in the Processing Attempts Database
Aug 24 16:46:13 mailscanner MailScanner[2816]: Using locktype = posix
Aug 24 16:47:36 mailscanner sendmail[3002]: starting daemon (8.14.7): queueing at 00:15:00
Aug 24 16:47:36 mailscanner sendmail[3003]: starting daemon (8.14.7): SMTP
Aug 24 16:47:36 mailscanner sm-msp-queue[3020]: starting daemon (8.14.7): queueing at 01:00:00
Aug 24 16:48:55 mailscanner sendmail[3080]: v7OLmtAi003080: from=root, size=305, class=0, nrcpts=1, msgid=<20170824214855.GA3077 at mailscanner.snjlaw.local<mailto:20170824214855.GA3077 at mailscanner.snjlaw.local>>, relay=root at localhost
Aug 24 16:48:55 mailscanner sendmail[3081]: v7OLmtdG003081: from=<root at mailscanner.snjlaw.local<mailto:root at mailscanner.snjlaw.local>>, size=454, class=0, nrcpts=1, msgid=<20170824214855.GA3077 at mailscanner.snjlaw.local<mailto:20170824214855.GA3077 at mailscanner.snjlaw.local>>, proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]
Aug 24 16:48:55 mailscanner sendmail[3081]: STARTTLS=client, relay=[192.168.0.4], version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-SHA384, bits=256/256
Aug 24 16:48:55 mailscanner sendmail[3081]: v7OLmtdG003081: to=<q at snj.ca<mailto:q at snj.ca>>, ctladdr=<root at mailscanner.snjlaw.local<mailto:root at mailscanner.snjlaw.local>> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=smtp, pri=30454, relay=[192.168.0.4] [192.168.0.4], dsn=2.0.0, stat=Sent (<20170824214855.GA3077 at mailscanner.snjlaw.local<mailto:20170824214855.GA3077 at mailscanner.snjlaw.local>> [InternalId=13829794693333, Hostname=HONDA.snjlaw.local] Queued mail for delivery)
Aug 24 16:48:55 mailscanner sendmail[3080]: v7OLmtAi003080: to=q at snj.ca<mailto:q at snj.ca>, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30305, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (v7OLmtdG003081 Message accepted for delivery)
________________________________
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<mailto: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<tel:(765)%20932-3901>
iversons at rushville.k12.in.us<mailto:iversons at rushville.k12.in.us>
[https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ][https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ]
--
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 x271
iversons at rushville.k12.in.us<mailto:iversons at rushville.k12.in.us>
[https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ][https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170825/2b67826d/attachment.html>
More information about the MailScanner
mailing list