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

Bill Boebel bill at webmail.us
Thu Aug 2 03:55:58 EEST 2007


On Wed, August 1, 2007 8:36 pm, Tan Shao Yi <tansy at pacific.net.sg> 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 to apply it to your installation.  Probably something like this, although I haven't tried it...

src/lib-mail/message-parser.c @225:
  - if (!hdr->eoh && strcasecmp(hdr->name, "Mime-Version") == 0) {
  + //if (!hdr->eoh && strcasecmp(hdr->name, "Mime-Version") == 0) {
       /* it's MIME. Content-* headers are valid */
       part->flags |= MESSAGE_PART_FLAG_IS_MIME;
  - }




More information about the dovecot mailing list