How do I fix this error?

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
I have a problem that this problem appears when the user tries to reset the password on this site: https://mysite.com

It seems that the message is not arriving and I checked the mail it gives me this error:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
all hosts for 'gmail.com' have been failing for a long time (and retry time not reached)
Reporting-MTA: dns; SC207-S11.local.localhost

Action: failed
 

Attachments

Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,700
1,858
363
cPanel Access Level
Root Administrator
Hey there! The most likely issue is with the DNS or resolvers on your machine. Can you try running this command from your server?

Code:
telnet gmail-smtp-in.l.google.com 25
With the situation you describe, that will likely fail. If so, I'd recommend adjusting the /etc/resolv.conf file on your server to use the Google public resolvers, so the file looks like this, commenting out other lines or making a backup before you make changes:

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
and then running these commands to clear the Exim retry database:

Code:
/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null
After that you can try sending the message again and you can see if you get a different result or if there are still errors.
 

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
Hey there! The most likely issue is with the DNS or resolvers on your machine. Can you try running this command from your server?

Code:
telnet gmail-smtp-in.l.google.com 25
With the situation you describe, that will likely fail. If so, I'd recommend adjusting the /etc/resolv.conf file on your server to use the Google public resolvers, so the file looks like this, commenting out other lines or making a backup before you make changes:

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
and then running these commands to clear the Exim retry database:

Code:
/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null
After that you can try sending the message again and you can see if you get a different result or if there are still errors.
where i running this command?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,700
1,858
363
cPanel Access Level
Root Administrator
Do you have root access to the server this user is hosted on? If so, you would run that from the SSH terminal as the root user.

If you don't have full root access, you would need to reach out to your hosting provider for additional information on what could be causing that error, as you'll need root access to check the logs and troubleshoot the issue.
 

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
Do you have root access to the server this user is hosted on? If so, you would run that from the SSH terminal as the root user.

If you don't have full root access, you would need to reach out to your hosting provider for additional information on what could be causing that error, as you'll need root access to check the logs and troubleshoot the issue.
Yes i have but i use Terminal and it give me telnet: command not found
 

Spirogg

Well-Known Member
Feb 21, 2018
700
157
43
chicago
cPanel Access Level
Root Administrator
I have a problem that this problem appears when the user tries to reset the password on this site: https://mysite.com

It seems that the message is not arriving and I checked the mail it gives me this error:
This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
all hosts for 'gmail.com' have been failing for a long time (and retry time not reached)
Reporting-MTA: dns; SC207-S11.local.localhost

Action: failed
says no reverse dns in your photo
can you ask your hasting or server provider to create reverse PTR records.
in your image it says the PTR records don't match so you won't get emails sent.
tell them you need correct PTR records show them that photo. who ever owns the IP address you rent from they can do this

Spiro
 
Last edited:

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
Hey there! The most likely issue is with the DNS or resolvers on your machine. Can you try running this command from your server?

Code:
telnet gmail-smtp-in.l.google.com 25
With the situation you describe, that will likely fail. If so, I'd recommend adjusting the /etc/resolv.conf file on your server to use the Google public resolvers, so the file looks like this, commenting out other lines or making a backup before you make changes:

Code:
nameserver 8.8.8.8
nameserver 8.8.4.4
and then running these commands to clear the Exim retry database:

Code:
/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null
After that you can try sending the message again and you can see if you get a different result or if there are still errors.
this did not fix the problem bro
 

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
The telnet command isn't designed to fix the issue, but that is a tool that will tell us if your server can reach the Gmail network normally. What was the output from that command?
[[email protected] ~]# telnet gmail-smtp-in.l.google.com 25
Trying 173.194.79.26...
telnet: connect to address 173.194.79.26: Connection timed out
Trying 2a00:1450:4013:c06::1b...
telnet: connect to address 2a00:1450:4013:c06::1b: Network is unreachable
 

quietFinn

