changeset 3788:b412da0eb27c HEAD

Clarify that workaround lists are space separated. But allow commas as well..
author Timo Sirainen <tss@iki.fi>
date Sat, 31 Dec 2005 00:13:42 +0200
parents 40600601502e
children 0120998fb2d9
files dovecot-example.conf src/imap/main.c src/pop3/main.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dovecot-example.conf	Sat Dec 31 00:09:03 2005 +0200
+++ b/dovecot-example.conf	Sat Dec 31 00:13:42 2005 +0200
@@ -444,6 +444,7 @@
   #     With mbox storage a mailbox can contain either mails or submailboxes,
   #     but not both. Thunderbird separates these two by forcing server to
   #     accept '/' suffix in mailbox names in subscriptions list.
+  # The list is space-separated.
   #imap_client_workarounds = outlook-idle
 }
   
@@ -516,6 +517,7 @@
   #   oe-ns-eoh:
   #     Outlook Express and Netscape Mail breaks if end of headers-line is
   #     missing. This option simply sends it if it's missing.
+  # The list is space-separated.
   #pop3_client_workarounds = 
 }
 
--- a/src/imap/main.c	Sat Dec 31 00:09:03 2005 +0200
+++ b/src/imap/main.c	Sat Dec 31 00:13:42 2005 +0200
@@ -68,7 +68,7 @@
 	if (env == NULL)
 		return;
 
-	for (str = t_strsplit_spaces(env, " "); *str != NULL; str++) {
+	for (str = t_strsplit_spaces(env, " ,"); *str != NULL; str++) {
 		list = client_workaround_list;
 		for (; list->name != NULL; list++) {
 			if (strcasecmp(*str, list->name) == 0) {
--- a/src/pop3/main.c	Sat Dec 31 00:09:03 2005 +0200
+++ b/src/pop3/main.c	Sat Dec 31 00:13:42 2005 +0200
@@ -63,7 +63,7 @@
 	if (env == NULL)
 		return;
 
-	for (str = t_strsplit_spaces(env, " "); *str != NULL; str++) {
+	for (str = t_strsplit_spaces(env, " ,"); *str != NULL; str++) {
 		list = client_workaround_list;
 		for (; list->name != NULL; list++) {
 			if (strcasecmp(*str, list->name) == 0) {