hi

this simpler patch should do the trick as nesting of messages inside an
error message only occurs in pop3d and the rest of the code does not need to 
be touched. I leave it to Sam to make this configureable.

So far I had only one complaint about the Unicode error messages in IMAP
coming up all the time within an outdated webmail system (each HTTP request =
one IMAP session). Unfortunately, the message numbers in the error message
don't correspond to the message numbers shown in the webmail. But that system
needs to be updated anyway so I don't see a need to change the IMAP code at
the moment.

cu,
brunni

--- BEGIN DIFF ---
diff -ru courier-imap-5.0.6.orig/libs/imap/pop3dserver.c 
courier-imap-5.0.6/libs/imap/pop3dserver.c
--- courier-imap-5.0.6.orig/libs/imap/pop3dserver.c     2019-01-30 
13:08:06.000000000 +0100
+++ courier-imap-5.0.6/libs/imap/pop3dserver.c  2019-02-07 17:21:58.000000000 
+0100
@@ -666,7 +666,7 @@
        "The original message is included as a separate attachment\n"   \
        "so that it can be downloaded manually.\n\n"                    \
        "--%s\n"                                                        \
-       "Content-Type: message/global\n\n"
+       "Content-Type: message/rfc822\n\n"

 struct retr_source {
        char *wrapheader;
--- END DIFF ---

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail [email protected]
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to