Great Circle Associates Majordomo-Users
(March 1995)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: digest header & footers
From: ks @ acn . purdue . edu (Kirk D. Smith)
Date: Mon, 6 Mar 1995 17:05:23 +0500
To: majordomo-users @ greatcircle . com

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:
Indexed By Date Previous: Summary: can md do what I want
From: Michael Corcoran <corcoran@valhalla.cs.wright.edu>
Next: resend and 'spaced' lines
From: Dallas N Antley <dna@clas.ufl.edu>
Indexed By Thread Previous: Summary: can md do what I want
From: Michael Corcoran <corcoran@valhalla.cs.wright.edu>
Next: Re: digest header & footers
From: Mike Northam <mbn@SSD.intel.com>

Google
 
Search Internet Search www.greatcircle.com