|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Internal Distribution List?
From: Wietse Venema (wietse
porcupine.org)Date: Tue May 30 2000 - 19:11:16 CDT
- Next message: Matthew Hawkins: "Re: Internal Distribution List?"
- Previous message: Alex Burke: "Re: Internal Distribution List?"
- In reply to: Alex Burke: "Re: Internal Distribution List?"
- Next in thread: Matthew Hawkins: "Re: Internal Distribution List?"
- Reply: Wietse Venema: "Re: Internal Distribution List?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alex Burke:
> >If the list is small enough and easy to maintain then you can simply use
> an alias, put the following in >/etc/postfix/aliases
> >
> >all-users: bill, susan, george, alex # etc etc
> >
> >don't forget to run newaliases after you save the file
> >
> >If there is a big group of users and the above is difficult to maintain
> then I'm sure some of the >wiser souls on this list will assist
>
> Yep, it would be a pig of a job. It would go to anywhere from 500-5000
> users, and users are frequently added and deleted. I'm looking for
> something that (for example) would parse /etc/passwd and
> /etc/postfix/virtual and send it to everyone, without giving away to the
> recipient the list of all the usernames it was sent to...
Being a programmer myself, I would write a script (AWK, or PERL)
to massage the data in the relevant source files into a suitable
format, sort|uniq the mess and be done with it.
Wietse
- Next message: Matthew Hawkins: "Re: Internal Distribution List?"
- Previous message: Alex Burke: "Re: Internal Distribution List?"
- In reply to: Alex Burke: "Re: Internal Distribution List?"
- Next in thread: Matthew Hawkins: "Re: Internal Distribution List?"
- Reply: Wietse Venema: "Re: Internal Distribution List?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]