VirtualMailManager/maillocation.py
branchv0.6.x
changeset 264 04fea4d8b900
parent 228 a7b000ca4ac9
child 265 3c0173418d5d
equal deleted inserted replaced
263:07fdc93dde9f 264:04fea4d8b900
    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=10, postfix=True, prefix='maildir:',
    29     MAILDIR_ID: dict(dovecot_version=0x10000f0, postfix=True,
    30                      directory=MAILDIR_NAME, mid=MAILDIR_ID),
    30                      prefix='maildir:', directory=MAILDIR_NAME,
    31     MBOX_ID: dict(dovecot_version=10, postfix=True, prefix='mbox:',
    31                      mid=MAILDIR_ID),
       
    32     MBOX_ID: dict(dovecot_version=0x10000f0, postfix=True, prefix='mbox:',
    32                   directory=MBOX_NAME, mid=MBOX_ID),
    33                   directory=MBOX_NAME, mid=MBOX_ID),
    33     MDBOX_ID: dict(dovecot_version=20, postfix=False, prefix='mdbox:',
    34     MDBOX_ID: dict(dovecot_version=0x20000a1, postfix=False, prefix='mdbox:',
    34                    directory=MDBOX_NAME, mid=MDBOX_ID),
    35                    directory=MDBOX_NAME, mid=MDBOX_ID),
    35     SDBOX_ID: dict(dovecot_version=12, postfix=False, prefix='dbox:',
    36     SDBOX_ID: dict(dovecot_version=0x10000f0, postfix=False, prefix='dbox:',
    36                    directory=SDBOX_NAME, mid=SDBOX_ID),
    37                    directory=SDBOX_NAME, mid=SDBOX_ID),
    37 }
    38 }
    38 
    39 
    39 _format_id = {
    40 _format_id = {
    40     'maildir': MAILDIR_ID,
    41     'maildir': MAILDIR_ID,