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!

where are the contact e-mail addresses located?

Discussion in 'E-mail Discussion' started by Ferdinant, Jun 18, 2007.

  1. Ferdinant

    Ferdinant Active Member
    PartnerNOC

    Joined:
    Mar 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    for a script for our customers I need to find in which file the mail addresses of each account are stored. I searched in the most common folders like /usr/local/cpanel and /var/cpanel but couldn't find them?

    Anybody got a clue? :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,761
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    Do you mean the contact address that users set in their control panel?

    They are located in:

    /home/<username>/.contactemail

    Where <username> refers to the username of the specific account on your server.

    You can get a list of the .contactemail files by running:

    find /home -maxdepth 2 -name .contactemail
     
  3. Ferdinant

    Ferdinant Active Member
    PartnerNOC

    Joined:
    Mar 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Sparek-3,

    A BIG THANKS! I searched a couple of hours but couldn't find it :)
     
    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