[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Emai All Users - Help
- Subject: Re: [cobalt-users] Emai All Users - Help
- From: "Gerald Waugh" <gerald@xxxxxxxxx>
- Date: Thu Apr 26 15:47:06 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"WorldCops" <owner@xxxxxxxxxxxxx> wrote
> I need to send an email to all my users on the RaQ4
>
> I have tried some script someone posted, and it doesn't work.
>
> Is there an easy way to send an email to all users on my RaQ4?
>
>
from sendmail faq!
There is no magic short-cut for this. But it is not hard to set up: create an
aliases entry
alluser: :include:/etc/mail/allusers
Don't forget to run 'newaliases'. Then list your users, one per line, in the
file '/etc/mail/allusers'.
You might be able to do that with awk -F: '$3 > 100 { print $1 }' /etc/passwd >
/etc/mail/allusers
the above will create a file (/etc/mail/allusers) with all users on your server.
Gerald