Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

server (main server hosts domain)

server 2 (hosts other sites and all) mail sends to and from just fine. however, if i send to an e-mail on SERVER from SERVER2 using the main domain site on SERVER i dont get it.


2012-06-08 08:35:34 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1ScyPd-001rYs-Qu
2012-06-08 08:35:34 1ScyPd-001rYs-Qu => DOMAINUSRNAME <> R=localuser T=local_delivery
2012-06-08 08:35:34 1ScyPd-001rYs-Qu Completed
2012-06-08 08:35:40 cwd=/etc/csf 4 args: /usr/sbin/sendmail -f -t
2012-06-08 08:35:40 1ScyPk-001rby-Me <= U=root P=local S=700 T="lfd on WHM/cPanel root access alert from" for

shows its sending but i never get it in my mailboxes on SERVER but SERVER gets mail from other remotes like hotmail ect... and SERVER2 sends just fine to places like HOTMAIL

share|improve this question
up vote 0 down vote accepted

Looks to me like server2 delivered it locally, because it believes it handles mail for server1domain.


is the giveaway.

I can only assume somewhere in the CPanel config, you're telling server2 that it's in the same domain as server1, and hence mail to @domain is being handled by server2.

Final fix: removing main domain from localdomains and adding to remotedomains.

share|improve this answer
I'm running CPanel and the domain that is on SERVER1 I also created on SERVER2 so could that maybe be the problem? I did see the under /etc/localdomains and in exim.conf i have domainlist local_domains = lsearch;/etc/localdomains – Tiffany Walker Jun 8 '12 at 13:59
Don't really understand your comment - but basically, I stand by what I'm suggesting, server2 believes it handles mail for the server1domain part of the mail address, and so it delivers it locally. – EightBitTony Jun 8 '12 at 14:01
So I need to find a way to change local delivery to remote or something? – Tiffany Walker Jun 8 '12 at 14:22
You need to tell server2 it does not handle the mail for server1's domain. It's hard to provide much more advice without knowing specifically the config and the domains in question. – EightBitTony Jun 8 '12 at 14:28
Wish I knew where CPanel kept all this stuff and what I was looking for. I never was the best at the e-mail side of things. At least I have something to start working with. But this is the exim config – Tiffany Walker Jun 8 '12 at 14:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.