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.

Disable email for an account

Discussion in 'E-mail Discussions' started by netphil, May 7, 2008.

  1. netphil

    netphil Registered

    Joined:
    May 7, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Is it possible to disable the email for an account and just have the web hosting? The domain has an exchange server with MX records set to that. The problem is that any mail sent from the server stays on the server as the server thinks the mails local. I want to disable the email for the domain so that mail gets sent to the correct place.

    Cheers
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    Remove the domain from /etc/localdomains and Add the domain into /etc/remotedomains. This will prevent local storage and seek the external mx records.
     
  3. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Do you run WHM11? Check out local DNS entry for that domain also and update with correct MX information. When you will save it, WHM should automatically remove domain information from /etc/localdomains and put it to /etc/remotedomains. Also make sure, that your server is not listed as first one in /etc/resolv.conf, so that outgoing emails would get correct, worldwide, MX information.
     
Loading...

Share This Page