Sendmai, SMART_HOST, and MX Records. Oh my!
Is there some way to make sendmail disregard MX record when sending to a SMART_HOST?
The issue is we have our main mail cluster, named mxhost1. It is the MX host in dns for all internal systems.
We have a special one for some of the system called mxhost3. On some hosts we specify mxhost3 as the SMART_HOST.
On the special servers I run "sendmail -bv someemailaddress". It returns that it will relay through mxhost3.
Here is where the problem comes up. Rather than go off the SMART_HOST setting exclusively, sendmail sees that mxhost1 is the MX host for mxhost3.
Is this expected behavior? This cost me several hours today debugging this and it seems like a silly thing to essentially over ride the SMART_HOST setting.