[CentOS] sendmail on Centos 7.7

John Pierce

jhn.pierce at gmail.com
Fri Nov 22 20:45:07 UTC 2019

On Fri, Nov 22, 2019 at 6:16 AM Jerry Geis <jerry.geis at gmail.com> wrote:

> Great thought to check the generated file.
> It looks OK.
> grep gmail sendmail.*
> sendmail.cf:DSsmtp-relay.gmail.com
> sendmail.cf.bak:DSsmtp-relay.gmail.com
> sendmail.mc:define(`SMART_HOST', `smtp-relay.gmail.com') dnl

maybe add a '.' to the end of the host name?  that prevents it from
applying assumed default domains to it

like this:

define(`SMART_HOST', `smtp-relay.gmail.com.') dnl

More information about the CentOS mailing list