[CentOS] sendmail config finding wrong relay

Laurent Blume
Wed, 30 Sep 2015 20:18:53 -0000

Le 2015/09/30 17:32 +0200, Jerry Geis a ?crit:
> Hi all,
>
> I set my sendmail.mc file to have a SMART_HOST entry of mail.xyz.com
> I do "make" and "service sendmail restart" ... I should
be good, but no. :)

As explained by others, SMART_HOST is used for domains for which it has
no information (basically, it can't find an MX or resolve the name).
If you want to relay all mail, you need to also add MAIL_HUB.

Laurent