-   Linux - Software (
-   -   MailScanner not starting postfix (

TheGNUbie 02-06-2010 01:57 AM

MailScanner not starting postfix
Im using ubuntu, not seeing any errors within the logs so Im looking for some advice on why MailScanner is starting postfix? (i.e. if both are stopped, I should only need to start MailScanner instead of both applications, correct?)

Looking through the MailScanner.conf I so see this section:

# Set whether to use postfix, sendmail, exim or zmailer.
# If you are using postfix, then see the "SpamAssassin User State Dir"
# setting near the end of this file
MTA = Postfix

# Set how to invoke MTA when sending messages MailScanner has created
# (e.g. to sender/recipient saying "found a virus in your message")
# This can also be the filename of a ruleset.
#Sendmail = /usr/sbin/sendmail

# Sendmail2 is provided for Exim users.
# It is the command used to attempt delivery of outgoing cleaned/disinfected
# messages.
# This is not usually required for sendmail.
# This can also be the filename of a ruleset.
#For Exim users: Sendmail2 = /usr/sbin/exim4 -DOUTGOING
#For sendmail users: Sendmail2 = /usr/sbin/sendmail
#Sendmail2 = /usr/sbin/sendmail -DOUTGOING
#Sendmail2 = /usr/sbin/sendmail

It looks like sendmail does get invoked but when I put in a command to invoke postfix I get an error "Unrecognised keywork "postfix" at line 189"

Any suggestions is appreciated.

ddaemonunics 02-06-2010 03:58 AM

You don't have to put the command to invoke postfix ....
leave Sendmail = /usr/sbin/sendmail for postfix

All times are GMT -5. The time now is 05:32 PM.