update_config: Updated, so that the previous config modifications v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Sat, 05 Nov 2011 21:54:31 +0000
branchv0.6.x
changeset 459 033a0436894f
parent 458 4ff0fa3ba0fa
child 460 e57dd007d69a
update_config: Updated, so that the previous config modifications will be applied to 0.5.2 configurations files.
update_config.py
--- a/update_config.py	Sat Nov 05 21:44:23 2011 +0000
+++ b/update_config.py	Sat Nov 05 21:54:31 2011 +0000
@@ -104,7 +104,7 @@
         cp.remove_section('domdir')
     if cp.has_section('services'):
         for service in cp.options('services'):
-            move_option(cp, 'services.%s'%service, 'account.%s'%service)
+            move_option(cp, 'services.%s' % service, 'domain.%s' % service)
         cp.remove_section('services')
     for src, dst in (('maildir.mode',      'account.directory_mode'),
                      ('maildir.diskusage', 'account.disk_usage'),
@@ -112,6 +112,7 @@
                      ('maildir.folders',   'mailbox.folders'),
                      ('maildir.name',      'mailbox.root'),
                      ('misc.forcedel',     'domain.force_deletion'),
+                     ('misc.transport',    'domain.transport'),
                      ('misc.passwdscheme', 'misc.password_scheme'),
                      ('misc.dovecotvers',  'misc.dovecot_version')):
         move_option(cp, src, dst)