Roderick A. Anderson
2009-Aug-20 17:39 UTC
[Dovecot] SOT: Removing _extra_ linefeeds from MSOutlook(?) messages
I realize this is sorta off topic but my searches using Google have got me mostly no where. So I thought I'd ask here as there is a lot of _past Postfix_ mail handling issues discussed. The issue is; I have to deal with a lot of messages that come from MS Outlook users and sometimes they are replies to replies to replies ... My reading indicates it has a little to do with HTML composed messages and the format=flowed declaration. This produces messages with *lot* of extra line feeds. Makes the messages nearly unreadable -- in Thunderbird. I'm sure others have got two line (sentence) messages that took 6+ lines to display. Then when they are replies or forwards it is even more. Every line gets two NLs/CRLFs. Anyone have a suggestion of how to _strip_ multiple line feeds from a message? Is there a sieve method/way? I don't want to fiddle with all the users emails just my own. Pointers, ideas, clues? \\||/ Rod --
Steffen Kaiser
2009-Aug-21 08:56 UTC
[Dovecot] SOT: Removing _extra_ linefeeds from MSOutlook(?) messages
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 20 Aug 2009, Roderick A. Anderson wrote:> Anyone have a suggestion of how to _strip_ multiple line feeds from a > message? Is there a sieve method/way? I don't want to fiddle with all the > users emails just my own. > > Pointers, ideas, clues?Hmm, you could prepend a filter before you LDA. Bye, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBSo5hIHWSIuGy1ktrAQKoTQf/QN/FHBVUotsm8Cd+m2L6MK4vuha2WrON XA5fHszgtJoOeK0IWr8bqPstLsrvi1ZcjfIVtKbjDJzJUH2084fgyWOXiJ6u0Y8U /2LyvpfXnJSnCc50LjBUiE3zI2H9dsuzvH2K11zxRxRlCf6rOotPqvo/PWbNXE1M sNIjTUiW3AN9IePojlehEY6NYceYM9iThoaHO5JiEivPfTru8tYGLeUlA+7FqI0J 3tHyNkjvRD1E20KnMSxNzh02oaZU4n5cJziwJ5XcWzwPfoRC4R9L5+gXVo1ikcOV 1k1n0rwtSreE1jRO9LCy5cxRlJtAhwcIO1ojm/IYpMLBt/JKQ9RFQA==jnFA -----END PGP SIGNATURE-----