Displaying 3 results from an estimated 3 matches for "dssmtp".
Did you mean:
ssmtp
2019 Nov 22
7
sendmail on Centos 7.7
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
2019 Nov 22
0
sendmail on Centos 7.7
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
host smtp-relay.gmail.com
smtp-relay.gmail.com has address 64.233.176.28
smtp-relay.gmail.com has IPv6 address 2607:f8b0:4002:c02::1c
service sendmail restart again - and s...
2019 Nov 22
0
sendmail on Centos 7.7
...[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.