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" /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
> 
> [email protected]
> [email protected]
> [email protected]
> 
> etc.
> 
> Thanks,
> 
> Enid
> _______________________________________________
> Blueonyx mailing list
> [email protected]
> http://www.blueonyx.it/mailman/listinfo/blueonyx

_______________________________________________
Blueonyx mailing list
[email protected]
http://www.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to