Re: missing "Content-type: ... boundary" from header on a forward
"@lbutlr" <[email protected]> Mon, 22 Aug 2016 05:36:26 -0600
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <[email protected]> |
> On 20 Aug 2016, at 18:51, Zhiliang Hu <[email protected]> wrote: > = > I have a simple recipe to forward mails to a small list like in: > = > :0 c > * ^(To|Cc):.*[email protected] > * ? formail -X"From " -xFrom: -xSender: -xReply-To: -xResent-From: \ > | /var/private/.bin/multigram -b1 -m -l 28668 /my/path/sound.list.txt > { > :0 fwh > | formail -I "Reply-To: [email protected]" > :0A > ! `cat /my/path/sound.list.txt` > } > = > It works fine forwarding mails, except that the forwarded mails all are m= issing from their header section "Content-type: multipart" lines like: > = > Content-type: multipart/alternative; > boundary=3D"B_3487949262_366283" > = > and instead this is seen in the header: > = > Content-type: text/plain; > charset=3D"UTF-8" > = > Since the boundary info is missing the multiparts of a mail body are all = displayed as plain text. > = > I am not sure what happened, or wrong with my recipe. I hope I won't have= to come up something to capture the "Content-type: ... boundary" lines to = insert back to the header ;-) Any advice please? Content-type is not one of he headers you are extracting and sending to you= r pipe, so of course it is not included.