procmail
[Top] [All Lists]

Re: Group Mail Forwarding Recipe

1997-07-29 09:28:00
Quoting Paul O Bartlett (pobart(_at_)access(_dot_)digex(_dot_)net):
            :0 fw
            | formail -krz -p ""                         \
              -I "Reply-To: $FULLNAME"                   \
              -I "From: $SENDER"                         \
              -I "Subject: $THESUBJ"                     \
              -I "X-List: $GROUPNAME"                    \
              -I "X-Loop: $MY_ADDR"                      \
              -I "X-Info: Private Discussion Group Only" \
              -I "Precedence: list"                      \
              -I "Message-ID: $MID"                      \
              -I "Mime-Version: $MIMEVER"                \
              -I "Content-Type: $MIMETYPE"               \
              -I "Content-Transfer-Encoding: $MIMEXFER"  \
              -I "Errors-To: $MY_ADDR"                   \
              -I "Resent-From: $FULLNAME"                \
              -I "Resent-Sender: $FULLNAME"              \

Ok, I'm a little confused here. Why are you saving all these headers
and running it through "formail -r" rather than just adding the 
headers that you need? IOW, why not just keep the original in its
entirety and just add in the X-List and the Precedence? (The
Reply-To isn't generally set to the mailing list address; if 
anything, the list is usually added to the CC: header.) Errors-To
is nonstandard and can be dropped. X-Loop seems redundant if you've
already added the X-List.

-- 
Michael Stone, Sysadmin, ITRI     PGP: key 1024/76556F95 from mit keyserver,
mstone(_at_)itri(_dot_)loyola(_dot_)edu            finger, or email with 
"Subject: get pgp key" 

<Prev in Thread] Current Thread [Next in Thread>