-- we were overriding the capabilities (and a few other things) and causing issues with tbird.

This commit is contained in:
pfelt
2007-10-11 08:14:54 +00:00
parent e967eb3d67
commit 022d3fe73f
+3 -11
View File
@@ -3388,6 +3388,9 @@ InitializeImapGlobals()
Imap.server.port = 143;
Imap.server.ssl.port = 993;
Imap.server.ssl.enable = FALSE;
Imap.server.ssl.config.options = 0;
Imap.server.ssl.config.options |= SSL_ALLOW_CHAIN;
Imap.server.ssl.config.options |= SSL_ALLOW_SSL3;
Imap.server.threadGroupId = XplGetThreadGroupID();
Imap.server.hostname[0] = '\0';
Imap.server.hostnameLen = 0;
@@ -3738,17 +3741,6 @@ ReadConfiguration(void)
localtime_r(&time_of_day, &ltm);
gm_time_of_day=mktime(&gm);
// not totally sure what acl.enabled == TRUE does?
Imap.command.capability.acl.enabled = FALSE;
Imap.command.capability.len = sprintf(Imap.command.capability.message,
"%s\r\n", "* CAPABILITY IMAP4 IMAP4rev1 AUTH=LOGIN NAMESPACE XSENDER");
Imap.command.capability.ssl.len = sprintf(Imap.command.capability.ssl.message,
"%s\r\n", "* CAPABILITY IMAP4 IMAP4rev1 AUTH=LOGIN NAMESPACE STARTTLS XSENDER LOGINDISABLED");
Imap.server.ssl.config.options = 0;
Imap.server.ssl.config.options |= SSL_ALLOW_CHAIN;
Imap.server.ssl.config.options |= SSL_ALLOW_SSL3;
Imap.server.ssl.enable = TRUE;
gethostname(Imap.server.hostname, sizeof(Imap.server.hostname));
Imap.server.hostnameLen = strlen(Imap.server.hostname);