Commit 401870f2 authored by Marius Cramer's avatar Marius Cramer
Browse files

Implemented: FS#3291 - Change owner of .sieve file to vmail

parent ad955792
......@@ -205,6 +205,7 @@ class maildeliver_plugin {
$tpl->setVar('addresses', $address_str);
file_put_contents($sieve_file, $tpl->grab());
exec('chown '.$mail_config['mailuser_name'].':'.$mail_config['mailuser_group'].' '.escapeshellcmd($sieve_file));
unset($tpl);
......
Markdown is supported
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