Nico

Well-Known Member
Dec 5, 2001
232
0
316
Edmond, OK
We have a client using Bigmaibox.com for email.
the problem is in order for the form results to be delivered to the correct email address the domain needs to be commented out of /etc/localdomains and for some reason Cpanel will add another entry for the domain making the form results be delivered to the local inbox.
Is there a way to prevent this?
 

Nico

Well-Known Member
Dec 5, 2001
232
0
316
Edmond, OK
[quote:d9212956ff][i:d9212956ff]Originally posted by DaveDark[/i:d9212956ff]

If you want to lock /etc/localdomains use #chattr +i /etc/localdomains[/quote:d9212956ff]


Will that keep new domains from being wriiten to the file afterwards? If so, will that create any problems?
 

Juanra

Well-Known Member
Sep 22, 2001
777
0
316
Spain
[quote:863f0e40d9][i:863f0e40d9]Originally posted by Nico[/i:863f0e40d9]

We have a client using Bigmaibox.com for email.
the problem is in order for the form results to be delivered to the correct email address the domain needs to be commented out of /etc/localdomains and for some reason Cpanel will add another entry for the domain making the form results be delivered to the local inbox.
Is there a way to prevent this?[/quote:863f0e40d9]

Is this a bug of cpanel?
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
Yea it is actually--
Seems that somebody mentioned this mechanism before, is there a flag somewhere or cpanel user profile modification that you can put in to prevent a local domain from being added back into /etc/localdomains?


This information would be good to know- if this is posted elsewhere please let myself as well as the others know about it.

Thanks!

;)
 

snowgod

Well-Known Member
Sep 23, 2001
70
0
306
I summited a patch for this some time ago. Nick already has it in bugzilla.

See http://web.cpanel.net/bugzilla/show_bug.cgi?id=228

I submitted a patch that creates a /etc/remotemx file which is a list of domains to exclude from /etc/localdomains

Just to clearify: Nick has not patched this into cpanel yet.
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
Thank you very, very, very much
have a great night snow-person
:p