procmail
[Top] [All Lists]

Re: stripping headers

2001-08-22 12:25:07
Tim Holmes <tim(_at_)unixtechs(_dot_)org> writes:
Isn't this something that your mail reader should handle?  What mail
reader are you using?
...
Stephen R. Wilcoxon <wilcoxon(_at_)bridge(_dot_)com> writes:
| Anybody have an efficient and simple way of doing the following?
| 
| I want to remove the Content-Transfer-Encoding header
| if Content-Type = text/plain and Content-Transfer-Encoding = binary.

This isn't doable from the mail reader: the problem is apparently that
the CTE header contains an incorrect value under certain circumstances.
I suspect that rather than removing the header completely it should be
changed to specify 8bit.

        :0 hfw
        * Content-Transfer-Encoding: *binary
        * Content-Type:.*text */ *plain
        |formail -i"Content-Transfer-Encoding: 8bit"


Philip Guenther
_______________________________________________
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>