change from sendmail to postfix - messages now stuck in hold
REZEAU StXphane
referencing at REZEAU.NET
Mon Oct 4 06:28:41 IST 2004
I've just had the same problem.
All of my incoming/outgoing messages couldn't be delivered because of the
missing word "hold" in the line :
hash_queue_names = active, bounce, corrupt, hold, defer, flush, incoming
in my /etc/postfix/main.cf file.
On Mon, 4 Oct 2004 10:26:50 +1000, Brian Parish <clicknow at SWIFTDSL.COM.AU>
wrote:
>I have two servers running MailScanner - home and office. The home
>machine was installed from scratch using a single instance of postfix as
>documented on the MS site and works fine. The office machine was
>running an old version of MS and used two instances of sendmail. This
>also worked, but not as well, so I moved the office machine to postfix
>and installed the latest stable version of MS.
>
>Without MS running and without the:
>
>header_checks = regexp:/etc/postfix/header_checks
>
>line in postfix's main.cf file, mail is processed in both directions,
>but with this line in action and MS running, mail is received into the
>hold directory and never delivered.
>
>I changed /etc/sysconfig/MailScanner to read:
>
>MTA=postfix
>
>and
>
>POSTFIXINCF=/etc/postfix # Directory containing incoming conf
>POSTFIXOUTCF=/etc/postfix # Directory containing outgoing conf
>
>MailScanner.conf is set to:
>
>Run As User = postfix
>Run As Group = postfix
>Incoming Queue Dir = /var/spool/postfix/hold
>Outgoing Queue Dir = /var/spool/postfix/incoming
>
>Permissions on postfix spool directories are set correctly.
>
>All this stuff is identical on the two servers.
>
>On the one not working I get a repeating message in /var/log/mail/info:
>
>MailScanner E-Mail Virus Scanner version 4.29.7 starting...
>Using Custom Function file
>/usr/lib/MailScanner/MailScanner/CustomFunctions/MyExample.pm
>
>and I see a number of defunct processes.
>
>Any bells ringing out there?
>
>TIA
>Brian
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
More information about the MailScanner
mailing list