From f737844403ab1d5ac9eec0c286480c53cf36deb2 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Fri, 24 Jun 2011 12:14:44 +0200 Subject: [PATCH] The "from" parameter now uses the "default" connection by default. see #140 --- tools/pfxadmin_migrate/migrate.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/pfxadmin_migrate/migrate.py b/tools/pfxadmin_migrate/migrate.py index 35ee973b3..d798b6bf1 100755 --- a/tools/pfxadmin_migrate/migrate.py +++ b/tools/pfxadmin_migrate/migrate.py @@ -11,12 +11,11 @@ database to a Modoboa one. As the two products do not share the same schema, some informations will be lost on the new database. Here is the list: * Description, transport and backup MX for domains - * Dates (creation/modification) * Logs * Fetchmail table -Mailboxes organization on the filesystem will be changed. PostfixAdmin -uses the following layout:: +Mailboxes organisation on the filesystem will change. PostfixAdmin +uses the following layout:: /domain.tld/user@domain.tld/ @@ -191,7 +190,7 @@ if __name__ == "__main__": parser = OptionParser() parser.add_option("-f", "--from", dest="_from", default="pfxadmin", help="Name of postfixadmin db connection declared in settings.py") - parser.add_option("-t", "--to", default="modoboa", + parser.add_option("-t", "--to", default="default", help="Name of the Modoboa db connection declared in settings.py") parser.add_option("-r", "--rename-dirs", action="store_true", help="Rename mailbox directories (default is no)")