VirtualMailManager/maillocation.py
branchv0.6.x
changeset 265 3c0173418d5d
parent 264 04fea4d8b900
child 267 084300a00ee1
equal deleted inserted replaced
264:04fea4d8b900 265:3c0173418d5d
    24 MBOX_NAME = 'mail'
    24 MBOX_NAME = 'mail'
    25 MDBOX_NAME = 'mdbox'
    25 MDBOX_NAME = 'mdbox'
    26 SDBOX_NAME = 'dbox'
    26 SDBOX_NAME = 'dbox'
    27 
    27 
    28 _storage = {
    28 _storage = {
    29     MAILDIR_ID: dict(dovecot_version=0x10000f0, postfix=True,
    29     MAILDIR_ID: dict(dovecot_version='1.0.0', postfix=True, prefix='maildir:',
    30                      prefix='maildir:', directory=MAILDIR_NAME,
    30                      directory=MAILDIR_NAME, mid=MAILDIR_ID),
    31                      mid=MAILDIR_ID),
    31     MBOX_ID: dict(dovecot_version='1.0.0', postfix=True, prefix='mbox:',
    32     MBOX_ID: dict(dovecot_version=0x10000f0, postfix=True, prefix='mbox:',
       
    33                   directory=MBOX_NAME, mid=MBOX_ID),
    32                   directory=MBOX_NAME, mid=MBOX_ID),
    34     MDBOX_ID: dict(dovecot_version=0x20000a1, postfix=False, prefix='mdbox:',
    33     MDBOX_ID: dict(dovecot_version='2.0.alpha1', postfix=False,
    35                    directory=MDBOX_NAME, mid=MDBOX_ID),
    34                    prefix='mdbox:', directory=MDBOX_NAME, mid=MDBOX_ID),
    36     SDBOX_ID: dict(dovecot_version=0x10000f0, postfix=False, prefix='dbox:',
    35     SDBOX_ID: dict(dovecot_version='1.0.0', postfix=False, prefix='dbox:',
    37                    directory=SDBOX_NAME, mid=SDBOX_ID),
    36                    directory=SDBOX_NAME, mid=SDBOX_ID),
    38 }
    37 }
    39 
    38 
    40 _format_id = {
    39 _format_id = {
    41     'maildir': MAILDIR_ID,
    40     'maildir': MAILDIR_ID,