You could accomplish this by patching qmail-ldap wth the QMAILQUEUE
patch and then sending all email through a parser that will add the mime
header if it doesn't exist.  It should be fairly simple to do with a
perl/python script.  You could use qmail-scanner as a template to get
started since it does a similar thing except scans for viruses.

--Mike


-----Original Message-----
From: David Koopman [mailto:[EMAIL PROTECTED]] 
Sent: Friday, August 02, 2002 5:38 PM
To: [EMAIL PROTECTED]
Subject: missing MIME-Version header causing problems with WebMail app


This won't sound like a valid post to this board at
first, but by the second paragraph, you'll see why
this board is right:

I am trying to support a web based email client that
works with PHP imap functions.  The program makes an
imap connection and sends it a FETCH command for
BODYSTRUCTURE.  I have found that courier-imap will
behave correctly and return the intended
BODYSTRUCTURE, unless the message being fetched is
missing the: "MIME-Version: 1.0" header.  This sucks
because now users of the web based email system are
complaining they cannot view messages that they could
otherwise view just fine in Outlook Express.

The reason I am posting this here is that I am hoping
to find a patch for QMAIL that will add a header of:
MIME-Version: 1.0
whenever a MIME-Version is not given.  Anybody heard
of this or have a differnent approach?  Maybe a patch
to courier-imap?  Is there a way to do this?  No, I
cannot re-write the webbased email system, it's
already well in place (it's Squirrelmail, in case
you're interested).  Help!?!?!

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com


Reply via email to