Article View: comp.mail.mh
Article #1948Re: Aliases
From: bd
Date: Fri, 15 Dec 1989 23:04
Date: Fri, 15 Dec 1989 23:04
27 lines
1455 bytes
1455 bytes
> I would like sending mail to everybody in the distribution-list (i.e. > members) with the "To:" line saying "distribution-list" only (and not > all the members of the list. > I'm running: > ... [SENDMTS] [SMTP] Since you're running sendmail, one way to quickly do it is to create a sendmail alias (in sendmail's /usr/lib/aliases file). If the distribution list doesn't change very often, you can add the members directly to the /usr/lib/aliases file. If it changes often, you might be able to convince your Postmaster to use a line of: distribution-list: :include:/usr/local/lib/mail/distribution-list Then edit the file "/usr/local/lib/mail/distribution-list" so it contains lines that look like: him@system.SYS.COM (Hiram I. Muir), her@organization.ORG (Herlinda Evelyn Ramirez), mh-users@ICS.UCI.EDU (MH Users and Abusers) In other words, the contents of the file looks just like the right- hand-side of the aliases in /usr/lib/aliases. Make the file writable by you and readable by sendmail, and you can change it as often as necessary. -- bd
Technical Details
Message-ID:
<8912152304.AA15211@hp-ses.sde.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!HP-SES.SDE.HP.COM!bdShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!HP-SES.SDE.HP.COM!bd From: bd@HP-SES.SDE.HP.COM Newsgroups: comp.mail.mh Subject: Re: Aliases Message-ID: <8912152304.AA15211@hp-ses.sde.hp.com> Date: 15 Dec 89 23:04:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 27