1

I recently learned of the joys of square brackets with SMART_HOST to have sendmail ignore MX lookups. I need this functionality, however, I can't seem to make it persistant. Sending mail with -Am works, however, -bm does not. In the -Am case, the correct mail server is used. In the -bm case, an MX lookup is still being performed. Is there a way to disable MX lookups (or some working alternative)?

Thanks

1 Answer 1

1

You can use Sendmail's mailertables feature to override MX records on a per domain basis.

http://www.sendmail.org/m4/mailertables.html

1
  • didn't work. I tried doing ".bar.com smtp:[foo.bar.com]" (and numerous variations of) without luck. It still went to mx.bar.com
    – daniel
    Dec 22, 2010 at 21:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .