VirtualMailManager/Account.py
branchv0.6.x
changeset 265 3c0173418d5d
parent 264 04fea4d8b900
child 266 e14c345b44a1
--- a/VirtualMailManager/Account.py	Sun Apr 25 04:51:14 2010 +0000
+++ b/VirtualMailManager/Account.py	Mon Apr 26 02:15:36 2010 +0000
@@ -94,7 +94,7 @@
         self._chk_state()
         if service not in (None, 'all', 'imap', 'pop3', 'sieve', 'smtp'):
             raise AErr(_(u"Unknown service: '%s'.") % service, UNKNOWN_SERVICE)
-        if dcvers > 0x10100f0:
+        if dcvers >= 0x10200b2:
             sieve_col = 'sieve'
         else:
             sieve_col = 'managesieve'
@@ -230,7 +230,7 @@
                        ACCOUNT_MISSING_PASSWORD)
         assert all(isinstance(service, bool) for service in (smtp, pop3, imap,
                                                              sieve))
-        if dcvers > 0x10100f0:
+        if dcvers >= 0x10200b2:
             sieve_col = 'sieve'
         else:
             sieve_col = 'managesieve'
@@ -291,7 +291,7 @@
           `dovecot --version`.
         """
         self._chk_state()
-        if dcvers > 0x10100f0:
+        if dcvers >= 0x10200b2:
             sieve_col = 'sieve'
         else:
             sieve_col = 'managesieve'