mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Merge pull request #1350 from fyfe/fix/reorder-doveadm-paramteres
fix order of doveadm paramters
This commit is contained in:
@@ -158,11 +158,11 @@ class Mailbox(AdminObject):
|
||||
if curuser != mbowner:
|
||||
options["sudo_user"] = mbowner
|
||||
code, output = exec_cmd(
|
||||
"doveadm user %s -f home" % self.full_address, **options
|
||||
"doveadm user -f home %s" % self.full_address, **options
|
||||
)
|
||||
if code:
|
||||
raise lib_exceptions.InternalError(
|
||||
_(u"Failed to retrieve mailbox location (%s)") % output)
|
||||
_("Failed to retrieve mailbox location (%s)") % output)
|
||||
self.__mail_home = output.strip()
|
||||
return self.__mail_home
|
||||
|
||||
|
||||
Reference in New Issue
Block a user