Summary: | Reply-to munging should backup original reply-to address | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Jim Ramsay (lack) (RETIRED) <lack> |
Component: | Mailing Lists | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | IN_PROGRESS --- | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 154595 |
Description
Jim Ramsay (lack) (RETIRED)
2007-04-16 14:16:25 UTC
formail question. WITHOUT having to invoke procmail, I'd like to duplicate the original Reply-To header to Old-Reply-To. Not rename, but duplicate. I can't see any way to do this with formail directly. I specifically don't want to invoke procmail, as I want to put the command into the aliases as: |formail ... |/usr/bin/mlmmj.... I don't know of a way to do that with formail, but it could be done with this sed script: sed -e '0,/^$/ { /^Reply-To:/ { p; s//Old-&/ } }' The only potential problem here, I think, is if the original Reply-To header is multiline. yeah, flunks on multiline, and I do see some multiline cases of it. Reply-To munging by mailing lists violates rfc2822 [1], so I don't think we should be munging at all. The RFC makes it clear that this field is to be used by the author of the message. [1] http://www.ietf.org/rfc/rfc2822.txt |