On Fri, 12 Jun 1998, morna findlay wrote:
:I am wondering about the "sample list-owner's file" which comes with the
:distribution.
:
:The docs imply is sent to all new list-owners.
It doesn't get sent automatically; the Majordomo owner has to send it to
new list owners. When I create a new list (automated through a perl
script) the file is "massaged" a bit to reflect the new listname and
automatically sent to the list owner.
Here's a snippet of the code which massages the list-owner-info file:
open(INFO,"$LIST_INFO") or die "Could not open $LIST_INFO: $!\n";
while (<INFO>) {
s/FooBar.COM/$HOST/g;
s/ListName/$list/g;
print MAIL;
}
close INFO;
The MAIL filehandle, obviously, is open and sending mail to the listowner;
the other variables have the appropriate local values.
Patrick
References:
|
|