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.

Disabling email completely for an account/domain?

Discussion in 'E-mail Discussions' started by movielad, Nov 3, 2004.

  1. movielad

    movielad Well-Known Member
    PartnerNOC

    Joined:
    May 14, 2003
    Messages:
    107
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Is there a way of completely disabling email for an account to the extent that the domain is not picked up in Exim as a local domain? Short of setting up forwarding, I can't see an easy way of doing this without much fiddling.
     
  2. DWHS.net

    DWHS.net Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,569
    Likes Received:
    6
    Trophy Points:
    38
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    I have seen this several times but no real answer has come from it.

    You can change the mx zone to point into to nowhere but it's really not a solution. Especially since users can change it back if they know what's going on.

    I would recommend suggesting it to cpanel for a new option. :)
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well, what you can do is to move the domain from /etc/localdomains to /etc/remotedomains. This will prevent exim from treating the email as local mail. You can redirect the MX record, the only problem with this is that the SMTP protocol does allow for fallback to the A record for the domain if the MX record doesn't work. If moving them from local to remote domains doesn't work, then a simple custom Exim ACL would.
     
Loading...

Share This Page