At 03:38 AM 8/1/00 EDT, you wrote:
>YOu NEED A MX record for outside mail or have a host file with every IP's
and domain in the internet.

Having a host file with all ip's is only marginally good ... only 
machines with mx records are known smtp transports. 

What I've chosen to do here is make use of specific channel routing
by using the mailertable feature but I can't remember if it's
even available in an older version of sendmail like Max is running.

My /etc/mail/mailertable looks like this ...

n7xss.heber.ampr.org smtp:[44.124.34.66]
heber.ampr.org       smtp:[44.124.34.36]
lksd.ampr.org        smtp:[44.124.32.4]

... these are the only smtp gateways within radiopath of 
my home qth (n7xss91). The square brackets mean "don't use MX records,
specifically use this IP address".

My linux box here is an internet gateway so all other destination 
addresses will do a DNS lookup for the MX record and follow a path 
via the internet interface ... if there *is* another node within my 
route to ax0 (the packet radio interface of course) and his DNS MX 
record is a 44.124.x.x number and *not* in my mailertable sendmail 
will try to use that address to deliver ... but success will depend 
entirely on the radio path.

Bottom line is that I put the machines that I know are running a 
smtp port and I know I have a good radio path to get there, in my
mailertable and bypass DNX MX records.

--
-= Brad Fisher =-                           I'm just   
internet: [EMAIL PROTECTED]                  a       
  packet: [EMAIL PROTECTED]            wanna be   
                                            UNIX guru!

Reply via email to