Well-Known Member
Feb 4, 2006
1,668
341
438
Finland
cPanel Access Level
Root Administrator
I'd say that the resolver is working, gmail-smtp-in.l.google.com resolves to 173.194.79.26 . and that is Google IP.
Code:
[[email protected] ~]# telnet 173.194.79.26 25
Trying 173.194.79.26...
Connected to 173.194.79.26.
Escape character is '^]'.
220 mx.google.com ESMTP p12-20020a170906a00c00b006d05b06be05si158205ejy.979 - gsmtp
For me it looks like outgoing port 25 is closed.

@abasobito are you able to send emails to any address?
 

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
I'd say that the resolver is working, gmail-smtp-in.l.google.com resolves to 173.194.79.26 . and that is Google IP.
Code:
[[email protected] ~]# telnet 173.194.79.26 25
Trying 173.194.79.26...
Connected to 173.194.79.26.
Escape character is '^]'.
220 mx.google.com ESMTP p12-20020a170906a00c00b006d05b06be05si158205ejy.979 - gsmtp
For me it looks like outgoing port 25 is closed.

@abasobito are you able to send emails to any address?
no i can't
 
Last edited:

Spirogg

Well-Known Member
Feb 21, 2018
700
157
43
chicago
cPanel Access Level
Root Administrator
no i can't
@abasobitoI

it seems as if port 25 is open

INSTRUCTIONS
  1. Type the following command: telnet example.com 25
  2. View Results:
  3. Code:
    If Port 25 is not blocked, you will get a successful 220 response (text may vary).Trying 64.13.192.208...
    Connected to example.com.
    Escape character is '^]'.
    220 cl34.gs01.gridserver.com ESMTP Exim 4.63 Tue, 24 Jun 2008 13:45:04 -0700
  4. Code:
    If Port 25 is blocked, you will get a connection error or no response at all. Trying 64.13.192.208...
    telnet: connect to address 64.13.192.208: Connection refused
    telnet: Unable to connect to remote host

seems your port 25 is Open.
 

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
@abasobitoI

it seems as if port 25 is open

INSTRUCTIONS
  1. Type the following command: telnet example.com 25
  2. View Results:
  3. Code:
    If Port 25 is not blocked, you will get a successful 220 response (text may vary).Trying 64.13.192.208...
    Connected to example.com.
    Escape character is '^]'.
    220 cl34.gs01.gridserver.com ESMTP Exim 4.63 Tue, 24 Jun 2008 13:45:04 -0700
  4. Code:
    If Port 25 is blocked, you will get a connection error or no response at all. Trying 64.13.192.208...
    telnet: connect to address 64.13.192.208: Connection refused
    telnet: Unable to connect to remote host

seems your port 25 is Open.
[[email protected] ~]# telnet example.com 25
Trying 93.184.216.34...
telnet: connect to address 93.184.216.34: Connection timed out
Trying 2606:2800:220:1:248:1893:25c8:1946...
telnet: connect to address 2606:2800:220:1:248:1893:25c8:1946: Network is unreachable
 

Spirogg

Well-Known Member
Feb 21, 2018
700
157
43
chicago
cPanel Access Level
Root Administrator
[[email protected] ~]# telnet example.com 25
Trying 93.184.216.34...
telnet: connect to address 93.184.216.34: Connection timed out
Trying 2606:2800:220:1:248:1893:25c8:1946...
telnet: connect to address 2606:2800:220:1:248:1893:25c8:1946: Network is unreachable
SORRY this was Example

when I do from my sever telnet its the same as yours.

- so what I meant was. it's working your port 25 is OK Open


Code:
THIS IS FROM MY SERVER TEST

Same as You 


[[email protected] ~]# telnet 173.194.79.26 25
Trying 173.194.79.26...
Connected to 173.194.79.26.
Escape character is '^]'.
220 mx.google.com ESMTP q8-20020a170906770800b006b7faebc433si877569ejm.853 - gsmtp
 

abasobito

Active Member
Jul 15, 2020
32
1
8
iraq
cPanel Access Level
Root Administrator
when you go to WHM Home »Email »Email Deliverability

are there any errors ?
yes, there is

for
DKIM , SPF

This system does not control DNS for the “sc207-s11.local.localhost” domain and the system did not find any authoritative nameservers for this domain. You can install the suggested “DKIM” record locally. However, this server is not the authoritative nameserver. If you install this record, this change will not be effective. Contact your domain registrar to verify this domain’s registration.