Server can not send email !

voltan

New member
Joined
Dec 6, 2016
Messages
5
On my server , when users try send mail, we have error like this :

Code:
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]
    retry time not reached for any host after a long failure period
Reporting-MTA: dns; cloud1.faragostaresh.com

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0

but users can receive email without problem , I use centos 7 , any dns record needed on my main domian?
 
Hello,

It seems as if outgoing connections to TCP:25 are blocked either on your server or at your server provider's side. If you use a firewall try and disable it and then send an email to any remote address.

Are all addresses failing? Or only Gmail?
 
Hello
Thank you for your reply

I check server firewall, port 25 is open on it , and for more test I disable firewall ( csf ) and send two mails , one to gmail and other to our main domain ( info[at]faragostaresh[dot]com ) , both of them not received , but send mail from to account on server work

I have this message as mail by this subject and body

subject : Mail delivery failed: returning message to sender

Code:
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:

  info[at]faragostaresh[dot]com
    retry timeout exceeded
Reporting-MTA: dns; cloud1.faragostaresh.com

Action: failed
Final-Recipient: rfc822;info[at]faragostaresh[dot]com
Status: 5.0.0
 
1. make sure DNS works fine and external domains resolve on your server.

2. if DNS works fine, and the issue still persists, try and send to mail-tester.com (https://www.mail-tester.com/)

3. if DNS works fine and sending to mail-tester.com fails, then contact your VPS provide for further assistance.
 
Can you please tell me which dns record needed? I have main domain and have some vps / servers . all of them use this domain name servers

But just on this server , I setup domain and set record on domain
 
I did not write a word about changing DNS settings. I suggested that you should make sure that domain resolving from your server is working fine. That's up to you to find details on how to test it. So please test domain resolving on your serer (via SSH or virtual console). If it's something that frighten you, I highly recommend contacting a VPS provider for a help.

Regards,
Alex.
 
Also, checking port open on CSF doesn't mean that your provider is not blocking port 25.
Use telnet from SSH or virtual console to try to connect to an external mail server on port 25 to see if that's working and your VPC Provider is not blocking the port.

Best regards
 
Back
Top