> Date: Friday, November 22, 2019 08:21:57 -0500 > From: Jerry Geis <jerry.geis@xxxxxxxxx> > > 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. [192.110.255.243], > > 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 SMART_HOST. > > Why is mail relay to mx203.inbound-mx.net ???? > > Nov 22 08:16:00 lsi001 sendmail[9286]: xAMDFxlA009286: to= > user.someone@xxxxxxxxx, ctladdr=root (0/0), delay=00:00:01, > xdelay=00:00:01, mailer=relay, pri=30197, relay=[127.0.0.1] > [127.0.0.1], 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@xxxxxxxxx>, ctladdr=<root@xxxxxxxxxxxxxxxxxxxxx> (0/0), > delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120519, relay= > mx203.inbound-mx.net. [192.110.255.243], dsn=2.0.0, stat=Sent > (Queued!) > > Thanks. How do find out why its going to the wrong place ? I would start by looking at the .cf file to make certain that it got written out correctly. You should find lines like: # "Smart" relay host (may be null) DSsmtp-relay.gmail.com If that looks right, then see what happens when you do dns queries for "smtp-relay.gmail.com" on that machine. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos