postfix queues problem?
Brian Parish
clicknow at SWIFTDSL.COM.AU
Sat May 22 10:03:19 IST 2004
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/SpamAssassin/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.
I noted also that /var/spool/postfix and postfix.in were owned by root.
Tried switching them to postfix ownership too, but no change.
Brian
-------------------------- 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