Skip to content

Commit c8b6f25

Browse files
author
Till Brehm
committed
Fixed installer warning: postconf: warning: unmatched request: "maildrop.unix"
1 parent 7ee3e45 commit c8b6f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ public function configure_postfix($options = '') {
10501050
$regex = "/^maildrop unix.*pipe flags=DRhu user=vmail argv=\\/usr\\/bin\\/maildrop -d ".$cf['vmail_username']." \\$\{extension} \\$\{recipient} \\$\{user} \\$\{nexthop} \\$\{sender}/";
10511051
$configfile = $config_dir.'/master.cf';
10521052
if($this->get_postfix_service('maildrop', 'unix')) {
1053-
exec ("postconf -M maildrop.unix &> /dev/null", $out, $ret);
1053+
exec ("postconf -M maildrop.unix 2> /dev/null", $out, $ret);
10541054
$change_maildrop_flags = @(preg_match($regex, $out[0]) && $out[0] !='')?false:true;
10551055
} else {
10561056
$change_maildrop_flags = @(preg_match($regex, $configfile))?false:true;

0 commit comments

Comments
 (0)