Adding domains to MX Filter list deletes

jetnet

Active Member
Jun 30, 2004
28
0
151
We have a MX filter host setup that works like a champ to filter out SPAM and viruses, and for the domains that we host as well, we go into CPanel and change the MX record for the domain to point at our filter. The filter does its job and filters the email, and then the filter knows to send it back to us. But when it gets there, it bounces.

After some leg work we found out that it was deleting the domain out of /etc/localdomain. And all we had to do was add that back in there. Is there a way to STOP cpanel from deleting that out of the localdomain folder?

The reason why I ask is, because we get it all fix, and thats great, but then a week to a month later, it randomly deletes it again. And usually when someone is not watching, it will cause LOTS of problems.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
You need to remove the domain from /etc/remotedomains and then put it back into /etc/localdomains. The cPanel MX script adds it automatically to remotedomains because that is what is usually required, but in your case it isn't.
 

jetnet

Active Member
Jun 30, 2004
28
0
151
Ahhhhh... So if they are not there, it will stop removing them? That will help out a LOT.