I am having difficulty setting up digest headers and footers.
It does not like to accept multiline values. I am sure there must be
some easy trick to it. I am using majordomo-1.93 and perl 5.0.
I have tried modifying both the config_parse.pl file and the individual
xxx-digest.config file. In both cases, it only seems to recognize the
string up to the first \n. If I was a perl expert, I could probably track
this down, but I'm a bit lost here.
Kirk Smith
P.S. Here's one of the many things I tried:
'message_fronter', '#! local($TEMP) = $list;
if ( $list =~ /-digest$/ ) {
$TEMP =~ s/-digest$//;
"In this issue:\n\n\t_SUBJECTS_\n\nSee the end of the digest for information on subscribing to the $TEMP\nor $TEMP-digest mailing lists.\n";
} else {
"";
}',
'message_footer', '#! local($TEMP) = $list;
if ( $list =~ /-digest$/ ) {
$TEMP =~ s/-digest$//;
"To subscribe to $TEMP-digest, send the command:\n\n\tsubscribe
$TEMP-digest\n\nin the body of a message to \"Majordomo\@acn.purdue.edu\". If you want\nto subscribe something other than the account the mail is coming from,\nsuch as a local redistribution list, then append that address to the\n\"subscribe\" command; for example, to subscribe \"local-$TEMP\":\n\n\tsubscribe $TEMP-digest local-$TEMP\@your.domain.net\n\nA non-digest (direct mail) version of this
list is also available; to\nsubscribe to that instead, replace all instances of
\"$TEMP-digest\"\nin the commands above with \"$TEMP\".";
} else {
"";
}', # text to be added at bottom of posting
Follow-Ups:
|
|