[CentOS] sendmail on Centos 7.7

Stephen John Smoogen

smooge at gmail.com
Fri Nov 22 15:55:23 UTC 2019

On Fri, 22 Nov 2019 at 08:22, Jerry Geis <jerry.geis at gmail.com> wrote:
> Hi All,
> I am 'trying' to set SMART_HOST in sendmail to point to smtp-relay.gmail.com
> but when looking at the /var/log/maillog its going to mx203.inbound-mx.net.
> [],

That is weird.. and from all the other posts I could find on google
about this domain not good. I am not sure who 'owns' this domain but
it only shows up in malware posting and similar spaces. And here is

[smooge at smoogen-laptop ~]$ host -t MX smtp-relay.gmail.com.com
smtp-relay.gmail.com.com mail is handled by 10 mx203.inbound-mx.org.
smtp-relay.gmail.com.com mail is handled by 10 mx203.inbound-mx.net.

so something is adding another .com to your domain lookup. I would
check the resolv.conf, your dns server or the configs elsewere

> why???
> my line from sendmail.mc
> define(`SMART_HOST', `smtp-relay.gmail.com')
> I did make in /etc/mail and service sendmail restart
> This is the only SMART_HOST in the config file. I started with the default
> CentOS 7.7 sendmail.mc and have not added anything else. just changed teh
> Why is mail relay to mx203.inbound-mx.net ????
> Nov 22 08:16:00 lsi001 sendmail[9286]: xAMDFxlA009286: to=
> user.someone at gmail.com, ctladdr=root (0/0), delay=00:00:01,
> xdelay=00:00:01, mailer=relay, pri=30197, relay=[] [],
> dsn=2.0.0, stat=Sent (xAMDFxjQ009287 Message accepted for delivery)
> Nov 22 08:16:00 lsi001 sendmail[9289]: STARTTLS=client, relay=
> mx203.inbound-mx.net., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA,
> bits=256/256
> Nov 22 08:16:01 lsi001 sendmail[9289]: xAMDFxjQ009287: to=<
> user.someone at gmail.com>, ctladdr=<root at machine.somewhere.com> (0/0),
> delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120519, relay=
> mx203.inbound-mx.net. [], dsn=2.0.0, stat=Sent (Queued!)
> Thanks. How do find out why its going to the wrong place ?
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos

Stephen J Smoogen.

More information about the CentOS mailing list