mailscanner dying
Darrin Powell
dpowell at LSSI.NET
Thu Jan 24 14:32:00 GMT 2002
On Thu, 2002-01-24 at 04:08, Julian Field wrote:
> At 22:41 23/01/2002, you wrote:
> >I have been having problems with mailscanner right after I installed the
> >latest RPM mailscanner-3.03-1.i386.rpm. I also installed the latest
> >Sophos tar file sweep version
> >
> >sweep -v
> >
> >Product version : 3.53
> >Engine version : 2.6
> >User interface version : 2.03.079
> >Platform : Linux/Intel
> >Released : 07 January 2002
> >Total viruses (with IDEs) : 71192
> >
> >Redhat 7.1 with all the updates
>
> What was printed in your logs before it died? Has MailScanner been putting
> anything in your logs? (If not, please read the Installation FAQ).
Yes mailscanner is logging it starts like this
Jan 20 05:03:05 www mailscanner[30942]: MailScanner E-Mail Virus Scanner
version 3.03 starting.
Jan 20 05:03:05 www mailscanner[30942]: Configuring mailscanner for
sendmail...
Jan 20 05:03:05 www mailscanner[3863]: Startup: found 1 messages waiting
Jan 20 05:03:05 www mailscanner[3863]: Forwarding 1 clean messages, 2262
bytes
Jan 20 05:03:05 www mailscanner[3863]: About to deliver 1 messages
There is no actual indication that it dies in the logs. The mqueue.in
fills up and won't empty until I
/etc/rc.d/init.d/mailscanner restart.
One thing I will check if it happens again is if mailscanner is still
running.
[root at www:/var/spool]# ps -ef | grep mail
root 7473 1 0 Jan23 ? 00:00:00 sendmail: accepting
connections
root 7476 1 0 Jan23 ? 00:00:00 /usr/sbin/sendmail -q15m
Would I be correct if /usr/sbin/sendmail -q15m was not running that
mailscanner died?
>
> The "/" has nothing to do with Sophos.
>
> >The /var/spool/mqueue.in the last couple of mornings has been full and
> >it takes restarting mailscanner to clear them out. I also turned off
> >spam thinking this was the problem. I see below that Julian added "/" to
> >the main source to fix the problem with mail scanner dying. So maybe my
> >problem is not related, but this seemed the closest email to my problem.
> >I have modified my mailscanner.conf to Delivery Method = batch and to
> >not do spam everything else is defualt. One thing I did notice on
> >install is /usr/local/Sophos/bin was not in my path.
>
> Doesn't need to be. But the /usr/local/Sophos/bin/sophoswrapper script does
> need to point to your installation of Sophos, so take a look at the wrapper
> script and check that it does.
The /usr/local/Sophos/bin/sophoswrapper does point to the correct
installation.
PackageDir=/usr/local/Sophos
prog=sweep # `basename $0`
SAV_IDE=$PackageDir/ide
LD_LIBRARY_PATH=$PackageDir/lib
export SAV_IDE
export LD_LIBRARY_PATH
exec ${PackageDir}/bin/$prog "$@"
>
> > I don't remember
> >this error showing up on earlier installs and for the life of me I cant
> >get the path to stay. The root shell is korn. So I continued with the
> >install.Any help would be greatly appreciated. I also wanted to say good
> >job to Julian this has been a great security tool.
>
> Glad you like it!
Thanks again for all your help.
> --
> Julian Field Teaching Systems Manager
> jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
> Tel. 023 8059 2817 University of Southampton
> Southampton SO17 1BJ
--
Darrin Powell
System Administrator
LSSi, Corp.
(919) 466-6803
More information about the MailScanner
mailing list