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.

can you remove the main domain on a account from the /etc/localdomains

Discussion in 'Security' started by DWHS.net, Feb 22, 2010.

  1. 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\'ve got contact form script on dom-v-anape.ru, which sends email to my domains email.

    The script works correctly, but emails are sending in \"nowhere\". I think, sendmail \"thinks\" that my domain is a local domain.

    Is it possible to remove my domain from /etc/localdomains file on server, or solve this problem in any other way?

    Basically can you remove the main domain on a account from the /etc/localdomains file?

    Or do you know a way to fix the google apps error.

    Thanks,

    Charles
     
  2. ffeingol

    ffeingol Well-Known Member
    PartnerNOC

    Joined:
    Nov 9, 2001
    Messages:
    215
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    DataCenter Provider
    Normally you just need to change the DNS to have the proper MX record (I'm assuming you are not using the servers DNS). Once you have the MX set properly It should properly set the domain as remote mail.
     
Loading...

Share This Page