procmail
[Top] [All Lists]

Re: Trimming an extra header.

2003-03-29 14:30:48
On Sat, Mar 29, 2003 at 02:19:58PM +0000, Alan Clifford wrote:
On Sat, 29 Mar 2003, John Ehrlinger wrote:

From what you've posted, the original header is no longer a header
but part of the body. I would think you could, therefore, filter
just the body to recreate the original message except for the
fact that the orginial FROM_ field has been lost and needs to be
regenerated. Formail can do the latter.

: 0bfw
| formail


should do it I think, although I an not 100% sure that the header will
be lost with the b flag when using the filter mechanism.

Yes, it needs to be a delivery, not a filter, from what I can
tell.

I just tried it without the filter and piped to sendmail, and it
seems to be the ticket for him.

 : 0b
 | formail | $SENDMAIL $SENDMAILFLAGS other(_at_)address


-- 
dman

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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