MailScanner not listening for messages... SOLVED
Titus
ptitus at GREENBURGHGRAHAM.ORG
Thu Jun 17 21:19:23 IST 2004
Thankyou (and Mr. Leduc as well) for steering me in the right direction. I
had been misinterpreting the directions I read in the mailscanner pdf manual
on page eight where it says to stop sendmail, then start mailscaner (after
everything has been set up). This led me to believe that mailscanner would
call upon sendmail to do its thing at its own discretion. Now I realize
that you need to start sendmail, but only after mailscanner is started
first, which is why you need to make sure sendmail does not start upon
rebooting. At least that's the sense I have now.
Anyway, it seems to be working and my email headers contain appropriate
messages indicating that mailscanner is indeed doing its job, plus the
mail.log entries now look normal (I was getting lots of "connection refused"
errors, suggesting there was no message transport running), and mail does
not sit in a queue waiting for something to happen (another symptom of my
earlier misconfiguration).
I have tweaked the sendmail.cf to include
DAEMON_PARMS="-bd -OPrivacyOptions=noetrn -ODeliveryMode=queueonly -OQueueDi
rectory=/var/spool/mqueue.in";
but I have no idea what this does or even if it has any effect. But without
this line there does not seem any specific mention of the mqueue.in
directory otherwise so I guess it must be important. I picked this
configuration advice up in a newsgroup post and it sounded sensible.
Again, thank you for your assistance. I feel confident I can finish the
setup and put the new system into operation.
--Peter T.
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of Mike Andrews
Sent: Thursday, June 17, 2004 11:51 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MailScanner not listening for messages
If you're using sendmail then your machine should have two or more
sendmail processes
running:
o one listening on port 25, which receives mail and puts it on the
"in" queue
for processing by MailScanner;
o one or two queue runners to take mail from MailScanner's output
queue and
send it on to the intended recipients if it's malware-free
and not spam, or to
any recipients designated by the MailScanner config file for spam
or infected
mail;
o others that actually do the delivery.
There also should be some MailScanner processes (here they're
/usr/bin/perl -I/opt/MailScanner/lib
/opt/MailScanner/bin/MailScanner)
that do the scanning. They're the middlemen between the port-25 listener
sendmail
instance and the queue-runner sendmail instances.
MailScanner itself does not listen on port 25.
How, exactly, are you starting your MailScanner and sendmail instances?
I use
/opt/MailScanner/bin/rc.MailScanner start
to do the job.
Mike Andrews
Information Security
Technical Services Division
Oklahoma Dept. of Transportation
mandrews at odot.org
Peter Titus <ptitus at GREENBURGHGRAHAM.ORG>
Sent by: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
06/17/2004 10:55 AM Please respond to
MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
To MAILSCANNER at JISCMAIL.AC.UK
cc
Subject MailScanner not listening for messages
Hello.... My problem is simple (but the solution may not be). When I
start MailScanner, it fails to begin listening on port 25. This renders
it useless. I have version 4.31.6 running on Debian Linux. It seemed to
install with no problems using the handy install.sh utility. All the
associated files and directories seem to be in their proper places. I
have studied the mailscanner.conf file and selected the options I would
like to start with, however since it is not accepting inbound email, there
is no way to test if these options are working.
Any advice would be much appreciated. My sendmail is running just
fine, so I turned it back on after turning killing the MailScanner
processes (five as per the default setting for child processes). Sendmail
is listening normally on port 25. I test this by using both netstat and
telnet. The machine is in a testing environment, and the situation is by
no means urgent, but I would like to get the thing running so I can put
the whole system online, with spamassassin and clamav.
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040617/38903e30/attachment.html
More information about the MailScanner
mailing list