queries about mail scanner

Ugo Bellavance ugob at CAMO-ROUTE.COM
Tue Mar 16 06:50:41 GMT 2004

>-----Message d'origine-----
>De : Simon Something [mailto:linux at KMUN.GOV.KW]
>Envoyé : 16 mars, 2004 01:12
>Objet : queries about mail scanner
>I have recently installed mail scanner 4.28.6 and would 
>appreciate if i do
>know the following
>I am using Linux red hat 8 and Sendmail 8-12 .
>When I  wanna see the status using the command
>service MailScanner status it says
>checking Mail Scanner daemons
>Mailscanner -- OK
>incoming sendmail: head: /var/run/sendmail.in.id no such file 
>or directory
> OK
>outgoing sendmail : OK

These pid files are defined at the beginning of /etc/sysconfig/MailScanner (INPID and OUTPID).  Take a look there.

>and there is no file sendmail.in.pid in the /var/run
>but the are 2 files
>sendmail.pid &
>but when I restart the service with service MailScanner restart
>it says
>Starting MailScanner daemons
>incoming sendail : Ok
>outgoing sendmail : OK
>MailScanner : OK

Ok, have you modified the /etc/sysconfig/MailScanner file or the /etc/init.d/MailScanner file?

>2) how do I know my mailScanner is really checking for incomming mail

ps -aux | grep MailScanner

If you have any <defunct> process, you've got a problem.

>viruses and which log files do i have to check so i can know about this
>i have been checking the /var/log/maillog file but there are 
>no instances
>of MailScanner

When you do a service MailScanner restart, you should get something like:

Mar 16 01:47:48 server MailScanner[8873]: MailScanner child caught a SIGHUP
Mar 16 01:47:58 server sendmail[11029]: alias database /etc/aliases rebuilt by root
Mar 16 01:47:58 server sendmail[11029]: /etc/aliases: 64 aliases, longest 10 bytes, 634 bytes total
Mar 16 01:47:58 server sendmail[11039]: starting daemon (8.12.10): SMTP
Mar 16 01:47:58 server sm-msp-queue[11044]: starting daemon (8.12.10): queueing at 00:15:00
Mar 16 01:47:58 server sendmail[11050]: starting daemon (8.12.10): queueing at 00:15:00
Mar 16 01:48:04 server MailScanner[11072]: MailScanner E-Mail Virus Scanner version 4.28.6 starting...
Mar 16 01:48:11 server MailScanner[11072]: Using locktype = flock

>thanks and Apreciate
Hope this helps


More information about the MailScanner mailing list