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!

Email account index?

Discussion in 'E-mail Discussion' started by j0hnb, Jul 11, 2006.

  1. j0hnb

    j0hnb Member

    Joined:
    May 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    151
    Is there a way that I can see all the email accounts that are on my server? Or a default storage location for the addresses in the users files that I can use to pull out all the accounts on that domain. In short I just need a way to dump all the email accounts so I can have a complete list of all hosted emails. Thanks

    -John Banks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    The accounts are listed in /home/username/etc/domain.com/passwd

    You could get the passwd files with:

    find /home/*/etc/*/passwd

    You may want to add aliases too from /etc/valiases/*
     
    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