On Fri, 13 Jan 1995, Bob Snyder wrote:
> > Does anyone have a handy-dandy script that could do this work for me, given a
> > file of addresses?
>
> At a csh prompt:
No, no, majordomo is written in *perl* :-)
#!/usr/local/bin/perl
open(MAIL, "/usr/ucb/mail majordomo@wherever");
select(MAIL);
while(<>) {
print "approve listpasswd subscribe listname $_\n";
}
close(MAIL);
--
Paul Phillips EMAIL: paulp@primus.com
Primus Consulting PHONE: (619) 220-0850
WWW: http://www.primus.com/staff/paulp/ FAX: (619) 220-0873
References:
|
|