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

2007-08-03 Thread Tan Shao Yi
On Thu, 2 Aug 2007, Timo Sirainen wrote: On Fri, 2007-08-03 at 01:04 +0800, Tan Shao Yi wrote: 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 Conte

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

2007-08-02 Thread Timo Sirainen
On Fri, 2007-08-03 at 01:04 +0800, Tan Shao Yi wrote: > 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=

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

2007-08-02 Thread Tan Shao Yi
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

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

2007-08-02 Thread Tan Shao Yi
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: MI

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

2007-08-02 Thread Timo Sirainen
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/5c29a60f0

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

2007-08-01 Thread Bill Boebel
On Wed, August 1, 2007 8:36 pm, Tan Shao Yi <[EMAIL PROTECTED]> said: > 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. It's an easy patch if you want t

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

2007-08-01 Thread Tan Shao Yi
On Wed, 1 Aug 2007, Bill Boebel wrote: On Wed, August 1, 2007 9:51 am, Timo Sirainen <[EMAIL PROTECTED]> said: On Wed, 2007-08-01 at 19:50 +0800, Tan Shao Yi wrote: Hi, I notice that in src/lib-mail/message-parser.c, there is a section of code that checks for the presence of MIME-Version be

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

2007-08-01 Thread Bill Boebel
On Wed, August 1, 2007 9:51 am, Timo Sirainen <[EMAIL PROTECTED]> said: > On Wed, 2007-08-01 at 19:50 +0800, Tan Shao Yi wrote: >> Hi, >> >> I notice that in src/lib-mail/message-parser.c, there is a section of >> code that checks for the presence of MIME-Version before allowing >> processing of t

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

2007-08-01 Thread Timo Sirainen
On Wed, 2007-08-01 at 19:50 +0800, Tan Shao Yi wrote: > Hi, > > I notice that in src/lib-mail/message-parser.c, there is a section of > code that checks for the presence of MIME-Version before allowing > processing of the Content-* headers. > > Is there a possibility of relaxing this rule? Ther