Commit 73b93e58 authored by vogelor's avatar vogelor
Browse files

little flaw in configure maildrop

parent b2b4a9e2
...@@ -429,8 +429,8 @@ class installer_base { ...@@ -429,8 +429,8 @@ class installer_base {
} }
$configfile = $config_dir.'/'; $configfile = $config_dir.'/';
$content = rf($configfile); $content = rf($configfile);
$content = str_replace(' flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}', $content = str_replace('flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}',
' flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}', 'flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
$content); $content);
wf($configfile, $content); wf($configfile, $content);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment