Index: [Article Count Order] [Thread]

Date:  Tue, 29 Jan 2008 08:24:13 +0100
From:  =?ISO-8859-1?Q?Ren=E9_M=F8lsted?= <molsted (at mark) iweb.dk>
Subject:  [coba-e:11825] Re: send mail to all users
To:  coba-e (at mark) bluequartz.org
Message-Id:  <C134367E-D75D-4700-8A2A-473058794CEC (at mark) iweb.dk>
In-Reply-To:  <009901c8622e$a4474150$1e64a8c0 (at mark) nuonce.net>
References:  <18e301c861c5$61fb7460$6302a8c0 (at mark) x2> <009901c8622e$a4474150$1e64a8c0 (at mark) nuonce.net>
X-Mail-Count: 11825

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