The key elements to make this work are
(a) both server1 and server2 accept mail for your domain (class R contains
your domain, also known as the relay-domains file)
(b) server2 does not consider your domain a local one

To make server2 consider your domain not-local, you must not include your
domain in class w on server2 (the sendmail.cw file, as it's also known).

I like adding the FEATURE(mailertable) to server2, and explicitly specifying
server1 as the relay for the domain in the mailertable.  Mailertable lookups
only happen when the destination domain does NOT belong to class w.
Mailertable routing also does not depend on MX records, and will still work
even if DNS is down (as long as you put server1's IP address instead of its
domain name in the mailertable).

I hope that wasn't too many negative instructions ("to make it do X, don't do
Y" confuses me, too :).

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Anibal Tello
> Sent: Monday, June 14, 1999 3:28 PM
> To: [EMAIL PROTECTED]
> Subject: sendmail & mailhub
>
>
> I try to configure a mailhub like this
> domain IN MX 0 server1
> domain IN MX 5 server2
> How can I configure server2
>
> -
> [To unsubscribe, send mail to [EMAIL PROTECTED] with
> "unsubscribe firewalls" in the body of the message.]
>
>

-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]

Reply via email to