Re: message_footer etc

Sean Casey <[email protected]> Tue, 06 Nov 2007 18:28:51 -0700
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>

Daniel Liston wrote:
> I do not think this is broken.  If the user is not in the_mailing_list 
> file,
> they will not receive a copy of the message.  Therefore, without a message,
> there is nothing to apply a message_footer or message_header to.
> 
> Dan Liston
> 
> Jørn Dahl-Stamnes wrote:
>> Hello,
>>
>> I'm setting up a mailing list which get all the addresses from a SQL 
>> database. A script is running every 24 hour to extract the e-mail 
>> adresses to two files:
>>
>> the_mailing_list
>> the_mailing_list.post
>>
>> The first file contain the adresses of all who shall receive the mail 
>> while the second file (.post) contain the email-adresses to all who 
>> are allowed to post to the list.
>>
>> But I noticed that if an email adresse is listed in the .post and not 
>> in the list itself, the text defined by message_header and 
>> message_footer is not applied to the messages. Any way to fix this?

Dan has a point, but I'm not clear about the problem.

Certainly, if the .post file is included in restrict_post, then 
addresses in that list are allowed to post, and resulting messages will 
have the message_header and message_footer applied, as well as 
message_fronter, even though the posting user won't receive a copy of 
the post.

Jørn, will you post the relevant sections of the_mailing_list.conf 
please? That is, restrict_post, message_headers, message_footer, and (in 
case that's what you meant) message_fronter. [message_headers adds 
*headers* to the message: things like X-version $VERSION or x-unzub 
information...the text at the top of each message is defined in 
message_fronter]
...and I usually put the_mailing_list file name in restrict_post, so all 
members of the list can post, and reserve the .post file for alternate 
addresses (like a work email address) or folks who are temporarily 
off-list, so they can post without receiving mail at the posting address.

Hope that helps.
Sean