Email account index?

j0hnb

Member
May 17, 2004
24
0
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
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
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/*