queries about mail scanner
Simon Something
linux at KMUN.GOV.KW
Tue Mar 16 11:18:54 GMT 2004
Hi
thanks a lot for the quick reply. I do give u the cut n paste of the real
errors I get .
when i run the command
service MailScanner status i get the below error
-------------------------------------------------------------
Checking MailScanner daemons:
MailScanner: [ OK ]
incoming sendmail: head: /var/run/sendmail.in.pid: No such file
or directory
[FAILED]
outgoing sendmail: [ OK ]
----------------------------------------------------------
I am attaching here the copy of the /etc/sysconfig/MaiScanner file
-------------------------start---------------
#
# Put in here all the settings for your particular mail system so that
# MailScanner's init.d script can run it all for you.
#
#
# Are you running Postfix, sendmail, Exim or ZMailer?
#
MTA=sendmail
#MTA=postfix
#MTA=exim
#MTA=zmailer
#
# MailScanner Settings
#
WORKDIR=/var/spool/MailScanner/incoming # Where the temp MailScanner files
live
RESTART_DELAY=10 # Pause time between stop and start when restarting
#
# Sendmail Settings
#
SENDMAIL=/usr/sbin/sendmail
QUEUETIME=15m
INQDIR=/var/spool/mqueue.in
INPID=/var/run/sendmail.in.pid
OUTPID=/var/run/sendmail.out.pid
SMPID=/var/run/sm-client.pid
MSPUSER=smmsp # User for mail submission queue runner
MSPGROUP=smmsp # Group for mail submission queue runner
#
# Postfix settings
#
POSTFIX=/usr/sbin/postfix
POSTFIXINCF=/etc/postfix.in # Directory containing incoming configuration
POSTFIXOUTCF=/etc/postfix # Directory containing outgoing configuration
#
# Exim settings
#
EXIM=/usr/local/exim/bin/exim
EXIMINCF=/usr/local/exim/configure # Incoming configuration file
EXIMSENDCF=/usr/local/exim/exim_send.conf # Outgoing configuration file
#
# ZMailer settings
#
ZMAILER=/usr/lib/zmailer/zmailer
ZMAILERCF=/etc/zmailer/zmailer.conf # Configuration file
-----------------------end----------------------------------
I have not modifies the /etc/init.d/MailScanner file and when I do a
ps -aux | grep MailScanner i get nothing but in ps -ef i get
/usr/bin/perl -I/usr/lib/MailScanner /usr/sbin/M
appreciate if you spend ur precious time to go trhough this and do let me
know.
I feel the MailScanner daemon is not running as it gives me the error
incoming sendmail: head: /var/run/sendmail.in.pid: No such file or directory
[FAILED]
when i wanna see the status of MailScanner service
Thanks
Regards
simon
u wrote
>>-----Message d'origine-----
>>De : Simon Something [mailto:linux at KMUN.GOV.KW]
>>Envoyé : 16 mars, 2004 01:12
>>À : MAILSCANNER at JISCMAIL.AC.UK
>>Objet : queries about mail scanner
>>
>>
>>Hi
>>
>>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 &
>>sendmail.out.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
>>
>>regards
>>
>>simon
>>
> Hope this helps
>
> Ugo
>
More information about the MailScanner
mailing list