Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Jerry Geis
Hi John, >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 HEAY! This worked. Thanks so much everyone and John. Have a great weekend. Jerry

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Jerry Geis
See below: getent hosts smtp-relay.gmail.com 2607:f8b0:4002:c06::1c smtp-relay.gmail.com # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread John Pierce
On Fri, Nov 22, 2019 at 6:16 AM Jerry Geis 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 '.'

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Always Learning
On Fri, 2019-11-22 at 12:20 -0800, John Pierce wrote: > and, of course... > > $ host smtp-relay.gmail.com but ... the originator referred to smtp-relay.gmail.com.com (note the double "com") ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread John Pierce
and, of course... $ host smtp-relay.gmail.com smtp-relay.gmail.com has address 74.125.142.28 smtp-relay.gmail.com has IPv6 address 2607:f8b0:400e:c08::1c $ whois 74.125.142.28 ... NetRange: 74.125.0.0 - 74.125.255.255 CIDR: 74.125.0.0/16 NetName:GOOGLE NetHandle:

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Always Learning
On Fri, 2019-11-22 at 10:55 -0500, Stephen John Smoogen wrote: > [smooge@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. .w

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Barry Brimer
What does getent hosts smtp-relay.gmail.com show? What does your hosts line in /etc/nsswitch.conf show? On November 22, 2019 9:55:23 AM CST, Stephen John Smoogen wrote: >On Fri, 22 Nov 2019 at 08:22, Jerry Geis wrote: >> >> Hi All, >> >> I am 'trying' to set SMART_HOST in sendmail to point to

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Stephen John Smoogen
On Fri, 22 Nov 2019 at 08:22, Jerry Geis 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. > [192.110.255.243], > That is weird.. and from all the other posts I could

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Jerry Geis
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

Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread Richard
> Date: Friday, November 22, 2019 08:21:57 -0500 > From: Jerry Geis > > 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

[CentOS] sendmail on Centos 7.7

2019-11-22 Thread Jerry Geis
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