I am not at all familiar with the MD list file formats. And I have not
even installed MD yet.
BUT, I think that I have a solution for you.
Have two email address extract files - called yesterday and today. The
today file is the latest HR extract list and the yesterday file is the one
from yesterday (duh !).
Then diff the two files and use grep awk or perl to pull out two small
lists - one of additions and the other of deletions - based on the first
character being a '<' or a '>'. Then feed these two files to an awk or
perl script to generate two command files which would subscribe or
unsubscribe the new / old address via email commands to MD. Then move the
today file to be the yesterday file.
I could dig up some old scripts which do this sort of thing (if a very
different context), if you want.
Let me know if this helps.
| Stuart Yusem |
| Software Configuration Management / Tools Engineer |
| Centigram Communications Corporation |
| 91 East Tasman Drive Voice 408-432-2735 |
| San Jose, CA. 95134 FAX 408-428-3827 |
| Email Stuart.Yusem@Centigram.com Cell 408-829-4391 |
On Tue, 21 Sep 1999 Kitty.Smith@wichita.edu wrote:
> I am running Majordomo 1.94.4 on AIX 4.3.2. I have setup a list that has
> the membership refreshed everyday from our Human Resources database, which
> is downloaded to our server each morning. I wrote a little perl script to
> extract the email addresses of all faculty and staff from this HR file. I
> have been requested to open up subscription to this mailing list to the
> public while maintaining the most current email addresses for faculty and
> My first thought was to have two files in the outgoing line of the aliases
> file. One that functions in the normal fashion, while the other is
> recreated each day. I attempted to just add the path to the second file to
> the list-outgoing line, but it did not work.
> "|/home/majordomo/wrapper archive2.pl -a -M -f
> Could someone give me a clue how to approach this task? Thanks so much.
> Kitty Smith
> Technical Support Analyst
> Wichita State University