We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee3e45 commit c8b6f25Copy full SHA for c8b6f25
install/lib/installer_base.lib.php
@@ -1050,7 +1050,7 @@ public function configure_postfix($options = '') {
1050
$regex = "/^maildrop unix.*pipe flags=DRhu user=vmail argv=\\/usr\\/bin\\/maildrop -d ".$cf['vmail_username']." \\$\{extension} \\$\{recipient} \\$\{user} \\$\{nexthop} \\$\{sender}/";
1051
$configfile = $config_dir.'/master.cf';
1052
if($this->get_postfix_service('maildrop', 'unix')) {
1053
- exec ("postconf -M maildrop.unix &> /dev/null", $out, $ret);
+ exec ("postconf -M maildrop.unix 2> /dev/null", $out, $ret);
1054
$change_maildrop_flags = @(preg_match($regex, $out[0]) && $out[0] !='')?false:true;
1055
} else {
1056
$change_maildrop_flags = @(preg_match($regex, $configfile))?false:true;
0 commit comments