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.

where are the contact e-mail addresses located?

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

  1. Ferdinant

    Ferdinant Active Member
    PartnerNOC

    Joined:
    Mar 1, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    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:
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    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:
    6
    Sparek-3,

    A BIG THANKS! I searched a couple of hours but couldn't find it :)
     
Loading...

Share This Page