Masand, Manish ([EMAIL PROTECTED]) said something to this effect on 06/19/2001:
> i was looking at the /etc/aliases file
> 
> a sample set up would be :-
> 
> 
> # Alias for distribution list, members specified here:
> staff:wnj,mosher,sam,ecc,mckusick,sklower,olson,rwh@ernie
> 
> 
> so would staff be the mailing list name and (
> wnj,mosher,sam,ecc,mckusick,sklower,olson,rwh@ernie  )
> the members...........

That is correct. The names on the right of the colon are what the
name on left resolves to (resolves is not quite the right word,
but it gets the point across). Keep in mind that stuff on the
right side also gets re-resolved, so you can put subgroups or other
aliases in there as well. Just be sure to avoid circular
references.

If you are running your own mail server, this method is highly
preferable to using mutt aliases. If you aren't running your own
mail server, this gets difficult.

Also, be sure to run newaliases (or /usr/{lib,sbin}/sendmail -bi)
after you modify /etc/aliases so they get added to the dbm file.

Another option, if you are OK with trying qmail, is qmail's built
in mailing list stuff. Create a file called .qmail-people and
populate it with what is on the right side of the line in
/etc/aliases (one per line). Then, send the email to
[EMAIL PROTECTED], and it will be go the users listed in
the .qmail-people file. See
http://cr.yp.to/qmail/faq/incominguser.html#mailing-list for this
example:

  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. 

(darren)

-- 
Have an adequate day.

Reply via email to