OT: How to configure sendmail to use a specific IP address instead of MX record value

Les Mikesell lesmikesell at gmail.com
Tue Nov 14 17:45:43 UTC 2006


On Tue, 2006-11-14 at 09:46 -0500, Patrick Doyle wrote:
> Thank you to all who replied to this.  For some reason, gmail seems to
> have misplaced some of the replies (which I read, but can no longer
> find).
> 
> Anyway, setting the SMART_HOST, and installing sendmail-cf, solved my problem.
> 
> I should have thought about using SMART_HOST to configure my box to
> just forward through the company's SMTP server, but I had monkey-mind
> and was fixated on just trying to figure out how to convince sendmail
> to use a specific IP address for mycompany.com instead of looking up
> the MX record for it.

Since you didn't quote the solution you used, I'll point out that
the syntax to avoid MX lookups is to enclose a hostname or IP
address in []'s.

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the users mailing list