errors when starting MailScanner with postfix

Brian Parish clicknow at SWIFTDSL.COM.AU
Fri May 21 00:08:44 IST 2004


On Thu, 2004-05-20 at 23:56, Julian Field wrote:
> At 14:49 20/05/2004, you wrote:
> >On Thu, 2004-05-20 at 23:29, Julian Field wrote:
> > > At 12:54 20/05/2004, you wrote:
> > > >Brian Parish said:
> > > > > I have presumably missed something in the configuration, because when I
> > > > > start MailScanner I get:
> > > > >
> > > > > # service MailScanner start
> > > > > Starting MailScanner daemons:
> > > > >          incoming sendmail: sendmail: invalid option -- O
> > > > > sendmail: fatal: usage: sendmail [options]
> > > > >                                                                 [
> > OK  ]
> > > > >          outgoing sendmail: sendmail: invalid option -- O
> > > > > sendmail: fatal: usage: sendmail [options]
> > > > >                                                                 [
> > OK  ]
> > > > >          MailScanner:                                           [
> > OK  ]
> > > > >
> > > > > Postfix is working fine, so there is presumably some tailoring required
> > > > > for MailScanner.  What have I missed?
> > > >
> > > >The scrip above is trying to start Sendmail not Postfix. Have you set the
> > > >MTA correctly in MailScanner.conf?
> > >
> > > And set the correct MTA in /etc/sysconfig/MailScanner so that the init.d
> > > script knows which MTA to start up.
> > > --
> > > Julian Field
> >
> >That was the crucial bit.  I obviously also need to duplicate the
> >postfix settings to create the incoming instance.
>
> No, that's already all taken care of. Just set "MTA=postfix" in
> /etc/sysconfig/MailScanner and leave the rest alone.
>
> --
> Julian Field
Hmmm.  Not here it isn't...

service MailScanner start
Starting MailScanner daemons:
         incoming postfix:                                      [FAILED]
Could not find Postfix installation, see /etc/sysconfig/MailScanner
         outgoing postfix:                                      [  OK  ]
         MailScanner:                                           [  OK  ]

/etc/sysconfig/MailScanner contains:

POSTFIXINCF=/etc/postfix.in   # Directory containing incoming
configuration
POSTFIXOUTCF=/etc/postfix     # Directory containing outgoing
configuration

There is a /etc/postfix directory, but no /etc/postfix.in

thanks again
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