Date: Thu, 11 Sep 1997 18:06:12 -0700 (PDT) From: Dan Busarow <dan@dpcsys.com> To: Dave Babler <dbabler@Rigel.orionsys.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help with Sendmail/DNS Message-ID: <Pine.UW2.3.95.970911174636.29317B-100000@cedb> In-Reply-To: <Pine.BSI.3.95.970911154253.9359C-100000@Rigel.orionsys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 11 Sep 1997, Dave Babler wrote: > It looks like I'm hosed then, host altair is just for testing. The REAL > desired operation is: > > mail to orionsys.com -> rigel -> bbs.orionsys.com > mail to bbs.orionsys.com -> rigel -> bbs.orionsys.com > mail to rigel.orionsys.com -> rigel > mail to altair.orionsys.com -> rigel -> altair... You just need to do a little more work. In the sendmail rules, add another between the first two R$+ < @ orionsys.com . > $#esmtp $@ bbs.orionsys.com $: $1 < @ bbs.orionsys.com . > and a third rule R$+ < @ altair.orionsys.com . > $#esmtp $@ altair.orionsys.com $: $1 < @ altair.orionsys.com . > What was originally the second rule is now the fourth and is a catch all that will send non rigel/altair stuff to bbs. The rule that follows (with $* orinsys.com on the LHS) will never be executed if the one for bbs is true. So that any mail for bbs that happens to arrive at rigel (I forget whether you had an existing secondary MX pointing at rigel) will get sent to bbs during testing. Then you can use sendmail -bt to assure you that mail addressed to user@orionsys.com will indeed be forwarded to bbs. Once satisfied that it works restart sendmail. You won't be able to test that mail addressed to user@orionsys.com goes to rigel and is handed off to bbs cause the DNS does not *yet* allow that. But you can verify that user@altair.orionsys.com does indeed go to rigel where it is scrubbed up and then handed to altair. When you are satisfied that it works you can make the DNS changes to the domain entry so that it's MX points at rigel. Done. You could also delete the second rule (the one testing for a bare orionsys.com) if you want to clean the .cf up a little. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.UW2.3.95.970911174636.29317B-100000>
