VMM/maillocation: Use the hex version, since we are able to convert v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Wed, 28 Apr 2010 02:24:23 +0000
branchv0.6.x
changeset 267 084300a00ee1
parent 266 e14c345b44a1
child 268 beb8f4421f92
VMM/maillocation: Use the hex version, since we are able to convert it to an string, in case of a failure.
VirtualMailManager/maillocation.py
--- a/VirtualMailManager/maillocation.py	Tue Apr 27 22:49:46 2010 +0000
+++ b/VirtualMailManager/maillocation.py	Wed Apr 28 02:24:23 2010 +0000
@@ -26,13 +26,14 @@
 SDBOX_NAME = 'dbox'
 
 _storage = {
-    MAILDIR_ID: dict(dovecot_version='1.0.0', postfix=True, prefix='maildir:',
-                     directory=MAILDIR_NAME, mid=MAILDIR_ID),
-    MBOX_ID: dict(dovecot_version='1.0.0', postfix=True, prefix='mbox:',
+    MAILDIR_ID: dict(dovecot_version=0x10000f00, postfix=True,
+                     prefix='maildir:', directory=MAILDIR_NAME,
+                     mid=MAILDIR_ID),
+    MBOX_ID: dict(dovecot_version=0x10000f00, postfix=True, prefix='mbox:',
                   directory=MBOX_NAME, mid=MBOX_ID),
-    MDBOX_ID: dict(dovecot_version='2.0.alpha1', postfix=False,
+    MDBOX_ID: dict(dovecot_version='0x20000a01', postfix=False,
                    prefix='mdbox:', directory=MDBOX_NAME, mid=MDBOX_ID),
-    SDBOX_ID: dict(dovecot_version='1.0.0', postfix=False, prefix='dbox:',
+    SDBOX_ID: dict(dovecot_version=0x10000f00, postfix=False, prefix='dbox:',
                    directory=SDBOX_NAME, mid=SDBOX_ID),
 }