LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vpopmail - how to get the list of "existing" email accounts (https://www.linuxquestions.org/questions/linux-newbie-8/vpopmail-how-to-get-the-list-of-existing-email-accounts-750032/)

thetotzky04 08-25-2009 01:44 AM

vpopmail - how to get the list of "existing" email accounts
 
vpopmail - how to get the list of "existing" email accounts in a domain

excluding group email accounts

any help will be appreciated..

I have tried this command but is it possible to exclude the "group" email accounts

find /home/vpopmail/domains/amdatex.com -name "*.qmail*"

thegeek 10-22-2009 09:05 AM

you could perhaps use find /path -iregex .*qmail$ | grep -v "group"

assuming that all the group files have the word group in them !

More examples here:

http://winunixmac.com/unix-how-tos/5...r-linux-system


All times are GMT -5. The time now is 01:11 PM.