t-nissieの日記: お薦めの mime encoder/decoder?
日記 by
t-nissie
『お薦めの mime encoder/decoder?』というSubjectでfj.unixに
コマンドラインで使用できるmime encoder/decoderを探しています。
OSはTurboLinux6
現在 uudeview <http://www.fpx.de/fp/Software/UUDeview/>を使用
しているのですが、下記添付ファイルを認識しない例があり、他の
decoderを試してみたいと思っています。
お薦めのmime-decoder有りましたら、教えてください。
=======添付ファイルと認識してくれなかったメイル
MIME-Version: 1.0
Content-type: Multipart/Mixed; boundary=Message-Boundary-6881
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12a)
X-Qmail-Scanner-Message-ID: <105040474252622564@mail.morenet.net.nz>
--Message-Boundary-6881
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
--Message-Boundary-6881
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'xxx.log'
という質問があったので、
> Content-description: Text from file 'xxx.log'
が
> Content-Disposition: attachment; filename=xxx.log
でないとダメなのではないでしょうか.
RFC的にはOKなのかしらん.
% sed -e "s/Content-description: Text from file '\(.*\)'/Content-Disposition: attachment; filename=\1/" SavedMail | munpack
とかどうでしょう.
Mpack and Munpack
http://asg.web.cmu.edu/andrew2/staff/jgm/
ftp://ftp.andrew.cmu.edu/pub/mpack/
とかなんとか答えを書いておいたのですが、質問を投稿された方から
その後なんの音沙汰もなく、ショボーンとしていました。
ところが、いまウニマガの『NetNews便り』を眺めていたらちゃんと
ダイジェストされていました。ちょっと報われた気分になりました。
mpack のほかに metamail などが紹介されていました。
ftp://thumper.bellcore.com/pub/nsb/mm2.7.tar.Z
#みるくさんの正体はいったい誰なのだろう。
#ぼくにとっては仮面ライダーみたいな存在です。
コマンドラインで使用できるmime encoder/decoderを探しています。
OSはTurboLinux6
現在 uudeview <http://www.fpx.de/fp/Software/UUDeview/>を使用
しているのですが、下記添付ファイルを認識しない例があり、他の
decoderを試してみたいと思っています。
お薦めのmime-decoder有りましたら、教えてください。
=======添付ファイルと認識してくれなかったメイル
MIME-Version: 1.0
Content-type: Multipart/Mixed; boundary=Message-Boundary-6881
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12a)
X-Qmail-Scanner-Message-ID: <105040474252622564@mail.morenet.net.nz>
--Message-Boundary-6881
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
--Message-Boundary-6881
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Text from file 'xxx.log'
という質問があったので、
> Content-description: Text from file 'xxx.log'
が
> Content-Disposition: attachment; filename=xxx.log
でないとダメなのではないでしょうか.
RFC的にはOKなのかしらん.
% sed -e "s/Content-description: Text from file '\(.*\)'/Content-Disposition: attachment; filename=\1/" SavedMail | munpack
とかどうでしょう.
Mpack and Munpack
http://asg.web.cmu.edu/andrew2/staff/jgm/
ftp://ftp.andrew.cmu.edu/pub/mpack/
とかなんとか答えを書いておいたのですが、質問を投稿された方から
その後なんの音沙汰もなく、ショボーンとしていました。
ところが、いまウニマガの『NetNews便り』を眺めていたらちゃんと
ダイジェストされていました。ちょっと報われた気分になりました。
mpack のほかに metamail などが紹介されていました。
ftp://thumper.bellcore.com/pub/nsb/mm2.7.tar.Z
#みるくさんの正体はいったい誰なのだろう。
#ぼくにとっては仮面ライダーみたいな存在です。
お薦めの mime encoder/decoder? More ログイン