I'm having some difficulties in configuring message_footers
on my mailing lists.
I'm running Majordomo 1.94.4 under HP-UX 10.20 with Perl 5.005
I can have message_footers working fairly well which look like this:
message_footer << END
===============================================================
This message was sent to the mailing list named $LIST
on the mailing list server bbndhwww.europe.nortel.com
There is a Web interface to this mailing list system on URL:
http://bbndhwww.europe.nortel.com/cgi-bin/majordomo/lists
See who's on the $LIST mailing list on URL:
http://bbndhwww.europe.nortel.com/cgi-bin/majordomo/list?what=$LIST
END
However if the original mail message doesn't end with a newline,
the footer doesn't begin on a new line. Also the leading whitespace
on two of the lines is always stripped.
The config file instructions tell me to use a line of just a '-'
character to force a blank line, and to start a line with '-' to
preserve leading whitespace. If I do this, i.e.:
message_footer << END
-
===============================================================
This message was sent to the mailing list named $LIST
on the mailing list server bbndhwww.europe.nortel.com
There is a Web interface to this mailing list system on URL:
- http://bbndhwww.europe.nortel.com/cgi-bin/majordomo/lists
See who's on the $LIST mailing list on URL:
- http://bbndhwww.europe.nortel.com/cgi-bin/majordomo/list?what=$LIST
END
then the message_footer doesn't appear at all in the output message.
Looking at the code in 'resend', I thought that \001 characters would
be translated to newlines, so I tried:
message_footer << END
\001
===============================================================
This message was sent to the mailing list named $LIST
on the mailing list server bbndhwww.europe.nortel.com
There is a Web interface to this mailing list system on URL:
http://bbndhwww.europe.nortel.com/cgi-bin/majordomo/lists
See who's on the $LIST mailing list on URL:
http://bbndhwww.europe.nortel.com/cgi-bin/majordomo/list?what=$LIST
END
and, once again, this stops the message_footer appearing at all.
Now I could fix this by editing 'resend' to force a newline before
the message_footer is written, but it doesn't seem the right solution.
Does anyone have any useful pointers to what's going on please ??
--
Andrew Benham adsb@nortelnetworks.com
Nortel Plc, London Road, Harlow, Essex CM17 9NA, United Kingdom
Tel: +44 1279 402372 Fax: +44 1279 405746
|
|