Commit 3fa87b5f authored by mh's avatar mh
Browse files

add a way to configure different ratelimits per hosting

parent 6de5b3b9
...@@ -215,6 +215,13 @@ define webhosting::common( ...@@ -215,6 +215,13 @@ define webhosting::common(
web_group => $real_gid_name, web_group => $real_gid_name,
options => $real_user_scripts_options, options => $real_user_scripts_options,
} }
if 'mail_ratelimit' in $configuration {
exim::ratelimit::localforward::entry{
$real_run_uid_name:
ratelimit => $configuration['mail_ratelimit'];
}
}
} }
if ($git_repo != 'absent') and ($ensure != 'absent') { if ($git_repo != 'absent') and ($ensure != 'absent') {
webhosting::utils::clone{ webhosting::utils::clone{
......
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