procmail
[Top] [All Lists]

Mailing to all users

1998-07-16 07:48:37

Hi.

How can I use procmail to send a message to all users ?

I have a file with the list of users and another with the message.
I'm asking for something like:

#
for name in $( awk '{print $1}' $1 )
do
  procmail $name $2
done
#

where:

$1 = list of users
$2 = message


Thanks.

Hernan Sanchez


<Prev in Thread] Current Thread [Next in Thread>