On 29/01/2008, at 5.23, Brian N. Smith wrote:
> Another option. A small BQ Script that reads all users and all
> virtual sites.
>
> http://www.nuonce.net/bq/get_user_email.txt
>
> Just "chmod +x" the file, and run it. It will show all users, and
> adds on the FQDN of the virtual site. For instance.
>
> user (at mark) www.domain.tld
>
> It just prints to the screen. You can paste it into notepad and
> search/replace the "www" if you wish. Or you can write your script
> around this to mass mail people.
Nice Brian.
If you want to remove the mail. or www. just add the following line(s):
$fqdn =~ s/www.//g;
$fqdn =~ s/mail.//g;
--
Rene