MailScanner + Sendmail = stuck mail?
Mike Kercher
mkercher at nfsmith.com
Thu Apr 10 16:55:16 IST 2008
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Rich
West
Sent: Thursday, April 10, 2008 10:18 AM
To: MailScanner discussion
Subject: Re: MailScanner + Sendmail = stuck mail?
Julian Field wrote:
>
>
> Rich West wrote:
>> Mike Kercher wrote:
>>
>>>
>>>
>>> -----Original Message-----
>>> From: mailscanner-bounces at lists.mailscanner.info
>>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of
>>> Rich West
>>> Sent: Wednesday, April 09, 2008 12:44 PM
>>> To: mailscanner at lists.mailscanner.info
>>> Subject: MailScanner + Sendmail = "user unknown"
>>>
>>> I've inherited a MailScanner setup that is pretty questionable (from
>>> a security standpoint), and I'm rebuilding the box from scratch.
>>> I've gotten everything installed (CentOS, clamav, SA, MailScanner,
>>> Sendmail) to have the system act as a relay to an exchange backend.
>>>
>>> Oddly, it does not seem to be picking up the messages that are being
>>> left in /var/spool/mqueue.in. I see the messages being deposited
>>> there, but they don't seem to be acted upon. Is there, perhaps,
>>> setting that I might have missed/glossed over that is obvious?
>>>
> Don't need to touch your sendmail config at all when installing
> MailScanner.
Ahh.. ok.. that's what I was looking for.
Reverting the sendmail configuration back to a null client, it happily
sends email back to the exchange server farm. From there, if I stop
sendmail and start up MailScanner (with it starting up sendmail), email
passes right through to the exchange server as if MailScanner never
touched it.
Watching the MailScanner --debug output, all I see is:
/usr/sbin/MailScanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
SpamAssassin temp dir =
/var/spool/MailScanner/incoming/SpamAssassin-Temp
Building a message batch to scan...
And /var/log/maillog shows:
root 24494 1 0 09:53 ? 00:00:00 sendmail: accepting
connections
smmsp 24500 1 0 09:53 ? 00:00:00 sendmail: Queue
runner at 00:15:00 for /var/spool/clientmqueue
root 24507 1 0 09:53 ? 00:00:00 sendmail: Queue
runner at 00:15:00 for /var/spool/mqueue
smmsp 25062 25058 0 11:01 ? 00:00:00 /usr/sbin/sendmail
-FCronDaemon -i -odi -oem -oi -t
Interesting since my inbound queue is set to /var/spool/mqueue.in and
outbound queue is set to /var/spool/mqueue...
-Rich
--
This is the output of ps, not the maillog. We need to see the maillog
to see what may or may not be happening.
Mike
More information about the MailScanner
mailing list