VirtualMailManager/mailbox.py
branchv0.7.x
changeset 721 2f25d1cf8502
parent 711 2a75058fc064
--- a/VirtualMailManager/mailbox.py	Tue Feb 11 23:03:58 2014 +0000
+++ b/VirtualMailManager/mailbox.py	Wed Feb 12 21:28:02 2014 +0000
@@ -244,12 +244,12 @@
         For additional mailboxes use the add_boxes() method.
         """
         assert cfg_dget('misc.dovecot_version') >= \
-                account.mail_location.dovecot_version
+            account.mail_location.dovecot_version
         super(SingleDbox, self).__init__(account)
 
     def _doveadm_create(self, mailboxes, subscribe):
         """Wrap around Dovecot's doveadm"""
-        cmd_args = [cfg_dget('bin.dovecotpw'), 'mailbox', 'create', '-u',
+        cmd_args = [cfg_dget('bin.doveadm'), 'mailbox', 'create', '-u',
                     str(self._user.address)]
         if subscribe:
             cmd_args.append('-s')