[Mimedefang] Sendmail/mimedefang set up problems

David F. Skoll dfs at roaringpenguin.com
Tue Jul 6 16:51:29 EDT 2004


On Tue, 6 Jul 2004, Douglas, Jason wrote:


> The box (190.10.9.9, called "spammail") will simply take mail from the
> outside world for municipality.clarington.on.ca.
> It should scan for spam/viruses...
> Then relay to our Exchange server (190.10.9.1, called "moc-exch")

You need an entry in /etc/mail/mailtertable like this:

municipality.clarington.on.ca	esmtp:[190.10.9.1]

You also need an entry in /etc/mail/access like this:

To:municipality.clarington.on.ca	RELAY

Then rebuild the database files -- on most Linux distros, you just
type "make -C /etc/mail"

> Any help for this type of one-way delivery set up would be greatly
> appreciated. I will be happy to provide any config files that you need
> to see to help troubleshoot. Thanks.

Excerpts from /var/log/maillog would be more helpful.  Also, be sure
that your Sendmail is not bound to the loopback address -- Red Hat
distros make Sendmail listen on 127.0.0.1 only, by default.  You need
to edit /etc/mail/sendmail.mc, remove the DAEMON_OPTIONS line, and
rebuild sendmail.cf ("make -C /etc/mail") and restart sendmail.

--
David.



More information about the MIMEDefang mailing list