Unrouteable address on exim – cPanel

On a cPanel server we were facing problems while sending mails it was giving the below errors:

2009-01-29 15:58:22 1LSYLW-0005Is-8d <= root@hostname.com U=root P=local S=377
2009-01-29 15:58:22 1LSYLW-0005Is-8d ** user@domain.com: Unrouteable address

The solution for this issue is find if the domains entry is present within /etc/localdomains , /etc/userdomains and /etc/trueuserdomains . If the domains entry is missing in any of the file – do add the domain within the files.

Also, make sure that the domains entry is in the /etc/valiases/domain.com , if this file is blank do add the line:

*: username

Then, you can test the mail from your server using the command line:

root# mail -s "Test Mail" user@domain.com

Here are the exim logs, which says the delivery is completed.

2009-01-29 16:06:39 1LSYTX-0007Jo-6D => user <user@domain.com> R=virtual_user T=virtual_userdelivery
2009-01-29 16:06:39 1LSYTX-0007Jo-6D Completed

That’s it.

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.

Leave a Reply

Your email address will not be published. Required fields are marked *