I had posted a few days ago about trying to force SmartList to add a
Reply-To line because the lack of it confuses some mail clients and makes
it more difficult for those subscribers not to post to the list by default.
Karl Vogel kindly sent along the following code, about which I have two
questions.
# I want to find the best return address by preferring
# Reply-To over From, etc.
:0
* ! ^Reply-to: *\/[^ ].*
* ! ^From: *\/[^ ].*
* ! ^Sender: *\/[^ ].*
* ! ^From +\/[^ ]+
{ FROM=nobody }
:0E
{ FROM=$MATCH }
# Replace the Reply-To header with the best reply address, and
# preserve the old Reply-To header.
:0 fhw
| formail -i "Reply-To: $FROM" -u "Old-Reply-To:"
Question 1: is it not true that "Old-Reply-To:" will match "Reply-To:" in
all cases where it occurs?
Question 2: Where in the world do I put this? I am definitely a novice and
I'm hesitant to experiment with rc.submit on a busy live list. I don't have
a test list at my disposal. I can post the "main header munge" recipe in
rc.submit but I'm hesitant to make everybody's head spin, too. ;)
Thanks.
--Ken
68 Westy, Admin -- type2 -- The VW Bus Mailing List