VirtualMailManager/maillocation.py
branchv0.6.x
changeset 267 084300a00ee1
parent 265 3c0173418d5d
child 295 18086c6a2521
equal deleted inserted replaced
266:e14c345b44a1 267:084300a00ee1
    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='1.0.0', postfix=True, prefix='maildir:',
    29     MAILDIR_ID: dict(dovecot_version=0x10000f00, postfix=True,
    30                      directory=MAILDIR_NAME, mid=MAILDIR_ID),
    30                      prefix='maildir:', directory=MAILDIR_NAME,
    31     MBOX_ID: dict(dovecot_version='1.0.0', postfix=True, prefix='mbox:',
    31                      mid=MAILDIR_ID),
       
    32     MBOX_ID: dict(dovecot_version=0x10000f00, postfix=True, prefix='mbox:',
    32                   directory=MBOX_NAME, mid=MBOX_ID),
    33                   directory=MBOX_NAME, mid=MBOX_ID),
    33     MDBOX_ID: dict(dovecot_version='2.0.alpha1', postfix=False,
    34     MDBOX_ID: dict(dovecot_version='0x20000a01', postfix=False,
    34                    prefix='mdbox:', directory=MDBOX_NAME, mid=MDBOX_ID),
    35                    prefix='mdbox:', directory=MDBOX_NAME, mid=MDBOX_ID),
    35     SDBOX_ID: dict(dovecot_version='1.0.0', postfix=False, prefix='dbox:',
    36     SDBOX_ID: dict(dovecot_version=0x10000f00, 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,