NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Trace

data/conf/rspamd/lua/ratelimit.lua

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

ratelimit.lua on main
Author Date Commit Line Code
André about 8 years ago 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
1
local custom_keywords = {}
Open commit View diff
1 local custom_keywords = {}
andryyy almost 9 years ago b1213c5

[Rspamd] Dynamic ratelimit fixed, removed async redis request; Ready to implement per-user ratelimits via UI (tbd)

Full commit hash
b1213c51d70c4c1a52114db277dfa0b62064e4c4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
2
Open commit View diff
2
André about 8 years ago 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
3
custom_keywords.mailcow = function(task)
Open commit View diff
3 custom_keywords.mailcow = function(task)
andryyy almost 9 years ago e47feef

[Rspamd] Add custom directory for own files

Full commit hash
e47feeffd618310f570917ac63e6f4eb7d5e8895
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
4
  local rspamd_logger = require "rspamd_logger"
Open commit View diff
4 local rspamd_logger = require "rspamd_logger"
andryyy almost 9 years ago b1213c5

[Rspamd] Dynamic ratelimit fixed, removed async redis request; Ready to implement per-user ratelimits via UI (tbd)

Full commit hash
b1213c51d70c4c1a52114db277dfa0b62064e4c4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
5
  local dyn_rl_symbol = task:get_symbol("DYN_RL")
Open commit View diff
5 local dyn_rl_symbol = task:get_symbol("DYN_RL")
same change b1213c5

[Rspamd] Dynamic ratelimit fixed, removed async redis request; Ready to implement per-user ratelimits via UI (tbd)

Full commit hash
b1213c51d70c4c1a52114db277dfa0b62064e4c4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
6
  if dyn_rl_symbol then
Open commit View diff
6 if dyn_rl_symbol then
same change b1213c5

[Rspamd] Dynamic ratelimit fixed, removed async redis request; Ready to implement per-user ratelimits via UI (tbd)

Full commit hash
b1213c51d70c4c1a52114db277dfa0b62064e4c4
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
7
    local rl_value = dyn_rl_symbol[1].options[1]
Open commit View diff
7 local rl_value = dyn_rl_symbol[1].options[1]
André about 8 years ago 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
8
    local rl_object = dyn_rl_symbol[1].options[2]
Open commit View diff
8 local rl_object = dyn_rl_symbol[1].options[2]
same change 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
9
    if rl_value and rl_object then
Open commit View diff
9 if rl_value and rl_object then
same change 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
10
      rspamd_logger.infox(rspamd_config, "DYN_RL symbol has value %s for object %s, returning %s...", rl_value, rl_object, "rs_dynrl_" .. rl_object)
Open commit View diff
10 rspamd_logger.infox(rspamd_config, "DYN_RL symbol has value %s for object %s, returning %s...", rl_value, rl_object, "rs_dynrl_" .. rl_object)
same change 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
11
      return "rs_dynrl_" .. rl_object, rl_value
Open commit View diff
11 return "rs_dynrl_" .. rl_object, rl_value
same change 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
12
    end
Open commit View diff
12 end
andryyy almost 9 years ago e47feef

[Rspamd] Add custom directory for own files

Full commit hash
e47feeffd618310f570917ac63e6f4eb7d5e8895
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
13
  end
Open commit View diff
13 end
same change e47feef

[Rspamd] Add custom directory for own files

Full commit hash
e47feeffd618310f570917ac63e6f4eb7d5e8895
Author
andryyy <[email protected]>
Date
almost 9 years ago
Selected line
14
end
Open commit View diff
14 end
André about 8 years ago 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
15
Open commit View diff
15
same change 882ee5f

[Rspamd] Re-use fixed new ratelimit

Full commit hash
882ee5fee6581ba5c673d50a43ab897196cb9ed0
Author
André <[email protected]>
Date
about 8 years ago
Selected line
16
return custom_keywords
Open commit View diff
16 return custom_keywords