Relay by other network

S Mohan smohan at
Fri Nov 8 02:28:53 GMT 2002

No. Do not install mmsmtp. Just install sweep or savi. Ideally, you must
just get the tar file of Sophos SAVI/Sweep. Install MailScanner and run
Sophos.install from the same directory where the tar file exists. This
script will do all the installation and command line options of
sendmail. If you have installed mmsmtp, uninstall it first. The
configuration you have done is what mmsmtp proposes for running the
gateway and MTA on the same machine. Julian has taken a different and
IMHO a much better route. In case we feel mailscanner is misbehaving,
simply stop mailscanner and start sendmail. We need not tinker with
sendmail configuration every time this switch is made.

Julian - I think your scheme is by far the best I've seen.


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of fong
Sent: Thursday, November 07, 2002 3:33 PM
Subject: Re: Relay by other network

Thanks Mohan

Since someone told me that if you install both software on same machine,
you should change the port of sendmail.

Do I change any configure in sophos's config(mmsmtp.cfg) file?
Should I start the sophos daemon(mmsmtpd) and mailscanner daemon or
instead of start mailscanner daemon only?

Fong Cheang

----- Original Message -----
From: S Mohan <mailto:smohan at VSNL.COM>
Sent: Thursday, November 07, 2002 4:45 PM
Subject: Re: Relay by other network

I've used this combination for 1 year now on 4 machines. Why are you
changing sendmail port? Mailscanner starts two instances of sendmail -
one in queued delivery mode accepting incoming connections and one just
flushing out the queue. There is no need to change. If you are attaching
port 25 to Sophos, then I guess you are using their mail gateway and not
mailscanner. MailScanner user the sweep commandline program and is a
replacement for the Sophos Mail Gateway. Relaying in sendmail is
controlled thro' /etc/mail/access file which has entries that look like

IP/domainname/email id  OK/RELAY?REJECT

192.168.0    RELAY will relay for your local Class C subnet assuming it
is 192.168.0 subnet.

Restart MailScanner after this. sendmail start up converts this file to
a access.db file. Also take care that sendmail MTA listen to your actual
IP and not


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
Behalf Of fong
Sent: 07 November 2002 08:20
Subject: Relay by other network

Did anyone configure mailscanner+sendmail+sophos?

After I installed mailscanner and sophos on the same pc, I make the
following configuration:

Sendmail port no: 8888
Sophos port no: 25 (redirect to sendmail after scanned)

So that all mail will be scanned before send to sendmail. It also make
relay by other network.

How can I control the relay domain? Is it the problem of sophos,
sendmail or mailscanner?

I hope you understand my bad english.

Appreciate for any help....

Fong Cheang

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list