[Dovecot] Missing MIME-Version header in e-mails.

Tan Shao Yi tansy at pacific.net.sg
Thu Aug 2 20:04:53 EEST 2007


Hi Timo,

I just tried your patch in hg and realised it also requires the 
"Content-Transfer-Encoding: 8bit" to be present.

I'm seeing some really bad mailers at my site that provide just header 
Content-Type: text/html; "charset=iso-8859-1" :(

Is there a possibility for us to accommodate such mails as MIME?

Cheers,
Tan Shao Yi

On Thu, 2 Aug 2007, Tan Shao Yi wrote:

> Hi Timo,
>
> Thanks so much.
>
> UW-IMAPD includes an additional check for the Content-Transfer-Encoding too. 
> Would it be a good idea to include it too?
>
> From rfc822.c in UW-IMAPD:
>
> if (!strcmp (tmp+8,"TRANSFER-ENCODING") ||
>   (!strcmp (tmp+8,"TYPE") && strchr (d,'/'))) {
>      MM_LOG ("Warning: MIME header encountered in non-MIME message", PARSE);
>
> Cheers.
>
> On Thu, 2 Aug 2007, Timo Sirainen wrote:
>
>> On Thu, 2007-08-02 at 08:36 +0800, Tan Shao Yi wrote:
>>> Will it be possible to make this available in the 1.0 branch? UW-IMAP
>>> seems to continue to process e-mails without the MIME-Version, so long as
>>> it has the Content-Type or -Encoding header.
>> 
>> http://hg.dovecot.org/dovecot-1.0/rev/5c29a60f0960
>> 
>> 
>


More information about the dovecot mailing list