Your message dated Mon, 19 Sep 2016 16:24:08 +0000
with message-id <e1bm1mw-0006qy...@franck.debian.org>
and subject line Bug#681494: fixed in offlineimap 7.0.6+dfsg1-1
has caused the Debian Bug report #681494,
regarding offlineimap: needs option to disable starttls
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
681494: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681494
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: offlineimap
Version: 6.3.4-1
Severity: wishlist
Tags: patch

Dear Maintainer,

I need to connect to a badly configured server that advertises STARTTLS
but is not properly configured for it :(

So I created an option 'tls' which allows me to disable the use of
STARTTLS for this server.

A patch against the above version of offlineimap is enclosed. It may
also work with minor changes against the more recent version.

Regards,

Kapil.

*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python          2.7.3~rc2-1
ii  python-support  1.0.14

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
ii  doc-base         0.10.4
pn  python-kerberos  <none>

-- no debconf information
diff -ur ./imapserver.py /usr/share/pyshared/offlineimap/./imapserver.py
--- ./imapserver.py	2012-07-13 20:22:52.568204625 +0530
+++ /usr/share/pyshared/offlineimap/./imapserver.py	2011-08-11 01:14:58.000000000 +0530
@@ -46,7 +46,7 @@
     GSS_STATE_WRAP = 1
     def __init__(self, config, reposname,
                  username = None, password = None, hostname = None,
-                 port = None, ssl = 1, tls = 1, maxconnections = 1, tunnel = None,
+                 port = None, ssl = 1, maxconnections = 1, tunnel = None,
                  reference = '""', sslclientcert = None, sslclientkey = None,
                  sslcacertfile = None, idlefolders = []):
         self.ui = getglobalui()
@@ -60,7 +60,6 @@
         self.tunnel = tunnel
         self.port = port
         self.usessl = ssl
-        self.usetls = tls
         self.sslclientcert = sslclientcert
         self.sslclientkey = sslclientkey
         self.sslcacertfile = sslcacertfile
@@ -240,7 +239,7 @@
 
                         if not self.gssapi:
                             if 'STARTTLS' in imapobj.capabilities and not\
-                                    self.usessl and self.usetls:
+                                    self.usessl:
                                 self.ui.debug('imap',
                                               'Using STARTTLS connection')
                                 imapobj.starttls()
@@ -502,7 +501,6 @@
             user = self.repos.getuser()
             port = self.repos.getport()
             ssl = self.repos.getssl()
-            tls = self.repos.gettls()
             sslclientcert = self.repos.getsslclientcert()
             sslclientkey = self.repos.getsslclientkey()
             sslcacertfile = self.repos.getsslcacertfile()
@@ -525,7 +523,7 @@
             if not password:
                 password = self.repos.getpassword()
             IMAPServer.__init__(self, self.config, self.repos.getname(),
-                                user, password, host, port, ssl, tls,
+                                user, password, host, port, ssl,
                                 self.repos.getmaxconnections(),
                                 reference = reference,
                                 idlefolders = idlefolders,
diff -ur ./repository/Gmail.py /usr/share/pyshared/offlineimap/./repository/Gmail.py
--- ./repository/Gmail.py	2012-07-13 20:24:24.516208876 +0530
+++ /usr/share/pyshared/offlineimap/./repository/Gmail.py	2011-08-11 01:14:58.000000000 +0530
@@ -54,9 +54,6 @@
     def getssl(self):
         return 1
 
-    def gettls(self):
-        return 1
-
     def getpreauthtunnel(self):
         return None
 
diff -ur ./repository/IMAP.py /usr/share/pyshared/offlineimap/./repository/IMAP.py
--- ./repository/IMAP.py	2012-07-13 20:09:32.384167653 +0530
+++ /usr/share/pyshared/offlineimap/./repository/IMAP.py	2011-08-11 01:14:58.000000000 +0530
@@ -162,9 +162,6 @@
     def getssl(self):
         return self.getconfboolean('ssl', 0)
 
-    def gettls(self):
-        return self.getconfboolean('tls', 0)
-
     def getsslclientcert(self):
         return self.getconf('sslclientcert', None)
 

--- End Message ---
--- Begin Message ---
Source: offlineimap
Source-Version: 7.0.6+dfsg1-1

We believe that the bug you reported is fixed in the latest version of
offlineimap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 681...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ilias Tsitsimpis <i.tsitsim...@gmail.com> (supplier of updated offlineimap 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 19 Sep 2016 15:33:05 +0300
Source: offlineimap
Binary: offlineimap
Architecture: source all
Version: 7.0.6+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Ilias Tsitsimpis <i.tsitsim...@gmail.com>
Changed-By: Ilias Tsitsimpis <i.tsitsim...@gmail.com>
Description:
 offlineimap - IMAP/Maildir synchronization and reader support
Closes: 648862 671271 681494 837904
Changes:
 offlineimap (7.0.6+dfsg1-1) unstable; urgency=medium
 .
   * New upstream release
     (Closes: #837904, #648862, #681494, #671271)
   * Install the systemd unit files provided by upstream, as examples
   * Add python-six to package dependencies
   * Bump versioned dependency on python-imaplib2 to (>= 2.55)
   * Update d/patches
     - Drop Use-imaplib2-package-instead-of-embedded-copy.patch
       There's a new virtual module to use distro-shipped imaplib2
       vs. embedded one.
     - Drop Remove-unused-imports.patch, fixed upstream.
     - Update patches to apply cleanly on new upstream.
   * Update Files-Excluded field in d/copyright.
     The embedded copy of imaplib2 has been renamed to 'bundled_imaplib2.py'.
   * Update d/copyright file (bump Copyright years)
   * Document changes in d/NEWS
     - The sqlite database is the default.
     - Passwords are now expected in Unicode.
     - The PID file is no longer used.
Checksums-Sha1:
 65409390c6299e5fb0ec84b5684ae1bbfa46882a 2115 offlineimap_7.0.6+dfsg1-1.dsc
 50389ea08d9707eba00ee50c0e3df35d808a9942 183065 
offlineimap_7.0.6+dfsg1.orig.tar.gz
 2606567022f62d655661fd1e299ed849133e6493 22132 
offlineimap_7.0.6+dfsg1-1.debian.tar.xz
 61528011f07fcb689f381f11ba30e36f1a0b99ef 159720 
offlineimap_7.0.6+dfsg1-1_all.deb
Checksums-Sha256:
 9a4a75333f51f6698cbe77f3e37903cce7336c3f3108fc080561e93811235cdd 2115 
offlineimap_7.0.6+dfsg1-1.dsc
 41487cb8628cb723ad14c6e73150bb662e4add3aaeaf1fa25c42e01fca75582a 183065 
offlineimap_7.0.6+dfsg1.orig.tar.gz
 b39e72b7cfe23b17889ee69e8500239f164ce331f40897513941c319ef0d7b1e 22132 
offlineimap_7.0.6+dfsg1-1.debian.tar.xz
 ce7e61bb0a70f5596604176f8e9b0c112dddeaf8175b2906f44e8e7f1790a9b4 159720 
offlineimap_7.0.6+dfsg1-1_all.deb
Files:
 d97a63ffa7fc7a12173672259a18124e 2115 mail optional 
offlineimap_7.0.6+dfsg1-1.dsc
 4906db5bfc924c4f7fac7d7a629c4f7a 183065 mail optional 
offlineimap_7.0.6+dfsg1.orig.tar.gz
 793dca70b8613cc11b976bc9458c387d 22132 mail optional 
offlineimap_7.0.6+dfsg1-1.debian.tar.xz
 b4261a34ff8ec375876c02cf7a675915 159720 mail optional 
offlineimap_7.0.6+dfsg1-1_all.deb

-----BEGIN PGP SIGNATURE-----

iQI0BAEBCgAeBQJX3/OQFxxpLnRzaXRzaW1waXNAZ21haWwuY29tAAoJENeoZ4DM
ZEA85dIP/3gl5GC00FrnBiMiF1izVQbO+UWLnetvA0TuljVBvPS8QxSIx1p8GhjR
XcoW02TbZiWT/hmlmMeZnQXQFK6cLD8d47lDGFb/cV3h76ysP+L1+qsFn9yvUZoq
KTJIPUO1MeyjPHjIm7VzQBHvCBG/5ozqk9oGapu7VWKLOUYHD6i+EYKj5Udr1Ux0
DsxLej1ajyqMrl7vJkUAyZMV72m9GXf7tIbMYPG81tV4qpivCOT1czHyl2lclCXF
xoEv0gr53mBEnTlOub4iIzzfDGn0TD4MhdmrHRadgLFiOKuePjhiFRrjnvGMKmr6
7PAPxLMvmPmq8SDwAd7+WGwlOoSUO+UdKVWmeJyECwbUZEVZmHnrSsH/B4xm9MbV
JaIPLnHwK6TWsnyI3R10DIWRqPdL8dE9u5FUevN5/dJBQ1PiccjBmCNEbPF3pnkY
yjGA/bzyeZQ/8G+k9B+usyZ1RG+hT0ayXfukRL1uvOhniVLbqkxBds9bcGe07wZ1
LyPdpw8lVkED8LqRgeVjcZNCdj8rUMf3bKt3/F0phb2OpxKNC5mNzY7UD5Wd2K2O
l2foC08zDWD2mUYtPWiGegVL63qHv6EvDJaMxBjV9L9CVzjUCM0We1e4F/P5thd4
3XCsNyZHcGgw28+un9h9yQTGIOBzgiZW4xdBQi5Ju3I3JaYj938B
=HwZB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to