MailScanner issue with postfix

Julian Field mailscanner at ecs.soton.ac.uk
Sat Jun 21 08:38:58 IST 2003


At 06:16 21/06/2003, you wrote:
>Hi,
>
>Well, that may be the problem. How can I check that ? Anyway, if the
>messages are not put in the outgoing queue, can they be delivered anyway ?

Do a
         du -ks /var/spool/postfix.in/deferred
and
         du -ks /var/spool/postfix/incoming
and see where all the files are.

>By looking into /var/spool/postfix and /var/spool/postfix.in, I've also
>seen that I have in both a subdirectory (postfix-postfix.in)/deferred and
>(postfix-postfix.in)/defer... Is it normal ? If I delete them, they are
>created again when postfix starts...

Yes, "defer" is different from "deferred".

>I tried to replace in MailScanner.conf the line
>Incoming Queue Dir = /var/spool/postfix.in/deferred
>
>by
>
>Incoming Queue Dir = /var/spool/postfix.in/defer

I guarantee that won't work, that's why the install instructions tell you
to use "deferred".

>I think is it picking up the messages and then putting them in the
>outgoing queue since

since?


>Sylvain MEDEOT
>Ville de Pontoise
>
>On Fri, 20 Jun 2003 17:20:16 +0100, Julian Field
><mailscanner at ECS.SOTON.AC.UK> wrote:
>
> >But is it actually picking up the messages and then putting them in the
> >outgoing queue?
> >Or is it leaving them in the incoming queue
> >(/var/spool/postfix.in/deferred) and never collecting them?
> >
> >At 17:09 20/06/2003, you wrote:
> >>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
> >
> >--
> >Julian Field
> >www.MailScanner.info
> >MailScanner thanks transtec Computers for their support

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list