Local Delivery when it shouldn't be

dragon2611

Well-Known Member
Nov 30, 2003
124
0
166
I've noticed on a couple of domains now i've not been getting emails that are generated from scripts running on the server, It seems that the server was locally delivering to the mailbox on itself.

However when the MX entries were entered the box in dns zone editor was unticked so that it would not happen and it *was* working fine up until recently.


In fact in the case of one of the domains all I had to do was open up the DNS zone editor, make no changes and hit Save and it was fixed

Although I'd be interested to know why the system suddenly decided to re-enable that domain for mail :confused: (Didn't affect email originating from outside the server as obviously that would pay attention to the MX)
 

dragon2611

Well-Known Member
Nov 30, 2003
124
0
166
The real question being how it ended up in the local domains file in the first place since it was previously configured as a remote domain.
 

eth00

Well-Known Member
PartnerNOC
Mar 30, 2003
721
1
168
NC
cPanel Access Level
Root Administrator
The domain is probably in /etc/localdomains, it needs to be removed and added to /etc/remotedomains . That will tell the server to send any email that is sent to that domain elsewhere instead of locally