|
Re: lug-bg: Mass e-mail
- Subject: Re: lug-bg: Mass e-mail
- From: v_valchev@xxxxxxxxxx (Valentin Valchev)
- Date: Mon, 21 Jan 2002 17:53:55 +0200
eto go na edin red + proverka za id>500 ;):
awk -F: '{if ($3>500) print $1"@hostname.com"}' /etc/passwd |sort
---------------------------------------------------------------
ProSyst Bulgaria Ltd. Valentin Valchev
48 Vladajska Str. Project Manager
Sofia 1606, Bulgaria Dept: mBedded Server/Broadband
http://www.prosyst.com/ Phone: +359 (2) 9523581-107
---------------------------------------------------------------
Leading Software Technology for Open Service Gateways
----- Original Message -----
From: George Danchev
To: lug-bg@xxxxxxxxxxxxxxxxxx
Sent: Monday, January 21, 2002 5:27 PM
Subject: Re: lug-bg: Mass e-mail
On Monday 21 January 2002 16:59, you wrote:
> ima reshenie ... neznam dali e nai dobroto zastoto e swurzano s malko
> prepiswane na useri ... ama s edin dobur regulqren izraz prilozen na passwd
> sichko stawa dosta lesno ......
#!/bin/bash
awk -F: '{print $1}' /etc/passwd | sort > usernames
for user in `cat usernames` ; do
echo "$user@xxxxxxxxxxxx" >> usermails
done
>
> procheti ot http://www.lcpe.uni-sofia.bg/~vlk/Documentation/Book/
> w faila sendmail-receive.html nadqwam se che Veselin Kolev: awtora na tozi
> naruchnik nqma da ima nisto protiw
>
> ogledai wutre ima tochno takuw realiziran primer ....
primera si zasluzhava. da.
--
Greets,
fr33zb1
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|