I was getting below error message while sending emails -
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: ####@gmail.com
Domain ****.com has outgoing email disabled.
Reporting-MTA: dns; hostname.com
Action: failed
Final-Recipient: ####@gmail.com
Status: 5.0.0
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: ####@gmail.com
Domain ****.com has outgoing email disabled.
Reporting-MTA: dns; hostname.com
Action: failed
Final-Recipient: ####@gmail.com
Status: 5.0.0
Solution:
1. Check if the domain is suspended or not.
2. Check if user of the domain is suspended in the file: /etc/outgoing_mail_suspended_users
If you will find the entry then please remove it and try to send emails. It will work!
2. Check if user of the domain is suspended in the file: /etc/outgoing_mail_suspended_users
If you will find the entry then please remove it and try to send emails. It will work!