summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorSam Varshavchik2018-11-28 08:15:44 -0500
committerSam Varshavchik2018-11-28 08:15:44 -0500
commitdca4b607379150d58cacf1aec22ae6ef37988ca2 (patch)
treecf107cffba10fef9fdfcd82a20ae1718f3f1b0c5 /imap
parent4178f459ddb72d81c3f1256d83992aee2f5b166e (diff)
downloadcourier-libs-dca4b607379150d58cacf1aec22ae6ef37988ca2.tar.bz2
Workaround for MS Outlook bug.
Diffstat (limited to 'imap')
-rw-r--r--imap/ChangeLog7
-rw-r--r--imap/configure.ac2
-rw-r--r--imap/pop3dserver.c9
3 files changed, 17 insertions, 1 deletions
diff --git a/imap/ChangeLog b/imap/ChangeLog
index 8b38a55..339bc7e 100644
--- a/imap/ChangeLog
+++ b/imap/ChangeLog
@@ -1,3 +1,10 @@
+5.0.4
+
+2018-11-28 Hideki SAKAMOTO <hsakamt@tsnr.com>
+
+ * pop3dserver.c: Deal with MS Outlook's broken implementation of
+ RFC 6856.
+
5.0.3
2018-11-17 Sam Varshavchik <mrsam@courier-mta.com>
diff --git a/imap/configure.ac b/imap/configure.ac
index ac0e69e..42a086c 100644
--- a/imap/configure.ac
+++ b/imap/configure.ac
@@ -4,7 +4,7 @@ dnl
dnl Copyright 1998 - 2018 Double Precision, Inc. See COPYING for
dnl distribution information.
-AC_INIT(courier-imap, 5.0.3, [courier-users@lists.sourceforge.net])
+AC_INIT(courier-imap, 5.0.4, [courier-users@lists.sourceforge.net])
>confdefs.h # Kill PACKAGE_ macros
diff --git a/imap/pop3dserver.c b/imap/pop3dserver.c
index 240184e..079da9e 100644
--- a/imap/pop3dserver.c
+++ b/imap/pop3dserver.c
@@ -1057,6 +1057,15 @@ int c;
continue;
}
+ if (strcmp(p, "UTF8") == 0)
+ {
+ /* XXX workaround for MS Outlook */
+ utf8_enabled=1;
+ printed(printf("+OK UTF8 enabled\r\n"));
+ fflush(stdout);
+ continue;
+ }
+
error:
printed(printf("-ERR Invalid command.\r\n"));
fflush(stdout);