mail on another server, problems with /etc/localdomains

apogee

Well-Known Member
Nov 8, 2004
122
11
168
Europe
cPanel Access Level
DataCenter Provider
Hello,

I know, my question are not new, I have found the answer in this forum but I can't find it again :( so I must ask again.

One client have his own exchange server, i have changed the mx records and removed his domain name from /etc/localdomains, everything works fine BUT if I run Main >> Email >> Rebuild/Fix Mail Dbs/Boxes the domain ar added again to /etc/localdomains.

How can i prevent this?
I've checked out the /etc/remotedomains,v but I think this is the wrong way

If anybody have a link to the old thread, plz post and I will remove this thread asap

thanks
 
Last edited:

asmar

Well-Known Member
Jul 16, 2004
135
0
166
Hi apogee,

Would you please let me know what is the procedure to point the email server in a different machine (without cpanel). Any url's will be great.

Thanks
 

apogee

Well-Known Member
Nov 8, 2004
122
11
168
Europe
cPanel Access Level
DataCenter Provider
asmar said:
Would you please let me know what is the procedure to point the email server in a different machine (without cpanel). Any url's will be great.
Hi, my way:
1. Mod your MX in the DNS zonefile and point the mail A entry to the exchange server
2. Remove domain from /etc/localdomains
2. Add this domain to /etc/remotedomains (u must create this file)

done (I hope)

thanks to chirpy for his tipp