postfix queues problem?

Julian Field mailscanner at ecs.soton.ac.uk
Sat May 22 14:30:49 IST 2004


At 10:03 22/05/2004, you wrote:
>On Sat, 2004-05-22 at 18:09, Drew Marshall wrote:
> > Brian Parish wrote:
> >
> > >For some reason the install script did not set up the second postfix
> > >instance, so I followed the info at:
> > >
> > >http://wiki.linuxquestions.org/wiki/Using_MailScanner/Postfix/SpamAssas
> sin/ClamAV_in_Gentoo_Linux#Configuring_two_versions_of_postfix
> > >
> > >and did the following:
> > >
> > >cp -rp /etc/postfix /etc/postfix.in
> > >
> > >Edited /etc/postfix.in/main.cf and added a line at the top that says:
> > >
> > >defer_transports = smtp local virtual relay
> > >
> > >In the same file, changed:
> > >queue_directory = /var/spool/postfix
> > >to
> > >queue_directory = /var/spool/postfix.in
> > >
> > >cp -rp /var/spool/postfix /var/spool/postfix.in
> > >
> > >Edited /etc/postfix/master.cf and commented out the following line:
> > >smtp   inet    n       -       y       -       -       smtpd
> > >
> > >chown postfix.postfix /var/spool/MailScanner/incoming
> > >chown postfix.postfix /var/spool/MailScanner/quarantine
> > >
> > >service MailScanner start
> > >
> > >now says that it starts the two postfix queues, but in
> > >/var/log/mail/info I get over and over:
> > >
> > >MailScanner[nnn]: MailScanner E-Mail Virus Scanner version 4.30.3
> > >starting...
> > >
> > >I see MailScanner <defunct> processes and no mail is processed.
> > >
> > >
> > >
> > Check the 'run as user' in MailScanner.conf. Make sure it's postfix and
> > like wise the 'run as group' should as be postfix. As Postfix won't
> > allow anything to do with root near it's queues.
> >
> > Drew
> >
>Thanks Drew,
>
>Those lines were set at null.  i.e. run as user =
>
>So I fixed those, but still no cigar.  Incoming mail is not scanned and
>not passed on to the outgoing queue and "MailScanner starting" messages
>accumulate in the info log.

Set "Debug = yes" in MailScanner.conf, then kill your MailScanner
processes, then "check_mailscanner" and see if it prints any errors.
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list