diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | fetchmailconf | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -5,6 +5,7 @@ * Attempted fix for Joop Susan's ENOTCONN bug. * Fix for NO response during SIZE fetches for M$ Exchange IMAP server. * Thomas Zajic <zlatko@gmx.at> sent a change that copes with GMX X-UIDLs. +* Fix fetchmailconf's handling of ssl attributes when SSL is not configured. fetchmail-5.2.7 (Sun Feb 6 20:45:41 EST 2000), 18517 lines: * Updated FAQ. diff --git a/fetchmailconf b/fetchmailconf index 9d820309..245a6170 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -302,11 +302,11 @@ class User: res = res + " fetchlimit " + `self.fetchlimit` if self.batchlimit != UserDefaults.batchlimit: res = res + " batchlimit " + `self.batchlimit` - if self.ssl != UserDefaults.ssl: + if self.ssl and self.ssl != UserDefaults.ssl: res = res + flag2str(self.ssl, 'ssl') - if self.sslkey != UserDefaults.sslkey: + if self.sslkey and self.sslkey != UserDefaults.sslkey: res = res + " sslkey " + `self.sslkey` - if self.sslcert != UserDefaults.sslcert: + if self.sslcert and self.sslcert != UserDefaults.sslcert: res = res + " ssl " + `self.sslcert` if self.expunge != UserDefaults.expunge: res = res + " expunge " + `self.expunge` |