Web Hosting Talk







View Full Version : mail routing


labahost
10-26-2004, 03:22 PM
I have one client on CPanel server which routes all of his mail to another mail server (exim) if the e-mail comes from another server it goes well, but if e-mail is from my server it doesn't reach destination, what should I do to fix it? (MX record on my server DNS directs to clients exim server)

linuxmav
10-26-2004, 04:02 PM
remove the domain from /etc/localdomains

labahost
10-27-2004, 02:30 AM
But wouldn't it break other things in CPanel regarding this domain?

Veghost
10-27-2004, 12:44 PM
No, it shouldn't.

labahost
10-27-2004, 03:55 PM
Originally posted by linuxmav
remove the domain from /etc/localdomains

I'm afraid it hasn't worked, I removed that domain name and restarted exim, but I still can't send e-mails from my server.

coight
10-27-2004, 03:56 PM
Remove it from /etc/localdomains and add it to /etc/remotedomains

labahost
10-27-2004, 05:58 PM
Originally posted by coight
Remove it from /etc/localdomains and add it to /etc/remotedomains
I'm afraid it still doesn't work. The error is still " unrouteable mail domain"

coight
10-28-2004, 02:16 AM
dig domain.com post the output.

labahost
10-28-2004, 03:50 AM
Originally posted by coight
dig domain.com post the output.

But how to show mx output in dig command?

Veghost
10-28-2004, 03:43 PM
dig mx mydomain.com

labahost
10-29-2004, 02:57 AM
I've checked MX record is sat correctly to MS exchange mail server. (Otherwise it would be difficult to send e-mails from outside my server, but now it's possible)