> Max wrote:
> > 
> > Anyone have any ideas to make sendmail work without MX records, but still
> > use DNS ?, I'm sure other amprnet sites must have come up with a solution.
> 
> Once upon a time, sendmail would automaticaly fall back to A records when
> no MX were present. My (old) O'Reilly Sendmail book indicates that behavior
> is not configurable (it should always happen). I don't know when sendmail
> stopped behaving that way, because I switched to qmail ( http://www.qmail.org )
> several years ago. A quick test here shows that qmail still tries A records
> where MX are not available.

Define your local hub as your "smarthost". Your sendmail then knows it
only has to deliver to the "smarthost" not attempt to deliver to either
the final destination or an MX defined host.

If you use the M4 macro method of building sendmail.cf then add:

define(`SMART_HOST', `smtp:<smart host name>')dnl

into your M4 configuration definition file.
 
This of course assumes (dangerous) the local hub is a "smarthost".

This is how I have configured sendmail here. External bound mail is
delivered to my ISP and the ISP mail hub does the rest.
 
-- 
Regards
        Richard
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My opinions are mine, all mine. None to spare for unopinionated masses.
This message comes from a WinTel free zone.   CPU = Cyrix,  OS = Linux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to