[Mimedefang] Sendmail/mimedefang set up problems

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

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

> The box (, 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 (, called "moc-exch")

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

municipality.clarington.on.ca	esmtp:[]

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 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.


More information about the MIMEDefang mailing list