We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c7c38 commit 8f898a3Copy full SHA for 8f898a3
1 file changed
install/dist/lib/opensuse.lib.php
@@ -91,7 +91,9 @@ function configure_postfix($options = '')
91
} else {
92
$command = 'useradd -g '.$cf['vmail_groupname'].' -u '.$cf['vmail_userid'].' '.$cf['vmail_username'].' -d '.$cf['vmail_mailbox_base'].' -m';
93
caselog("$command &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
94
- }
+ }
95
+
96
+ if($cf['vmail_mailbox_base'] != '' && strlen($cf['vmail_mailbox_base']) >= 10) exec('chown -R '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base']);
97
98
$postconf_commands = array (
99
'myhostname = '.$conf['hostname'],
0 commit comments