[BlueOnyx:03021] Re: List of all usernames

enid vx enidv11 at gmail.com
Mon Dec 7 07:09:59 -05 2009


Thank you Taco,

it shows exactly the list of usernames and their corresponding domains.

Best Regards,

Enid


On Mon, Dec 7, 2009 at 11:15 AM, Taco Scargo <taco at scargo.nl> wrote:

> Hi Enid,
>
>
> For your first request:
>
> clistuser -l | awk '{print $1}'
>
> If you want to know which site the users belong to, please use:
>
> for i in `clistuser -l | awk '{print $1}'`; do echo -n "$i : "; grep -e
> "^$i at .*###$i" /etc/mail/virtusertable| awk '{print $1}'; done
>
> Please replace ### with a tab. You can insert a tab on the prompt by
> pressing CTRL+V and then hit tab
>
> Regards,
>
> Taco
>
>
>
>
> On 7 dec 2009, at 09:12, enid vx wrote:
>
> Hello to all,
>
> Is there a way to find all usernames existing in the BO server, in the form
> username1
> username2
> username3 ....
>
> and/or
>
> username1 at domain1.com
> username2 at domain2.com
> username3 at domain3.com
>
> etc.
>
> Thanks,
>
> Enid
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx
>
>
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20091207/8681005d/attachment.html>


More information about the Blueonyx mailing list