Re: Sendmail without MX records

From: Richard Stearn (soqb.deqbipiadd@kcom.com)
Date: Wed Aug 02 2000 - 23:16:23 EEST

  • Next message: Barrett, Peter G: "RE: Soundmodem problem"

    > 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.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    



    This archive was generated by hypermail 2b29 : Thu Aug 03 2000 - 04:58:46 EEST