I've got the same problem.
I do have a message_footer and message_fronter defined.
Still doesn't work.
Here it is:
message_footer << END
This is a message footer
END
I put print statements around the section of the code that prints out the
footer:
print STDERR "**** B4 FRONTER\n" if $DEBUG;
if ( $config_opts{$opt_l,"message_fronter"} ne '' ) {
local($fronter) = &config'substitute_values (
$config_opts{$opt_l,"message_fronter"}, $opt_l);#';
print STDERR "**** INSIDE FRONTER\n" if $DEBUG;
print STDERR "**** Value = $fronter\n" if $DEBUG;
$fronter =~ s/\001|$/\n/g;
print STDERR "**** Value after substitute contal A = $fronter\n" if $DEBUG;
print OUT $fronter;
}
print STDERR "**** AFTER FRONTER\n" if $DEBUG;
I only get B4 FRONTER and AFTER FRONTER implying the $config_opts variable
isn't being set properly. I haven't found the section of code that sets up
tis associative array yet.
Is there some configuration variable I needed to set in my install or modify
in the actual code for this to work?!
Bob
> -----Original Message-----
> From: majordomo-users-owner@GreatCircle.COM
> [mailto:majordomo-users-owner@GreatCircle.COM]On Behalf Of Jose Fernando
> Tepedino Martins
> Sent: Tuesday, December 15, 1998 16:48
> To: john burton
> Cc: MajorDomo Users
> Subject: Re: "message_footer"
>
>
> John,
>
> To set message_footer, you should define it in the "list.config" file.
> As an example, at the following is a set of lines configuring the footer
> for a list called "teste-l". Please notice that blank lines or lines
> beginning with blanks should start with a "-".
>
> -------- (teste-l.config)
>
> # (the first line with "-" forces a blank line in the output)
> message_footer << END
> -
> -------------------------------------------
> - This is a multiple line footer
> - For the list teste-l@di.ufpe.br
> -------------------------------------------
> END
>
> -------- (teste-l.config)
>
> Please take a look at the majordomo lists directory if there's is a
> ".config" file for your list. If there is no such file, you may send to
> majordomo (via e-mail) the command
> writeconfig listname password
> in order to generate a new config file for the list "listname". This is
> also useful when upgrading lists from earlier versions of Majordomo.
>
> Fernando.
> ---------------------------------
> | Jose Fernando Tepedino | And if I don't have this
> all worked out
> | e-mail: jftm@di.ufpe.br | Still I'm getting closer,
> getting closer
> | Recife - Brasil | (B. Joel)
> ---------------------------------
>
> On Mon, 14 Dec 1998, john burton wrote:
>
> > This looks like a subject that was batted around with older
> > versions, but it doesn't seem to have shown its face in the last 2
> > years (according to the archives).
> >
> > I have a majordomo v1.94.4 running here just fine. However, this
> > evening I needed to fire up the "message_footer" value on one of the
> > lists. So I tried several variations of adding the text with
> > absolutely no luck.
> >
> > I *am* using resend in my inbound alias. Take a look below
> >
> > test: "| /usr/lib/majordomo/wrapper resend -l test
> > test-list"
> >
> > Does anyone have an example of a successful "message_footer" entry??
> >
> > I'd appreciate it!
> >
> > --==jb==--
> >
> >
> >
> > --
> > ========================================================================
> > john burton The SANDBOX ** MultiLine Linux
> > mailto:jburton@telepath.com
> > MidWest City, Oklahoma
> > finger://resume@sandbox.dynip.com
> > ========================================================================
> >
>
>
>
References:
|
|