{% extends "layout.html" %} {% from "macros/form_inputs.html" import input_submit, input_csrf_token with context %} {% from "macros/general.html" import display_subnav, show_pages with context %} {% from "macros/iredapd.html" import display_throttle_setting with context %} {% from "macros/msg_handlers.html" import throttle_msg_handler with context %} {% block title %}{{ _('Throttle') }}{% endblock %} {% block navlinks_system %}class="active"{% endblock %} {% block breadcrumb %} {% set crumbs = [] %} {% if session.get('is_global_admin') and session.get('amavisd_enable_policy_lookup') %} {% set crumbs = crumbs + [(ctx.homepath + '/system/spampolicy', _('Global Spam Policy')), (ctx.homepath + '/system/wblist', _('Whitelists & Blacklists')), (ctx.homepath + '/system/greylisting', _('Greylisting')), ('active', ctx.homepath + '/system/throttle', _('Throttle')), ] %} {% endif %} {{ display_subnav(crumbs) }} {% endblock %} {% block main %} {# Show system message #} {{ throttle_msg_handler(msg) }}
{{ input_csrf_token() }} {{ display_throttle_setting( account='@.', setting=outbound_setting, inout_type='outbound', ) }} {{ display_throttle_setting( account='@.', setting=inbound_setting, inout_type='inbound', with_left_border=true, ) }}
  • {{ _('This is default throttling applied to all individual accounts.') }}
  • {{ _('You can set per-domain and per-user throttling in account profile page.') }}
  • {{ _('Per-domain throttling has higher priority than default throttling set in this page, per-user throttling has the highest priority.') }}
{#-- .col1-3 --#}
{{ input_submit() }}
{# .box-wrap #}
{# .box-body #}
{# .content-box #} {% endblock main %}