sendmail configure for backup mx record.
I am working on setting up a backup mx mailer for domain.
It will be our first debian system we will be using for a main production
system.
I have read through the documentation, and it appears I have everything
configured correctly.
I am planning to set it up as a relay for an exchange server and a
sendmail server. My original plan is to have it as a very high mx number
like 99 and just verify it appears to be working on the few MTA's that
attempt to relay through it.
Am I missing any additional items I need to configure to keep addresses
carrying over correctly to their destination machines?
I really appreciate any feedback you can give on items I might be
overlooking.
If you can think of ANYTHING I am overlooking, let me know.
As you well know when the mailserver for 800 people stop working, people get
ugly.
I have read existing documentation on setting up a mail hub.
If you know of any documentation you think I might find useful, then let
me know.
Ignore additional security items such as:
dnsvalid/ipvalid,connection_throttle,bad_recip_throttle as I am aware of
them.
mailterable and sendmail.mc listed below:
/etc/mail/sendmail.mc generated using sendmailconfig in sendmail stable.
divert(0)dnl
#
# Copyright (c) 1998-2002 Richard Nelson. All Rights Reserved.
#
# This file is used to configure Sendmail for use with Debian systems.
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.12.3-6.6 2003-09-17 18:35:09 cowboy
Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl LOCAL_CONFIG
FEATURE(`nocanonify')dnl LOCAL_CONFIG Cwtraffic.cs.montana.edu
FEATURE(`use_cw_file')dnl FEATURE(`use_ct_file')dnl FEATURE(`nouucp',
`reject')dnl FEATURE(`mailertable')dnl FEATURE(`smrsh')dnl
FEATURE(`mailertable')dnl INPUT_MAIL_FILTER(`mimedefang',
`S=unix:/var/spool/MIMEDefang/mimedefang.sock, F=T, T=S:1m;R:1m')
include(`/etc/mail/dialup.m4')dnl include(`/etc/mail/provider.m4')dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_CONFIG
## Custom configurations below (will be preserved)
include(`/etc/mail/tls/starttls.m4')dnl
define(`confLOG_LEVEL',`13')dnl
define(`relay_hosts_only')dnl
I have configured mailertable entries:
FEATURE(`mailertable')dnl
define(`relay_hosts_only')dnl
/etc/mail/mailertable
xxx.montana.edu esmtp:[xxx.montana.edu]
xxx.montana.edu esmtp:[xxx.coe.montana.edu]
/etc/mail/relay-domains
xxx.montana.edu
xxx.montana.edu
--
--Luke CS Sysadmin, Montana State University-Bozeman
Reply to: