Skip to content

Commit 73b93e5

Browse files
author
vogelor
committed
little flaw in configure maildrop
1 parent b2b4a9e commit 73b93e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ public function configure_postfix($options = '')
429429
}
430430
$configfile = $config_dir.'/master.cf';
431431
$content = rf($configfile);
432-
$content = str_replace(' flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}',
433-
' flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
432+
$content = str_replace('flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}',
433+
'flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
434434
$content);
435435
wf($configfile, $content);
436436

0 commit comments

Comments
 (0)