MailScanner Postfix and SuSE 8.1
Julian Field
mailscanner at ecs.soton.ac.uk
Tue Jul 1 14:22:41 IST 2003
I need to do some more work on the SuSE init.d script so it is as clever as
my RedHat one.
In the mean time, look in the init.d script for code that starts with a
line saying "startin)" and replace the following 3 sections with this:
startin)
echo -n "Initializing incoming Postfix"
startproc -p $srvpid postfix -c /etc/postfix.in
rc_status
;;
startout)
echo -n "Initializing outgoing Postfix"
startproc -f -p $srvoutpid postfix -c /etc/postfix
rc_status
;;
start)
echo -n "Initializing Postfix and MailScanner"
startproc -p $srvpid postfix -c /etc/postfix.in
rc_status
startproc -f -p $srvoutpid postfix -c /etc/postfix
rc_status
startproc -f -p $mspid /usr/sbin/check_MailScanner >/dev/null
rc_status -v
rm -f /var/lock/subsys/MailScanner.off >/dev/null 2>&1
;;
At 13:17 01/07/2003, you wrote:
>Hi,
>
>Can someone help me please?!
>
>I have just installed a clean copy of SuSE 8.1, Postfix (1.1.11-110),
>Sophos, and MailScanner. I used the latest stable release from the
>Mailscanner website (Version 4.21-9 for SuSE Linux 8.0/8.1).
>
>I ran the installation script and followed through every step in the Using
>MailScanner with Postfix installation guide with no real problems except one
>- the guide refers to a utility called redhat-switchmail-nox which I do not
>have. Anyway When I try to run /etc/init.d/MailScanner start I get the
>following errors:
>Initializing sendmail and MailScannersendmail: invalid option -- O
>sendmail: fatal: usage: sendmail [options]
>sendmail: invalid option -- A
>sendmail: fatal: usage: sendmail [options]
>sendmail: invalid option -- A
>sendmail: fatal: usage: sendmail [options]
> failed
>I have had a look through the init.d script and it looks nothing like the
>updated one on the Mailscanner website. Also /etc/sysconfig/MailScanner has
>no MTA= line in it and I have not added one. It only has a number of
>SENDMAIL_*_ARGS options and the workdir directives. Is this right? Or do I
>need to add the MTA Line anyway? It doesn't seem to be used by the
>init.d/MailScanner script that was installed with the SuSE package.
>
>Has anyone got any ideas on how I can get this working? I guess I just need
>to tweak the sendmail options but do not know which ones should be used.
>
>Thanks in advance,
>
>Sam
>
>-----Original Message-----
>From: L-Soft list server at JISCMAIL (1.8e) [mailto:LISTSERV at JISCMAIL.AC.UK]
>
>Sent: 01 July 2003 13:00
>To: Sam Luxford-Watts
>Subject: Welcome to MailScanner
>
>
>This list is for the discussion of the MailScanner e-mail virus and spam
>protector. It is also used for announcements of new releases.
>
>If you *only* want announcements of new releases, then you would do better
>to subscribe to the MailScanner project at
>http://www.freshmeat.net/projects/mailscanner.
>
>--
>Jules
>www.mailscanner.info
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list