The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding domains to MX Filter list deletes

Discussion in 'General Discussion' started by jetnet, Aug 26, 2006.

  1. jetnet

    jetnet Active Member

    Joined:
    Jun 30, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
  3. jetnet

    jetnet Active Member

    Joined:
    Jun 30, 2004
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Ahhhhh... So if they are not there, it will stop removing them? That will help out a LOT.
     
Loading...

Share This Page