MailScanner issue with postfix

Sylvain MEDEOT symedeot at YAHOO.FR
Fri Jun 20 17:09:26 IST 2003


Hi,

I am setting up MailScanner on a Mandrake 7.2 mail server with Postfix. I
followed step by step the installation procedure
(/etc/postfix, /etc/postfix.in, modifications of main.cf and master.cf).

This is not the first mail server I am protecting with MailScanner... But
this is the oldest one since I had no problems with newest releases of
Mandrake...

This server is running postfix-19991231_pl08-5mdk. After the installation
of MailScanner (everything fine) with McAfee, I can send and receive mails
as usually... But, the mails are never scanned...

Nothing special in the logs :
Jun 20 17:51:19 intranet MailScanner[1182]: MailScanner E-Mail Virus
Scanner version 4.21-9 starting...
Jun 20 17:51:19 intranet MailScanner[1182]: Using locktype = flock

If I try manually to run /var/lib/MailScanner/mcafee-wrapper eicar.com, it
works... But the mails are never scanned !

In fact, I am sure that this script is never called by MailScanner since I
replaced it with a different one to trace what was really happening...

Of course, /etc/MailScanner/MailScanner.conf includes the following lines :

Virus Scanning = yes
Virus Scanners = mcafee

and /usr/lib/MailScanner/mcafee-wrapper is pointing to

PackageDir=/usr/local/uvscan
prog=uvscan # `basename $0`
datDIR=$PackageDir

ls /usr/local/uvscan -l gives the following :

drwxr-xr-x    2 postfix  root         4096 jun 20 09:54 4272/
lrwxrwxrwx    1 postfix  root           14 jun 20 09:54 clean.dat ->
4272/clean.dat
-r--r--r--    1 postfix  root        10469 jun 20 09:17 contact.txt
-r--r--r--    1 postfix  root       466306 jun 20 09:17 e4240upg.pdf
lrwxrwxrwx    1 postfix  root           17 jun 20 09:54 internet.dat ->
4272/internet.dat
lrwxrwxrwx    1 postfix  root           15 jun 20 09:17 liblnxfv.so -
> ./liblnxfv.so.4*
-r-xr-xr-x    1 postfix  root      2593332 jun 20 09:17 liblnxfv.so.4*
-r--r--r--    1 postfix  root         1056 jun 20 09:17 license.dat
-r--r--r--    1 postfix  root         1705 jun 20 09:17 license.txt
-r--r--r--    1 postfix  root        37721 jun 20 09:17 messages.dat
lrwxrwxrwx    1 postfix  root           14 jun 20 09:54 names.dat ->
4272/names.dat
-r--r--r--    1 postfix  root        16222 jun 20 09:17 readme.txt
lrwxrwxrwx    1 postfix  root           13 jun 20 09:54 scan.dat ->
4272/scan.dat
-r--r--r--    1 postfix  root         5546 jun 20 09:17 signlic.txt
-r-xr-xr-x    1 postfix  root         6342 jun 20 09:18 uninstall-uvscan*
-r-xr-xr-x    1 postfix  root       126711 jun 20 09:17 uvscan*
-r--r--r--    1 postfix  root        13385 jun 20 09:18 uvscan.1

Any idea ?

Many thanks in advance,

Sylvain MEDEOT
Ville de Pontoise - France



More information about the MailScanner mailing list