[plug] Sendmail as a backup MX
Anthony J. Breeds-Taurima
tony at cantech.net.au
Thu Nov 14 10:34:18 WST 2002
On Wed, 13 Nov 2002 ryan at is.as.geeky.as wrote:
> Dear PLUG,
>
> Does anyone successfully have a Sendmail primary MX of one domain running as
> backup MX for another domain?
Yes.
2 hosts:
primary.domain.one
primary.domain.two
On primary.domain.one:
Add:
primary.domain.one
domain.one
to /etc/mail/local-hostnames
Add:
primary.domain.two
To /etc/mail/relay-domains.
On primary.domain.two:
Add:
primary.domain.two
domain.two
to /etc/mail/local-hostnames
Add:
primary.domain.one.
To /etc/mail/relay-domains.
In DNS set the MX records appropriatelys, restart sendamil onm both hosts
and reload your DNS db if required.
This meand that primary.domain.one will deliver mail for {primary.}domain.one
locally and spool mail for domain.two. primary.domain.two will do the
inverse
Done.
Yours Tony
Jan 22-25 2003 Linux.Conf.AU http://linux.conf.au/
The Australian Linux Technical Conference!
More information about the plug
mailing list