<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Hi Enid,<br><br></span>
</div><div><br class="webkit-block-placeholder"></div><div>For your first request:</div><div><br></div><div>clistuser -l | awk '{print $1}'</div><div><br></div><div>If you want to know which site the users belong to, please use:</div><div><br></div><div><div>for i in `clistuser -l | awk '{print $1}'`; do echo -n "$i : "; grep -e "^$i@.*###$i" /etc/mail/virtusertable| awk '{print $1}'; done</div><div><br></div><div>Please replace ### with a tab. You can insert a tab on the prompt by pressing CTRL+V and then hit tab</div><div><br></div><div>Regards,</div><div><br></div><div>Taco</div><div><br></div></div><div><br></div><div><br></div>
<br><div><div>On 7 dec 2009, at 09:12, enid vx wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello to all,<br><br>Is there a way to find all usernames existing in the BO server, in the form<br>username1<br>username2<br>username3 ....<br><br>and/or<br><br><a href="mailto:username1@domain1.com">username1@domain1.com</a><br>
<a href="mailto:username2@domain2.com">username2@domain2.com</a><br><a href="mailto:username3@domain3.com">username3@domain3.com</a><br><br>etc.<br><br>Thanks,<br><br>Enid<br>
_______________________________________________<br>Blueonyx mailing list<br><a href="mailto:Blueonyx@blueonyx.it">Blueonyx@blueonyx.it</a><br>http://www.blueonyx.it/mailman/listinfo/blueonyx<br></blockquote></div><br></body></html>