Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Any way to add contact info belonging to the same domain?

Discussion in 'General Discussion' started by Kent Brockman, Aug 29, 2013.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello friends.

    Today I have a question regarding the contact email for individual domains. Given that you can specify two email addresses, and cpanel won't allow to set email addresses belonging to the same domain, is there any tweak or hack to allow to do this?

    I have several cases where one contact will have a gmail/hotmail/yahoo email account but the second contact email should belong to an account in the same domain. Can I perform this in any way? editing manually some file from the console maybe?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You could manually modify the contact email address in the following files:

    Code:
    /var/cpanel/users/$username
    /home/$username/.contactemail
    /home/$username/.cpanel/contactinfo
    
    Remember to run the following command after modifying the cPanel user file:

    Code:
    /scripts/updateuserdomains
    Note that the primary reason that you are not allowed to enter a contact email with the same domain name used on the account is because it may not function properly if the account is suspended or the account reaches it's disk space limit.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,189
    Likes Received:
    8
    Trophy Points:
    168
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    I know the reasons, but still there are a couple cases where they'll never reach its disk space limit nor get suspended, and this feature is highly needed because they don't use a different account in a daily basis. So, the "email all users" messages must arrive to accounts in their same domain.

    I'll give it a try. Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice