Want to subscribe to topics you're interested in?
Become a Member

8.5 out of 10 on mail-tester.com but cannot send to gmail addresses.

Discussion in 'Install & Upgrades or Pre-Install Questions' started by johnnyc, Jan 14, 2022.

  1. johnnyc

    johnnyc Member

    40
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    1:36 PM
    1. Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.08stable or 123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • PHP Version Installed: i.e. 5.6.37, 7.0.31, 7.1.21, 7.2.9
    • MariaDB MySQL Version Installed: i.e. 10.0.x or 10.1.xx or 10.2.xx
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      cat /etc/centminmod/custom_config.inc
      

      Post output in CODE tags.
    Centos 7.9 - beta 09 branch
    latest versions of everything nginx 1.21.5 / php 7.4.6


    sent a test email to mail-tester.com, got a 8.5 rating.

    I cannot send email to GMAIL servers however. I can only send email to Yahoo successfully,

    Jan 13 22:27:51 server sendmail[17337]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-ECDSA-AES128-GCM-SHA256, bits=128/128
    Jan 13 22:27:51 server sendmail[17337]: 20DMRo5R017335: to=<test@hou-re.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=124532, relay=gmail-smtp-in.l.google.com. [142.250.138.27], dsn=5.0.0, stat=Service unavailable
    Jan 13 22:27:51 server sendmail[17337]: 20DMRo5R017335: 20DMRp5R017337: DSN: Service unavailable
    Jan 13 22:27:52 server sendmail[17337]: STARTTLS=client, relay=mta6.am0.yahoodns.net., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
    Jan 13 22:27:52 server sendmail[17337]: 20DMRp5R017337: to=<nemagx@yahoo.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=35788, relay=mta6.am0.yahoodns.net. [67.195.228.106], dsn=2.0.0, stat=Sent (ok dirdel)


    What am I doing wrong?
     
  2. cloud9

    cloud9 Premium Member Premium Member

    227
    69
    28
    Oct 6, 2015
    England
    Ratings:
    +106
    Local Time:
    7:36 PM
    1.21.5
    10.3.32
    It looks like a certificate error - google is probably more strict than yahoo, notice both have verify=FAIL in the first line.

    Wat certificates are you using ? How did you install them ? Have you also set up spf and dkim records ?
     
  3. johnnyc

    johnnyc Member

    40
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    1:36 PM

    Thank you, How do I setup certificates? What certificates exactly? I'm using Sendmail on centmin beta 09 branch (fully updated)

    I DID setup dkim, but it wasn't working properly for whatever reason, so I disabled it (removed it from sendmail.mc and recomplied) to test if the emails would go through to gmail, they still go through to yahoo and 8.5 mail score unchanged.. I also do have a DMARC records in my .zone file, however mail-tester.com always says I do not have a dmarc record, which is frustrating and I do not understand.
     
  4. johnnyc

    johnnyc Member

    40
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    1:36 PM
    you don't mean SSL certificates by certificates? I do have OPENSSL certificates generated, but i wasn't aware sendmail used SSL protocols?
     
  5. cloud9

    cloud9 Premium Member Premium Member

    227
    69
    28
    Oct 6, 2015
    England
    Ratings:
    +106
    Local Time:
    7:36 PM
    1.21.5
    10.3.32
    Its being rejected by google as verify has failed - looks due to SSL/TLS

    Im not a mail expert at all - have you got lets encrypt certificates and set all that up ?
     
  6. Meirami

    Meirami Active Member

    152
    27
    28
    Dec 21, 2017
    Ratings:
    +62
    Local Time:
    9:36 PM