Here's some additional information that I received. With this little tweak
to the /etc/sendmail.cf file and the sendmail patch listed below you should
be able to use wildcard mx records in your domain.
Thanks to Brian Katzung....
> From brian_katzung@lisle.swissbank.com Tue Jul 27 06:57:42 1993
>
> In sbc.mail.sun-managers article <9307261627.AA01550@gumby.for.gov.bc.ca> you
> wrote:
> > Here was my problem:
> > ----- Begin Included Message -----
> > Hi Everybody,
> >
>
> > To send mail to a host in my domain I had to add the following line to
> > my dns set up:
> >
>
> > *.for.gov.bc.ca. IN MX 10 gumby.for.gov.bc.ca.
> >
>
> > The problem is once the record is in place local mail works great and I
> > can send mail to most other sites. However if I try to send mail to
> > <some.person>@canada.sun.com or reply to someone that works at sun I get the
> > message: "Canada.Sun.COM" host unknown. If I get rid of the wildcard MX
> > record mail to sun works fine. Is there something I should be tweeking
> > in /etc/sendmail.cf???? I would like to keep the MX record in place...
> > ----- End Included Message -----
> > > Get this patch:
>
> > >
> > > 100377-05: SunOS 4.1;4.1.x: Sendmail.mx doesn't recognize wildcard,
>
> I missed your original posting, but I can fill in some additional details.
> Because "canada.sun.com" is not in the root domain (no trailing dot),
> DNS tries the name in the local domain (most qualified form) first (ie,
> "canada.sun.com.for.gov.bc.ca."). This matches the wild card and therefore
> gets sent to gumby. You can get around this in sendmail.cf by adding a "."
> in the "$@" part of the rule in S0. For example:
>
> R$*<@$+>$* $# xtcp $@ $2. $: $1<@$2>$3 user@some.where
>
> -- Brian Katzung
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:04 CDT