summaryrefslogtreecommitdiffstats
path: root/imap/pop3dserver.c
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/pop3dserver.c
parent4178f459ddb72d81c3f1256d83992aee2f5b166e (diff)
downloadcourier-libs-dca4b607379150d58cacf1aec22ae6ef37988ca2.tar.bz2
Workaround for MS Outlook bug.
Diffstat (limited to 'imap/pop3dserver.c')
-rw-r--r--imap/pop3dserver.c9
1 files changed, 9 insertions, 0 deletions
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);