[Dovecot] dovecot support ms-tnef mail parser?
Hello everybody, I used iRedMail Server with dovecot-1.2.0. I used OutLook2007 send a RTF mail and the mail can't be parsed normal.
In dovecot maildir storage the mail body appeared ,/ /
/------=_NextPart_000_0007_01CD52BC.99E1BE10 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="winmail.dat"/
How to parse ms-tnef mail by dovecot? Thank you.
On 2012-06-25 04:52, DongYu.Zhen wrote:
How to parse ms-tnef mail by dovecot?
You can't do that directly in Dovecot. What you can do is to use a utility called tnef [1] (available in major GNU/Linux distributions) on the client to extract the data on the client. Otherwise you could use ytnef [2] with procmail or Dovecot sieve_pipe [3] on the server (see [4]).
I tried tnef on rare occasions and it worked.
Regards, Matthias-Christian
[1] http://sourceforge.net/projects/tnef/ [2] http://sourceforge.net/projects/ytnef/ [3] http://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Pipe [4] http://wiki.clug.org.za/wiki/Automatic_winmail.dat_decoding
On 2012-06-25 2:15 AM, Matthias-Christian Ott <ott@mirix.org> wrote:
On 2012-06-25 04:52, DongYu.Zhen wrote:
How to parse ms-tnef mail by dovecot?
You can't do that directly in Dovecot. What you can do is to use a utility called tnef [1] (available in major GNU/Linux distributions) on the client to extract the data on the client. Otherwise you could use ytnef [2] with procmail or Dovecot sieve_pipe [3] on the server (see [4]).
I tried tnef on rare occasions and it worked.
Regards, Matthias-Christian
[1] http://sourceforge.net/projects/tnef/ [2] http://sourceforge.net/projects/ytnef/ [3] http://wiki2.dovecot.org/Pigeonhole/Sieve/Plugins/Pipe [4] http://wiki.clug.org.za/wiki/Automatic_winmail.dat_decoding
Sounds like a good candidate for a plug-in.
Currently I use the Lookout extension in Thunderbird to do this, but it isn't perfect...
--
Best regards,
Charles
participants (3)
-
Charles Marcus
-
DongYu.Zhen
-
Matthias-Christian Ott