451 Temporarily unable to process your email. Please try again later.
I was trying to send emails. The mails are sent out from my account. But It didn’t deliver. I am not sure what was the reason. I have checked my logs in the cPanel server. My mail server is exim. When I grepped the logs I have saw the following error message.
# grep 1RYqhH-002hK2-Ej /var/log/exim_mainlog
2011-12-09 11:00:27 1RYqhH-002hK2-Ej <= email@example.com
H=localhost (x1.oryon.net) [127.0.0.1] P=esmtpa A=dovecot_login:firstname.lastname@example.org S=951 email@example.com
2011-12-09 11:00:27 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1RYqhH-002hK2-Ej
2011-12-09 11:00:29 1RYqhH-002hK2-Ej == firstname.lastname@example.org R=dk_lookuphost T=dk_remote_smtp defer (-44): SMTP error from remote mail server after RCPT TO:
I have searched in google and I couldn’t find any possible solution. Then I have searched many possible solutions but ended up in tragedy. What is the final solution.????
The solution is simple. When you have tried to send mails if there was some issue with remote mail server to deliver mails it will give a remote SMTP error. Exim will store the same message in the exim_database. Even after the remote mail server issue is fixed the mails will be failed. When you are trying to send your mails will be sent out but it will remail in the exim queue with the above error message.
The only solution is to clear the exim database. Use the following commands to clear the exim database and then try to send mails. The issue is fixed.
After this run this command in the server.
]# /usr/sbin/exim_tidydb -t 1d /var/spool/exim reject
]# /usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp
Watch the junk dissappear. You will see loads of junk being deleted. A good thing! If you cPanel installation is relativly new you will see a few messages being removed. If your cPanel installation is more mature you may see hundreds of messages being removed.
After this restart your exim mail server.
Thats it the issue is fixed. Now try to send/receive mails from your domain it will be delivered fine.