Re: send to group functionality ?

2000-08-08 Thread David L. Nicol

 
  Is there an easy way to just send to all users in a linux group,
  instead of having to use an alias file?


You mean group, as in, a line in /etc/group, right?

Lets say I have a message in a file called syl2000fall.txt and
I want to send it to everyone in the group called chem507.

I think this would do it:

mail `grep ^chem507 /etc/group | cut -f4 -d:`  syl2000fall.txt


Some light tweaking may be required, but mail will accept
comma-delimited recipients, YMMV.


-- 
  David Nicol 816.235.1187 [EMAIL PROTECTED]
Originator of the world's first combination bassinet and table saw



Re: send to group functionality ?

2000-08-01 Thread Robin S. Socha

* Barry Smoke [EMAIL PROTECTED] writes:
 1.  (*) text/plain ( ) text/html
   ^ turn this off

 Is there an easy way to just send to all users in a linux group,
 instead of having to use an alias file?

,[ /var/qmail/doc/FAQ ]
| 4.2. How do I set up a mailing list? I'd like [EMAIL PROTECTED] to be
| forwarded to a bunch of people.
| 
| Answer: Put a list of addresses into ~me/.qmail-sos, one per line. Then
| incoming mail for me-sos will be forwarded to each of those addresses.
| You should also touch ~me/.qmail-sos-owner so that bounces come back to
| you rather than the original sender.
| 
| Alternative: ezmlm (http://pobox.com/~djb/ezmlm.html) is a modern
| mailing list manager, supporting automatic subscriptions, confirmations,
| archives, fully automatic bounce handling (including warnings to
| subscribers saying which messages they've missed), and more.
`
-- 
Robin S. Socha http://socha.net/