update_config.py
branchv0.6.x
changeset 298 ee89399346cb
parent 270 d3389645a91d
child 358 6fabb9cd212d
equal deleted inserted replaced
297:e21ceaabe871 298:ee89399346cb
   102         cp.remove_section('services')
   102         cp.remove_section('services')
   103     for src, dst in (('maildir.mode',      'account.directory_mode'),
   103     for src, dst in (('maildir.mode',      'account.directory_mode'),
   104                      ('maildir.diskusage', 'account.disk_usage'),
   104                      ('maildir.diskusage', 'account.disk_usage'),
   105                      ('maildir.delete',    'account.delete_directory'),
   105                      ('maildir.delete',    'account.delete_directory'),
   106                      ('maildir.folders',   'mailbox.folders'),
   106                      ('maildir.folders',   'mailbox.folders'),
       
   107                      ('maildir.name',      'mailbox.root'),
   107                      ('misc.forcedel',     'domain.force_deletion'),
   108                      ('misc.forcedel',     'domain.force_deletion'),
   108                      ('misc.passwdscheme', 'misc.password_scheme'),
   109                      ('misc.passwdscheme', 'misc.password_scheme'),
   109                      ('misc.dovecotvers',  'misc.dovecot_version')):
   110                      ('misc.dovecotvers',  'misc.dovecot_version')):
   110         move_option(cp, src, dst)
   111         move_option(cp, src, dst)
   111     cp.remove_section('maildir')
   112     cp.remove_section('maildir')