# Per-authenticated-user outbound rate limits (anti-spam / abuse control).
# Values are overwritten by manage-limits.sh / installer when limits change.
rates {
  send_mail = {
    selector = "user";
    bucket = [
      {
        burst = __SEND_RATE_BURST__;
        rate = "__SEND_RATE_PER_MINUTE__ / 1m";
      },
      {
        burst = __SEND_RATE_BURST__;
        rate = "__SEND_RATE_PER_HOUR__ / 1h";
      },
      {
        burst = __SEND_RATE_BURST__;
        rate = "__SEND_RATE_PER_DAY__ / 1d";
      },
      {
        burst = __SEND_RATE_BURST__;
        rate = "__SEND_RATE_PER_WEEK__ / 7d";
      },
      {
        burst = __SEND_RATE_BURST__;
        rate = "__SEND_RATE_PER_MONTH__ / 30d";
      }
    ];
  }
}
