I am running a list with about 20 users. I am using a rc.local.s20 file that puts the listname in the subject line and it also puts in a header and footer. When anyone other than the list maintainer sends a message to the list, it does not include the header and footer. Anyone know how to solve this problem?
The rc.local.s20 looks like this.
# # Adding a disclaimer at the beginning and/or end of every mail: #
:0 fhw | cat - header.txt
:0 fbw | cat - footer.txt
# # To get rid of all X- fields: #
:0 fhw | formail -I X-
# rc.local.s20 # This routine will put the list name at the start of the message subject SUBJ=`formail -zx Subject: | sed -e "s|[$list] ||g" -e "s|Re: Re: |Re: |g"` :0 fw * ! ^Subject:.[$list] * | formail -I "Subject: [$list] $SUBJ" SUBJ
#:0 fhw # insert the listname in brackets before the subject text #* ^Subject: */[^ ].*$ #| formail -I"Subject: [$list] $MATCH"
#:0 Efhw # make sure that there's _something_ for the subject #| formail -I"Subject: [$list] <none>"
Thanks In Advance, Paul
smartlist@lists.rwth-aachen.de