Commit 557480fd authored by Fantu's avatar Fantu

Fix update of mailbox_size_limit and message_size_limit, mb to byte

parent 86f1304d
......@@ -102,8 +102,8 @@ class postfix_server_plugin {
exec("postconf -e 'relayhost ='");
}
exec("postconf -e 'mailbox_size_limit = ".intval($mail_config["mailbox_size_limit"])."'");
exec("postconf -e 'message_size_limit = ".intval($mail_config["message_size_limit"])."'");
exec("postconf -e 'mailbox_size_limit = ".intval($mail_config["mailbox_size_limit"]*1024*1024)."'");
exec("postconf -e 'message_size_limit = ".intval($mail_config["message_size_limit"]*1024*1024)."'");
}
......
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