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.

Email account index?

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

  1. j0hnb

    j0hnb Member

    Joined:
    May 17, 2004
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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/*
     
Loading...

Share This Page