summaryrefslogtreecommitdiffstats
path: root/imap/pop3dcapa.c
diff options
context:
space:
mode:
authorSam Varshavchik2018-07-21 10:43:40 -0400
committerSam Varshavchik2018-07-21 10:44:43 -0400
commit14179a773e02455620b8db480e5cde990301bdb1 (patch)
tree26f00c12281c8488e37fbfe07f4324f2e641f1eb /imap/pop3dcapa.c
parentf7786ceaa39b846007a38495c169fbaa23a3f7d0 (diff)
downloadcourier-libs-14179a773e02455620b8db480e5cde990301bdb1.tar.bz2
courier-imap: implement UTF8 mode in the POP3 server.
Diffstat (limited to 'imap/pop3dcapa.c')
-rw-r--r--imap/pop3dcapa.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/imap/pop3dcapa.c b/imap/pop3dcapa.c
index 5d0eef4..ca9e12e 100644
--- a/imap/pop3dcapa.c
+++ b/imap/pop3dcapa.c
@@ -1,5 +1,5 @@
/*
-** Copyright 1998 - 2008 Double Precision, Inc.
+** Copyright 1998 - 2018 Double Precision, Inc.
** See COPYING for distribution information.
*/
@@ -78,10 +78,13 @@ void pop3dcapa()
printf("SASL %s%s%s\r\n", p, *p && *external ? " ":"",
*external ? "EXTERNAL":"");
}
-
+
if (have_starttls())
printf("STLS\r\n");
- printf("TOP\r\nUSER\r\nLOGIN-DELAY 10\r\nPIPELINING\r\nUIDL\r\nIMPLEMENTATION Courier Mail Server\r\n.\r\n");
+ printf("TOP\r\nUSER\r\nLOGIN-DELAY 10\r\n"
+ "PIPELINING\r\nUIDL\r\n"
+ "UTF8 USER\r\n"
+ "IMPLEMENTATION Courier Mail Server\r\n.\r\n");
fflush(stdout);
}