public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
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/rspamd.local.lua
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
rspamd.local.lua
on main
Author
Date
Commit
Line
Code
andryyy
over 9 years ago
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 1
rspamd_config.MAILCOW_AUTH = {
rspamd_config.MAILCOW_AUTH = {
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 2
callback = function(task)
callback = function(task)
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 3
local uname = task:get_user()
local uname = task:get_user()
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 4
if uname then
if uname then
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 5
return 1
return 1
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 6
end
end
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 7
end
end
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 8
}
}
same change
5f04dc0
mailcow dockerized
- Full commit hash
5f04dc0b04d71c4fed5965422c7a694377686804- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 9
andryyy
over 6 years ago
c9f455a
[Rspamd] Move monitoring hosts to monitoring_nolog.map file
- Full commit hash
c9f455a2b1c17b70ea0d8d888149ec6426ebdc05- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 10
local monitoring_hosts = rspamd_config:add_map{
local monitoring_hosts = rspamd_config:add_map{
same change
c9f455a
[Rspamd] Move monitoring hosts to monitoring_nolog.map file
- Full commit hash
c9f455a2b1c17b70ea0d8d888149ec6426ebdc05- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 11
url = "/etc/rspamd/custom/monitoring_nolog.map",
url = "/etc/rspamd/custom/monitoring_nolog.map",
same change
c9f455a
[Rspamd] Move monitoring hosts to monitoring_nolog.map file
- Full commit hash
c9f455a2b1c17b70ea0d8d888149ec6426ebdc05- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 12
description = "Monitoring hosts",
description = "Monitoring hosts",
same change
c9f455a
[Rspamd] Move monitoring hosts to monitoring_nolog.map file
- Full commit hash
c9f455a2b1c17b70ea0d8d888149ec6426ebdc05- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 13
type = "regexp"
type = "regexp"
same change
c9f455a
[Rspamd] Move monitoring hosts to monitoring_nolog.map file
- Full commit hash
c9f455a2b1c17b70ea0d8d888149ec6426ebdc05- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 14
}
}
andryyy
over 6 years ago
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 15
andryyy
almost 6 years ago
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 16
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 17
name = 'SMTP_ACCESS',
name = 'SMTP_ACCESS',
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 18
type = 'postfilter',
type = 'postfilter',
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 19
callback = function(task)
callback = function(task)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 20
local util = require("rspamd_util")
local util = require("rspamd_util")
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 21
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 22
local rspamd_ip = require 'rspamd_ip'
local rspamd_ip = require 'rspamd_ip'
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 23
local uname = task:get_user()
local uname = task:get_user()
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 24
local limited_access = task:get_symbol("SMTP_LIMITED_ACCESS")
local limited_access = task:get_symbol("SMTP_LIMITED_ACCESS")
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 25
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 26
if not uname then
if not uname then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 27
return false
return false
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 28
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 29
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 30
if not limited_access then
if not limited_access then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 31
return false
return false
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 32
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 33
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 34
local hash_key = 'SMTP_ALLOW_NETS_' .. uname
local hash_key = 'SMTP_ALLOW_NETS_' .. uname
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 35
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 36
local redis_params = rspamd_parse_redis_server('smtp_access')
local redis_params = rspamd_parse_redis_server('smtp_access')
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 37
local ip = task:get_from_ip()
local ip = task:get_from_ip()
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 38
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 39
if ip == nil or not ip:is_valid() then
if ip == nil or not ip:is_valid() then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 40
return false
return false
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 41
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 42
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 43
local from_ip_string = tostring(ip)
local from_ip_string = tostring(ip)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 44
smtp_access_table = {from_ip_string}
smtp_access_table = {from_ip_string}
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 45
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 46
local maxbits = 128
local maxbits = 128
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 47
local minbits = 32
local minbits = 32
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 48
if ip:get_version() == 4 then
if ip:get_version() == 4 then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 49
maxbits = 32
maxbits = 32
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 50
minbits = 8
minbits = 8
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 51
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 52
for i=maxbits,minbits,-1 do
for i=maxbits,minbits,-1 do
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 53
local nip = ip:apply_mask(i):to_string() .. "/" .. i
local nip = ip:apply_mask(i):to_string() .. "/" .. i
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 54
table.insert(smtp_access_table, nip)
table.insert(smtp_access_table, nip)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 55
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 56
local function smtp_access_cb(err, data)
local function smtp_access_cb(err, data)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 57
if err then
if err then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 58
rspamd_logger.infox(rspamd_config, "smtp_access query request for ip %s returned invalid or empty data (\"%s\") or error (\"%s\")", ip, data, err)
rspamd_logger.infox(rspamd_config, "smtp_access query request for ip %s returned invalid or empty data (\"%s\") or error (\"%s\")", ip, data, err)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 59
return false
return false
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 60
else
else
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 61
rspamd_logger.infox(rspamd_config, "checking ip %s for smtp_access in %s", from_ip_string, hash_key)
rspamd_logger.infox(rspamd_config, "checking ip %s for smtp_access in %s", from_ip_string, hash_key)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 62
for k,v in pairs(data) do
for k,v in pairs(data) do
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 63
if (v and v ~= userdata and v == '1') then
if (v and v ~= userdata and v == '1') then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 64
rspamd_logger.infox(rspamd_config, "found ip in smtp_access map")
rspamd_logger.infox(rspamd_config, "found ip in smtp_access map")
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 65
task:insert_result(true, 'SMTP_ACCESS', 0.0, from_ip_string)
task:insert_result(true, 'SMTP_ACCESS', 0.0, from_ip_string)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 66
return true
return true
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 67
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 68
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 69
rspamd_logger.infox(rspamd_config, "couldnt find ip in smtp_access map")
rspamd_logger.infox(rspamd_config, "couldnt find ip in smtp_access map")
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 70
task:insert_result(true, 'SMTP_ACCESS', 999.0, from_ip_string)
task:insert_result(true, 'SMTP_ACCESS', 999.0, from_ip_string)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 71
return true
return true
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 72
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 73
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 74
table.insert(smtp_access_table, 1, hash_key)
table.insert(smtp_access_table, 1, hash_key)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 75
local redis_ret_user = rspamd_redis_make_request(task,
local redis_ret_user = rspamd_redis_make_request(task,
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 76
redis_params, -- connect params
redis_params, -- connect params
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 77
hash_key, -- hash key
hash_key, -- hash key
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 78
false, -- is write
false, -- is write
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 79
smtp_access_cb, --callback
smtp_access_cb, --callback
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 80
'HMGET', -- command
'HMGET', -- command
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 81
smtp_access_table -- arguments
smtp_access_table -- arguments
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 82
)
)
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 83
if not redis_ret_user then
if not redis_ret_user then
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 84
rspamd_logger.infox(rspamd_config, "cannot check smtp_access redis map")
rspamd_logger.infox(rspamd_config, "cannot check smtp_access redis map")
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 85
end
end
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 86
end,
end,
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 87
priority = 10
priority = 10
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 88
})
})
same change
c355bc2
[Rspamd] Prepare SMTP ip restriction, WIP
- Full commit hash
c355bc2b6992786f408ee4bfe49155f71a17cc19- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 89
andryyy
over 5 years ago
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 90
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 91
name = 'POSTMASTER_HANDLER',
name = 'POSTMASTER_HANDLER',
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 92
type = 'prefilter',
type = 'prefilter',
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 93
callback = function(task)
callback = function(task)
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 94
local rcpts = task:get_recipients('smtp')
local rcpts = task:get_recipients('smtp')
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 95
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 96
local lua_util = require "lua_util"
local lua_util = require "lua_util"
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 97
local from = task:get_from(1)
local from = task:get_from(1)
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 98
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 99
-- not applying to mails with more than one rcpt to avoid bypassing filters by addressing postmaster
-- not applying to mails with more than one rcpt to avoid bypassing filters by addressing postmaster
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 100
if rcpts and #rcpts == 1 then
if rcpts and #rcpts == 1 then
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 101
for _,rcpt in ipairs(rcpts) do
for _,rcpt in ipairs(rcpts) do
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 102
local rcpt_split = rspamd_str_split(rcpt['addr'], '@')
local rcpt_split = rspamd_str_split(rcpt['addr'], '@')
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 103
if #rcpt_split == 2 then
if #rcpt_split == 2 then
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 104
if rcpt_split[1] == 'postmaster' then
if rcpt_split[1] == 'postmaster' then
Dmitriy Alekseev
12 months ago
842cb23
[Rspamd] Fill module name for set_pre_result actions (#6630)
- Full commit hash
842cb235b610c54f7eb5ae9337ca36cfe997fb40- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 12 months ago
- Selected line
- 105
task:set_pre_result('accept', 'whitelisting postmaster smtp rcpt', 'postmaster')
task:set_pre_result('accept', 'whitelisting postmaster smtp rcpt', 'postmaster')
andryyy
over 5 years ago
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 106
return
return
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 107
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 108
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 109
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 110
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 111
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 112
if from then
if from then
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 113
for _,fr in ipairs(from) do
for _,fr in ipairs(from) do
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 114
local fr_split = rspamd_str_split(fr['addr'], '@')
local fr_split = rspamd_str_split(fr['addr'], '@')
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 115
if #fr_split == 2 then
if #fr_split == 2 then
andryyy
over 5 years ago
d94b5e4
[Rspamd] Add symbol HAM_TRAP or SPAM_TRAP for trap aliases
- Full commit hash
d94b5e43eaee04d74a66af6273c1cee319debebe- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 116
if fr_split[1] == 'postmaster' and task:get_user() then
if fr_split[1] == 'postmaster' and task:get_user() then
andryyy
over 5 years ago
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 117
-- no whitelist, keep signatures
-- no whitelist, keep signatures
andryyy
over 5 years ago
d94b5e4
[Rspamd] Add symbol HAM_TRAP or SPAM_TRAP for trap aliases
- Full commit hash
d94b5e43eaee04d74a66af6273c1cee319debebe- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 118
task:insert_result(true, 'POSTMASTER_FROM', -2500.0)
task:insert_result(true, 'POSTMASTER_FROM', -2500.0)
andryyy
over 5 years ago
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 119
return
return
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 120
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 121
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 122
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 123
end
end
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 124
same change
7bcb941
[Rspamd] Handle Postmaster in and outbound as trusted
- Full commit hash
7bcb9414ab32ecd7f0d0e26a22d4ad6a05967c56- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 125
end,
end,
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 126
priority = 10
priority = 10
andryyy
almost 6 years ago
0c30d32
[Rspamd] Resolve direct aliases (also fixes tagging options)
- Full commit hash
0c30d32fdb94e858318fe2bfbf81c2540741b221- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 127
})
})
same change
0c30d32
[Rspamd] Resolve direct aliases (also fixes tagging options)
- Full commit hash
0c30d32fdb94e858318fe2bfbf81c2540741b221- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 128
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 129
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 130
name = 'KEEP_SPAM',
name = 'KEEP_SPAM',
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 131
type = 'prefilter',
type = 'prefilter',
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 132
callback = function(task)
callback = function(task)
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 133
local util = require("rspamd_util")
local util = require("rspamd_util")
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 134
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 135
local rspamd_ip = require 'rspamd_ip'
local rspamd_ip = require 'rspamd_ip'
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 136
local uname = task:get_user()
local uname = task:get_user()
André
almost 8 years ago
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 137
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 138
if uname then
if uname then
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 139
return false
return false
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 140
end
end
André
almost 8 years ago
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 141
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 142
local redis_params = rspamd_parse_redis_server('keep_spam')
local redis_params = rspamd_parse_redis_server('keep_spam')
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 143
local ip = task:get_from_ip()
local ip = task:get_from_ip()
André
almost 8 years ago
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 144
andryyy
almost 7 years ago
ee57b59
[Rspamd] Various fixes for Rspamd 2.0, neural network activated, autolearning activated (auto-keeps a ratio)
- Full commit hash
ee57b5921f59e7f49dabdb37d8ae93d8a7744aab- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 145
if ip == nil or not ip:is_valid() then
if ip == nil or not ip:is_valid() then
André
almost 8 years ago
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 146
return false
return false
same change
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 147
end
end
same change
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 148
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 149
-- Helper function to parse IPv6 into 8 segments
-- Helper function to parse IPv6 into 8 segments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 150
local function ipv6_to_segments(ip_str)
local function ipv6_to_segments(ip_str)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 151
-- Remove zone identifier if present (e.g., %eth0)
-- Remove zone identifier if present (e.g., %eth0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 152
ip_str = ip_str:gsub("%%.*$", "")
ip_str = ip_str:gsub("%%.*$", "")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 153
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 154
local segments = {}
local segments = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 155
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 156
-- Handle :: compression
-- Handle :: compression
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 157
if ip_str:find('::') then
if ip_str:find('::') then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 158
local before, after = ip_str:match('^(.*)::(.*)$')
local before, after = ip_str:match('^(.*)::(.*)$')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 159
before = before or ''
before = before or ''
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 160
after = after or ''
after = after or ''
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 161
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 162
local before_parts = {}
local before_parts = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 163
local after_parts = {}
local after_parts = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 164
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 165
if before ~= '' then
if before ~= '' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 166
for seg in before:gmatch('[^:]+') do
for seg in before:gmatch('[^:]+') do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 167
table.insert(before_parts, tonumber(seg, 16) or 0)
table.insert(before_parts, tonumber(seg, 16) or 0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 168
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 169
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 170
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 171
if after ~= '' then
if after ~= '' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 172
for seg in after:gmatch('[^:]+') do
for seg in after:gmatch('[^:]+') do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 173
table.insert(after_parts, tonumber(seg, 16) or 0)
table.insert(after_parts, tonumber(seg, 16) or 0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 174
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 175
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 176
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 177
-- Add before segments
-- Add before segments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 178
for _, seg in ipairs(before_parts) do
for _, seg in ipairs(before_parts) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 179
table.insert(segments, seg)
table.insert(segments, seg)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 180
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 181
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 182
-- Add compressed zeros
-- Add compressed zeros
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 183
local zeros_needed = 8 - #before_parts - #after_parts
local zeros_needed = 8 - #before_parts - #after_parts
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 184
for i = 1, zeros_needed do
for i = 1, zeros_needed do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 185
table.insert(segments, 0)
table.insert(segments, 0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 186
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 187
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 188
-- Add after segments
-- Add after segments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 189
for _, seg in ipairs(after_parts) do
for _, seg in ipairs(after_parts) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 190
table.insert(segments, seg)
table.insert(segments, seg)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 191
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 192
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 193
-- No compression
-- No compression
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 194
for seg in ip_str:gmatch('[^:]+') do
for seg in ip_str:gmatch('[^:]+') do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 195
table.insert(segments, tonumber(seg, 16) or 0)
table.insert(segments, tonumber(seg, 16) or 0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 196
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 197
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 198
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 199
-- Ensure we have exactly 8 segments
-- Ensure we have exactly 8 segments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 200
while #segments < 8 do
while #segments < 8 do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 201
table.insert(segments, 0)
table.insert(segments, 0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 202
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 203
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 204
return segments
return segments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 205
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 206
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 207
-- Generate all common IPv6 notations
-- Generate all common IPv6 notations
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 208
local function get_ipv6_variants(ip_str)
local function get_ipv6_variants(ip_str)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 209
local variants = {}
local variants = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 210
local seen = {}
local seen = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 211
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 212
local function add_variant(v)
local function add_variant(v)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 213
if v and not seen[v] then
if v and not seen[v] then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 214
table.insert(variants, v)
table.insert(variants, v)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 215
seen[v] = true
seen[v] = true
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 216
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 217
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 218
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 219
-- For IPv4, just return the original
-- For IPv4, just return the original
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 220
if not ip_str:find(':') then
if not ip_str:find(':') then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 221
add_variant(ip_str)
add_variant(ip_str)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 222
return variants
return variants
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 223
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 224
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 225
local segments = ipv6_to_segments(ip_str)
local segments = ipv6_to_segments(ip_str)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 226
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 227
-- 1. Fully expanded form (all zeros shown as 0000)
-- 1. Fully expanded form (all zeros shown as 0000)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 228
local expanded_parts = {}
local expanded_parts = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 229
for _, seg in ipairs(segments) do
for _, seg in ipairs(segments) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 230
table.insert(expanded_parts, string.format('%04x', seg))
table.insert(expanded_parts, string.format('%04x', seg))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 231
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 232
add_variant(table.concat(expanded_parts, ':'))
add_variant(table.concat(expanded_parts, ':'))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 233
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 234
-- 2. Standard form (no leading zeros, but all segments present)
-- 2. Standard form (no leading zeros, but all segments present)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 235
local standard_parts = {}
local standard_parts = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 236
for _, seg in ipairs(segments) do
for _, seg in ipairs(segments) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 237
table.insert(standard_parts, string.format('%x', seg))
table.insert(standard_parts, string.format('%x', seg))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 238
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 239
add_variant(table.concat(standard_parts, ':'))
add_variant(table.concat(standard_parts, ':'))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 240
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 241
-- 3. Find all possible :: compressions
-- 3. Find all possible :: compressions
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 242
-- RFC 5952: compress the longest run of consecutive zeros
-- RFC 5952: compress the longest run of consecutive zeros
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 243
-- But we need to check all possibilities since Redis might have any form
-- But we need to check all possibilities since Redis might have any form
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 244
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 245
-- Find all zero runs
-- Find all zero runs
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 246
local zero_runs = {}
local zero_runs = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 247
local in_run = false
local in_run = false
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 248
local run_start = 0
local run_start = 0
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 249
local run_length = 0
local run_length = 0
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 250
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 251
for i = 1, 8 do
for i = 1, 8 do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 252
if segments[i] == 0 then
if segments[i] == 0 then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 253
if not in_run then
if not in_run then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 254
in_run = true
in_run = true
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 255
run_start = i
run_start = i
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 256
run_length = 1
run_length = 1
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 257
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 258
run_length = run_length + 1
run_length = run_length + 1
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 259
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 260
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 261
if in_run then
if in_run then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 262
if run_length >= 1 then -- Allow single zero compression too
if run_length >= 1 then -- Allow single zero compression too
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 263
table.insert(zero_runs, {start = run_start, length = run_length})
table.insert(zero_runs, {start = run_start, length = run_length})
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 264
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 265
in_run = false
in_run = false
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 266
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 267
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 268
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 269
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 270
-- Don't forget the last run
-- Don't forget the last run
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 271
if in_run and run_length >= 1 then
if in_run and run_length >= 1 then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 272
table.insert(zero_runs, {start = run_start, length = run_length})
table.insert(zero_runs, {start = run_start, length = run_length})
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 273
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 274
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 275
-- Generate variant for each zero run compression
-- Generate variant for each zero run compression
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 276
for _, run in ipairs(zero_runs) do
for _, run in ipairs(zero_runs) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 277
local parts = {}
local parts = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 278
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 279
-- Before compression
-- Before compression
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 280
for i = 1, run.start - 1 do
for i = 1, run.start - 1 do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 281
table.insert(parts, string.format('%x', segments[i]))
table.insert(parts, string.format('%x', segments[i]))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 282
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 283
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 284
-- The compression
-- The compression
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 285
if run.start == 1 then
if run.start == 1 then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 286
table.insert(parts, '')
table.insert(parts, '')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 287
table.insert(parts, '')
table.insert(parts, '')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 288
elseif run.start + run.length - 1 == 8 then
elseif run.start + run.length - 1 == 8 then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 289
table.insert(parts, '')
table.insert(parts, '')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 290
table.insert(parts, '')
table.insert(parts, '')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 291
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 292
table.insert(parts, '')
table.insert(parts, '')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 293
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 294
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 295
-- After compression
-- After compression
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 296
for i = run.start + run.length, 8 do
for i = run.start + run.length, 8 do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 297
table.insert(parts, string.format('%x', segments[i]))
table.insert(parts, string.format('%x', segments[i]))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 298
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 299
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 300
local compressed = table.concat(parts, ':'):gsub('::+', '::')
local compressed = table.concat(parts, ':'):gsub('::+', '::')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 301
add_variant(compressed)
add_variant(compressed)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 302
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 303
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 304
return variants
return variants
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 305
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 306
André
almost 8 years ago
1b5409f
[Rspamd] Check if ip is valid (KEEP_SPAM symbol), fixes #1759
- Full commit hash
1b5409f3fa92a58b8a77769fde09475ea5688cb2- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 307
local from_ip_string = tostring(ip)
local from_ip_string = tostring(ip)
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 308
local ip_check_table = {}
local ip_check_table = {}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 309
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 310
-- Add all variants of the exact IP
-- Add all variants of the exact IP
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 311
for _, variant in ipairs(get_ipv6_variants(from_ip_string)) do
for _, variant in ipairs(get_ipv6_variants(from_ip_string)) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 312
table.insert(ip_check_table, variant)
table.insert(ip_check_table, variant)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 313
end
end
André
almost 8 years ago
1499094
[PHP-FPM] Increase PHP memory limit for "web" to 512M
- Full commit hash
1499094b61b74f0595cbe52512814c15157725fd- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 314
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 315
local maxbits = 128
local maxbits = 128
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 316
local minbits = 32
local minbits = 32
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 317
if ip:get_version() == 4 then
if ip:get_version() == 4 then
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 318
maxbits = 32
maxbits = 32
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 319
minbits = 8
minbits = 8
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 320
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 321
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 322
-- Add all CIDR notations with variants
-- Add all CIDR notations with variants
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 323
for i=maxbits,minbits,-1 do
for i=maxbits,minbits,-1 do
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 324
local masked_ip = ip:apply_mask(i)
local masked_ip = ip:apply_mask(i)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 325
local cidr_base = masked_ip:to_string()
local cidr_base = masked_ip:to_string()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 326
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 327
for _, variant in ipairs(get_ipv6_variants(cidr_base)) do
for _, variant in ipairs(get_ipv6_variants(cidr_base)) do
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 328
local cidr = variant .. "/" .. i
local cidr = variant .. "/" .. i
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 329
table.insert(ip_check_table, cidr)
table.insert(ip_check_table, cidr)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 330
end
end
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 331
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 332
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 333
local function keep_spam_cb(err, data)
local function keep_spam_cb(err, data)
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 334
if err then
if err then
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 335
rspamd_logger.infox(rspamd_config, "keep_spam query request for ip %s returned invalid or empty data (\"%s\") or error (\"%s\")", ip, data, err)
rspamd_logger.infox(rspamd_config, "keep_spam query request for ip %s returned invalid or empty data (\"%s\") or error (\"%s\")", ip, data, err)
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 336
return false
return false
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 337
else
else
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 338
for k,v in pairs(data) do
for k,v in pairs(data) do
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 339
if (v and v ~= userdata and v == '1') then
if (v and v ~= userdata and v == '1') then
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 340
rspamd_logger.infox(rspamd_config, "found ip %s (checked as: %s) in keep_spam map, setting pre-result accept", from_ip_string, ip_check_table[k])
rspamd_logger.infox(rspamd_config, "found ip %s (checked as: %s) in keep_spam map, setting pre-result accept", from_ip_string, ip_check_table[k])
Dmitriy Alekseev
12 months ago
842cb23
[Rspamd] Fill module name for set_pre_result actions (#6630)
- Full commit hash
842cb235b610c54f7eb5ae9337ca36cfe997fb40- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 12 months ago
- Selected line
- 341
task:set_pre_result('accept', 'ip matched with forward hosts', 'keep_spam')
task:set_pre_result('accept', 'ip matched with forward hosts', 'keep_spam')
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 342
task:set_flag('no_stat')
task:set_flag('no_stat')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 343
return
return
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 344
end
end
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 345
end
end
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 346
end
end
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 347
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 348
André
almost 8 years ago
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 349
table.insert(ip_check_table, 1, 'KEEP_SPAM')
table.insert(ip_check_table, 1, 'KEEP_SPAM')
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 350
local redis_ret_user = rspamd_redis_make_request(task,
local redis_ret_user = rspamd_redis_make_request(task,
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 351
redis_params, -- connect params
redis_params, -- connect params
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 352
'KEEP_SPAM', -- hash key
'KEEP_SPAM', -- hash key
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 353
false, -- is write
false, -- is write
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 354
keep_spam_cb, --callback
keep_spam_cb, --callback
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 355
'HMGET', -- command
'HMGET', -- command
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 356
ip_check_table -- arguments
ip_check_table -- arguments
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 357
)
)
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 358
if not redis_ret_user then
if not redis_ret_user then
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 359
rspamd_logger.infox(rspamd_config, "cannot check keep_spam redis map")
rspamd_logger.infox(rspamd_config, "cannot check keep_spam redis map")
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 360
end
end
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 361
end,
end,
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 362
priority = 19
priority = 19
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 363
})
})
same change
afc18fd
[Rspamd] Update bad asn, move KEEP_SPAM to a custom lua function
- Full commit hash
afc18fd46935e201a9be85ab636f0ed0b77209be- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 364
andryyy
over 6 years ago
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 365
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 366
name = 'TLS_HEADER',
name = 'TLS_HEADER',
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 367
type = 'postfilter',
type = 'postfilter',
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 368
callback = function(task)
callback = function(task)
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 369
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 370
local tls_tag = task:get_request_header('TLS-Version')
local tls_tag = task:get_request_header('TLS-Version')
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 371
if type(tls_tag) == 'nil' then
if type(tls_tag) == 'nil' then
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 372
task:set_milter_reply({
task:set_milter_reply({
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 373
add_headers = {['X-Last-TLS-Session-Version'] = 'None'}
add_headers = {['X-Last-TLS-Session-Version'] = 'None'}
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 374
})
})
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 375
else
else
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 376
task:set_milter_reply({
task:set_milter_reply({
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 377
add_headers = {['X-Last-TLS-Session-Version'] = tostring(tls_tag)}
add_headers = {['X-Last-TLS-Session-Version'] = tostring(tls_tag)}
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 378
})
})
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 379
end
end
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 380
end,
end,
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 381
priority = 12
priority = 12
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 382
})
})
same change
9d04d0e
[Rspamd] Add X-Last-TLS-Session-Version header
- Full commit hash
9d04d0ee4a0b368df5d90b0d8f989bd71767e483- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 383
andryyy
over 9 years ago
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 384
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 385
name = 'TAG_MOO',
name = 'TAG_MOO',
same change
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 386
type = 'postfilter',
type = 'postfilter',
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 387
flags = 'ignore_passthrough',
flags = 'ignore_passthrough',
andryyy
over 9 years ago
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 388
callback = function(task)
callback = function(task)
same change
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 389
local util = require("rspamd_util")
local util = require("rspamd_util")
same change
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 390
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 391
local redis_params = rspamd_parse_redis_server('taghandler')
local redis_params = rspamd_parse_redis_server('taghandler')
same change
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 392
local rspamd_http = require "rspamd_http"
local rspamd_http = require "rspamd_http"
same change
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 393
local rcpts = task:get_recipients('smtp')
local rcpts = task:get_recipients('smtp')
same change
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 394
local lua_util = require "lua_util"
local lua_util = require "lua_util"
DocFraggle
5 months ago
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 395
local tagged_rcpt = task:get_symbol("TAGGED_RCPT")
local tagged_rcpt = task:get_symbol("TAGGED_RCPT")
andryyy
over 9 years ago
09850a7
Use Rspamds new tag symbol
- Full commit hash
09850a76e5061c1d760eae403c07a5fd944eba93- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 396
FreddleSpl0it
almost 3 years ago
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 397
local function remove_moo_tag()
local function remove_moo_tag()
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 398
local moo_tag_header = task:get_header('X-Moo-Tag', false)
local moo_tag_header = task:get_header('X-Moo-Tag', false)
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 399
if moo_tag_header then
if moo_tag_header then
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 400
task:set_milter_reply({
task:set_milter_reply({
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 401
remove_headers = {['X-Moo-Tag'] = 0},
remove_headers = {['X-Moo-Tag'] = 0},
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 402
})
})
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 403
end
end
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 404
return true
return true
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 405
end
end
same change
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 406
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 407
-- Check if we have exactly one recipient
-- Check if we have exactly one recipient
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 408
if not (rcpts and #rcpts == 1) then
if not (rcpts and #rcpts == 1) then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 409
rspamd_logger.infox("TAG_MOO: not exactly one rcpt (%s), removing moo tag", rcpts and #rcpts or 0)
rspamd_logger.infox("TAG_MOO: not exactly one rcpt (%s), removing moo tag", rcpts and #rcpts or 0)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 410
remove_moo_tag()
remove_moo_tag()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 411
return
return
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 412
end
end
andryyy
over 9 years ago
09850a7
Use Rspamds new tag symbol
- Full commit hash
09850a76e5061c1d760eae403c07a5fd944eba93- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 413
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 414
local rcpt_addr = rcpts[1]['addr']
local rcpt_addr = rcpts[1]['addr']
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 415
local rcpt_user = rcpts[1]['user']
local rcpt_user = rcpts[1]['user']
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 416
local rcpt_domain = rcpts[1]['domain']
local rcpt_domain = rcpts[1]['domain']
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 417
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 418
-- Check if recipient has a tag (contains '+')
-- Check if recipient has a tag (contains '+')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 419
local tag = nil
local tag = nil
DocFraggle
5 months ago
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 420
if tagged_rcpt ~= nil then
if tagged_rcpt ~= nil then
same change
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 421
tag = tagged_rcpt
tag = tagged_rcpt
same change
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 422
rspamd_logger.infox("TAG_MOO: found tag in recipient: %s (base: %s, tag: %s)", rcpt_addr, base_user, tag)
rspamd_logger.infox("TAG_MOO: found tag in recipient: %s (base: %s, tag: %s)", rcpt_addr, base_user, tag)
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 423
end
end
andryyy
over 9 years ago
09850a7
Use Rspamds new tag symbol
- Full commit hash
09850a76e5061c1d760eae403c07a5fd944eba93- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 424
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 425
if not tag then
if not tag then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 426
rspamd_logger.infox("TAG_MOO: no tag found in recipient %s, removing moo tag", rcpt_addr)
rspamd_logger.infox("TAG_MOO: no tag found in recipient %s, removing moo tag", rcpt_addr)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 427
remove_moo_tag()
remove_moo_tag()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 428
return
return
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 429
end
end
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 430
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 431
-- Optional: Check if domain is a mailcow domain
-- Optional: Check if domain is a mailcow domain
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 432
-- When KEEP_SPAM is active, RCPT_MAILCOW_DOMAIN might not be set
-- When KEEP_SPAM is active, RCPT_MAILCOW_DOMAIN might not be set
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 433
-- If the mail is being delivered, we can assume it's valid
-- If the mail is being delivered, we can assume it's valid
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 434
local mailcow_domain = task:get_symbol("RCPT_MAILCOW_DOMAIN")
local mailcow_domain = task:get_symbol("RCPT_MAILCOW_DOMAIN")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 435
if not mailcow_domain then
if not mailcow_domain then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 436
rspamd_logger.infox("TAG_MOO: RCPT_MAILCOW_DOMAIN not set (possibly due to pre-result), proceeding anyway for domain %s", rcpt_domain)
rspamd_logger.infox("TAG_MOO: RCPT_MAILCOW_DOMAIN not set (possibly due to pre-result), proceeding anyway for domain %s", rcpt_domain)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 437
end
end
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 438
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 439
local action = task:get_metric_action('default')
local action = task:get_metric_action('default')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 440
rspamd_logger.infox("TAG_MOO: metric action: %s", action)
rspamd_logger.infox("TAG_MOO: metric action: %s", action)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 441
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 442
-- Check if we have a pre-result (e.g., from KEEP_SPAM or POSTMASTER_HANDLER)
-- Check if we have a pre-result (e.g., from KEEP_SPAM or POSTMASTER_HANDLER)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 443
local allow_processing = false
local allow_processing = false
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 444
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 445
if task.has_pre_result then
if task.has_pre_result then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 446
local has_pre, pre_action = task:has_pre_result()
local has_pre, pre_action = task:has_pre_result()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 447
if has_pre then
if has_pre then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 448
rspamd_logger.infox("TAG_MOO: pre-result detected: %s", tostring(pre_action))
rspamd_logger.infox("TAG_MOO: pre-result detected: %s", tostring(pre_action))
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 449
if pre_action == 'accept' then
if pre_action == 'accept' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 450
allow_processing = true
allow_processing = true
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 451
rspamd_logger.infox("TAG_MOO: pre-result is accept, will process")
rspamd_logger.infox("TAG_MOO: pre-result is accept, will process")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 452
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 453
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 454
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 455
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 456
-- Allow processing for mild actions or when we have pre-result accept
-- Allow processing for mild actions or when we have pre-result accept
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 457
if not allow_processing and action ~= 'no action' and action ~= 'greylist' then
if not allow_processing and action ~= 'no action' and action ~= 'greylist' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 458
rspamd_logger.infox("TAG_MOO: skipping tag handler for action: %s", action)
rspamd_logger.infox("TAG_MOO: skipping tag handler for action: %s", action)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 459
remove_moo_tag()
remove_moo_tag()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 460
return true
return true
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 461
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 462
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 463
rspamd_logger.infox("TAG_MOO: processing allowed")
rspamd_logger.infox("TAG_MOO: processing allowed")
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 464
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 465
local function http_callback(err_message, code, body, headers)
local function http_callback(err_message, code, body, headers)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 466
if body ~= nil and body ~= "" then
if body ~= nil and body ~= "" then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 467
rspamd_logger.infox(rspamd_config, "TAG_MOO: expanding rcpt to \"%s\"", body)
rspamd_logger.infox(rspamd_config, "TAG_MOO: expanding rcpt to \"%s\"", body)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 468
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 469
local function tag_callback_subject(err, data)
local function tag_callback_subject(err, data)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 470
if err or type(data) ~= 'string' or data == '' then
if err or type(data) ~= 'string' or data == '' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 471
rspamd_logger.infox(rspamd_config, "TAG_MOO: subject tag handler rcpt %s returned invalid or empty data (\"%s\") or error (\"%s\") - trying subfolder tag handler...", body, data, err)
rspamd_logger.infox(rspamd_config, "TAG_MOO: subject tag handler rcpt %s returned invalid or empty data (\"%s\") or error (\"%s\") - trying subfolder tag handler...", body, data, err)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 472
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 473
local function tag_callback_subfolder(err, data)
local function tag_callback_subfolder(err, data)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 474
if err or type(data) ~= 'string' or data == '' then
if err or type(data) ~= 'string' or data == '' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 475
rspamd_logger.infox(rspamd_config, "TAG_MOO: subfolder tag handler for rcpt %s returned invalid or empty data (\"%s\") or error (\"%s\")", body, data, err)
rspamd_logger.infox(rspamd_config, "TAG_MOO: subfolder tag handler for rcpt %s returned invalid or empty data (\"%s\") or error (\"%s\")", body, data, err)
FreddleSpl0it
almost 3 years ago
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 476
remove_moo_tag()
remove_moo_tag()
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 477
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 478
rspamd_logger.infox("TAG_MOO: User wants subfolder tag, adding X-Moo-Tag header")
rspamd_logger.infox("TAG_MOO: User wants subfolder tag, adding X-Moo-Tag header")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 479
task:set_milter_reply({
task:set_milter_reply({
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 480
add_headers = {['X-Moo-Tag'] = 'YES'}
add_headers = {['X-Moo-Tag'] = 'YES'}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 481
})
})
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 482
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 483
end
end
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 484
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 485
local redis_ret_subfolder = rspamd_redis_make_request(task,
local redis_ret_subfolder = rspamd_redis_make_request(task,
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 486
redis_params, -- connect params
redis_params, -- connect params
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 487
body, -- hash key
body, -- hash key
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 488
false, -- is write
false, -- is write
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 489
tag_callback_subfolder, --callback
tag_callback_subfolder, --callback
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 490
'HGET', -- command
'HGET', -- command
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 491
{'RCPT_WANTS_SUBFOLDER_TAG', body} -- arguments
{'RCPT_WANTS_SUBFOLDER_TAG', body} -- arguments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 492
)
)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 493
if not redis_ret_subfolder then
if not redis_ret_subfolder then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 494
rspamd_logger.infox(rspamd_config, "TAG_MOO: cannot make request to load tag handler for rcpt")
rspamd_logger.infox(rspamd_config, "TAG_MOO: cannot make request to load tag handler for rcpt")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 495
remove_moo_tag()
remove_moo_tag()
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 496
end
end
same change
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 497
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 498
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 499
rspamd_logger.infox("TAG_MOO: user wants subject modified for tagged mail")
rspamd_logger.infox("TAG_MOO: user wants subject modified for tagged mail")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 500
local sbj = task:get_header('Subject') or ''
local sbj = task:get_header('Subject') or ''
DocFraggle
5 months ago
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 501
local tag_value = tag[1] and tag[1].options and tag[1].options[1] or ''
local tag_value = tag[1] and tag[1].options and tag[1].options[1] or ''
same change
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 502
new_sbj = '=?UTF-8?B?' .. tostring(util.encode_base64('[' .. tag_value .. '] ' .. sbj)) .. '?='
new_sbj = '=?UTF-8?B?' .. tostring(util.encode_base64('[' .. tag_value .. '] ' .. sbj)) .. '?='
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 503
task:set_milter_reply({
task:set_milter_reply({
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 504
remove_headers = {
remove_headers = {
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 505
['Subject'] = 1,
['Subject'] = 1,
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 506
['X-Moo-Tag'] = 0
['X-Moo-Tag'] = 0
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 507
},
},
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 508
add_headers = {['Subject'] = new_sbj}
add_headers = {['Subject'] = new_sbj}
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 509
})
})
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 510
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 511
end
end
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 512
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 513
local redis_ret_subject = rspamd_redis_make_request(task,
local redis_ret_subject = rspamd_redis_make_request(task,
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 514
redis_params, -- connect params
redis_params, -- connect params
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 515
body, -- hash key
body, -- hash key
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 516
false, -- is write
false, -- is write
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 517
tag_callback_subject, --callback
tag_callback_subject, --callback
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 518
'HGET', -- command
'HGET', -- command
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 519
{'RCPT_WANTS_SUBJECT_TAG', body} -- arguments
{'RCPT_WANTS_SUBJECT_TAG', body} -- arguments
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 520
)
)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 521
if not redis_ret_subject then
if not redis_ret_subject then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 522
rspamd_logger.infox(rspamd_config, "TAG_MOO: cannot make request to load tag handler for rcpt")
rspamd_logger.infox(rspamd_config, "TAG_MOO: cannot make request to load tag handler for rcpt")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 523
remove_moo_tag()
remove_moo_tag()
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 524
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 525
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 526
rspamd_logger.infox("TAG_MOO: alias expansion returned empty body")
rspamd_logger.infox("TAG_MOO: alias expansion returned empty body")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 527
remove_moo_tag()
remove_moo_tag()
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 528
end
end
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 529
end
end
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 530
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 531
local rcpt_split = rspamd_str_split(rcpt_addr, '@')
local rcpt_split = rspamd_str_split(rcpt_addr, '@')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 532
if #rcpt_split == 2 then
if #rcpt_split == 2 then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 533
if rcpt_split[1]:match('^postmaster') then
if rcpt_split[1]:match('^postmaster') then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 534
rspamd_logger.infox(rspamd_config, "TAG_MOO: not expanding postmaster alias")
rspamd_logger.infox(rspamd_config, "TAG_MOO: not expanding postmaster alias")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 535
remove_moo_tag()
remove_moo_tag()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 536
else
else
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 537
rspamd_logger.infox("TAG_MOO: requesting alias expansion for %s", rcpt_addr)
rspamd_logger.infox("TAG_MOO: requesting alias expansion for %s", rcpt_addr)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 538
rspamd_http.request({
rspamd_http.request({
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 539
task=task,
task=task,
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 540
url='http://nginx:8081/aliasexp.php',
url='http://nginx:8081/aliasexp.php',
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 541
body='',
body='',
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 542
callback=http_callback,
callback=http_callback,
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 543
headers={Rcpt=rcpt_addr},
headers={Rcpt=rcpt_addr},
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 544
})
})
andryyy
over 9 years ago
09850a7
Use Rspamds new tag symbol
- Full commit hash
09850a76e5061c1d760eae403c07a5fd944eba93- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 545
end
end
FreddleSpl0it
almost 3 years ago
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 546
else
else
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 547
rspamd_logger.infox("TAG_MOO: invalid rcpt format")
rspamd_logger.infox("TAG_MOO: invalid rcpt format")
FreddleSpl0it
almost 3 years ago
025fd03
[Rspamd] remove X-Moo-Tag header if unnecessary
- Full commit hash
025fd0331038422327a29e699ed9252db2187eb4- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 548
remove_moo_tag()
remove_moo_tag()
andryyy
over 9 years ago
49a98a3
Add ability to set tag handling, add domain map
- Full commit hash
49a98a30b510a021218bfef8d0799793e7e51fb4- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 549
end
end
andryyy
over 9 years ago
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 550
end,
end,
andryyy
over 5 years ago
61bb321
[Rspamd] Fix tag handling for aliases
- Full commit hash
61bb3219dfd10bc4000df25873988402f37fda06- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 551
priority = 19
priority = 19
andryyy
over 9 years ago
509a804
Deprecated lua function replaced, better tag handling when spam
- Full commit hash
509a804acdb0d7eaa5eb2e2cca199a068fb58efc- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 552
})
})
andryyy
about 9 years ago
6cd44b4
Remove old code
- Full commit hash
6cd44b41365386b4f080ab3ec7a42ce0b480cc47- Author
- andryyy <[email protected]>
- Date
- about 9 years ago
- Selected line
- 553
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 554
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 555
name = 'BCC',
name = 'BCC',
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 556
type = 'postfilter',
type = 'postfilter',
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 557
flags = 'ignore_passthrough',
flags = 'ignore_passthrough',
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 558
callback = function(task)
callback = function(task)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 559
local util = require("rspamd_util")
local util = require("rspamd_util")
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 560
local rspamd_http = require "rspamd_http"
local rspamd_http = require "rspamd_http"
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 561
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 562
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 563
local from_table = {}
local from_table = {}
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 564
local rcpt_table = {}
local rcpt_table = {}
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 565
andryyy
about 5 years ago
b3959e8
[Rspamd] DeltaChat improvements
- Full commit hash
b3959e8071f986d5cf1ef69d72f7f8451917b143- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 566
if task:has_symbol('ENCRYPTED_CHAT') then
if task:has_symbol('ENCRYPTED_CHAT') then
same change
b3959e8
[Rspamd] DeltaChat improvements
- Full commit hash
b3959e8071f986d5cf1ef69d72f7f8451917b143- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 567
return -- stop
return -- stop
same change
b3959e8
[Rspamd] DeltaChat improvements
- Full commit hash
b3959e8071f986d5cf1ef69d72f7f8451917b143- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 568
end
end
same change
b3959e8
[Rspamd] DeltaChat improvements
- Full commit hash
b3959e8071f986d5cf1ef69d72f7f8451917b143- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 569
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 570
local send_mail = function(task, bcc_dest)
local send_mail = function(task, bcc_dest)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 571
local lua_smtp = require "lua_smtp"
local lua_smtp = require "lua_smtp"
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 572
local function sendmail_cb(ret, err)
local function sendmail_cb(ret, err)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 573
if not ret then
if not ret then
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 574
rspamd_logger.errx(task, 'BCC SMTP ERROR: %s', err)
rspamd_logger.errx(task, 'BCC SMTP ERROR: %s', err)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 575
else
else
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 576
rspamd_logger.infox(rspamd_config, "BCC SMTP SUCCESS TO %s", bcc_dest)
rspamd_logger.infox(rspamd_config, "BCC SMTP SUCCESS TO %s", bcc_dest)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 577
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 578
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 579
if not bcc_dest then
if not bcc_dest then
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 580
return -- stop
return -- stop
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 581
end
end
FreddleSpl0it
about 3 years ago
97a492b
[Rspamd] add dot-stuffing to bcc forwarding
- Full commit hash
97a492b891fde855293563fa4755d91a06ac06b2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 582
-- dot stuff content before sending
-- dot stuff content before sending
same change
97a492b
[Rspamd] add dot-stuffing to bcc forwarding
- Full commit hash
97a492b891fde855293563fa4755d91a06ac06b2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 583
local email_content = tostring(task:get_content())
local email_content = tostring(task:get_content())
same change
97a492b
[Rspamd] add dot-stuffing to bcc forwarding
- Full commit hash
97a492b891fde855293563fa4755d91a06ac06b2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 584
email_content = string.gsub(email_content, "\r\n%.", "\r\n..")
email_content = string.gsub(email_content, "\r\n%.", "\r\n..")
same change
97a492b
[Rspamd] add dot-stuffing to bcc forwarding
- Full commit hash
97a492b891fde855293563fa4755d91a06ac06b2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 585
-- send mail
-- send mail
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 586
local from_smtp = task:get_from('smtp')
local from_smtp = task:get_from('smtp')
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 587
local from_addr = (from_smtp and from_smtp[1] and from_smtp[1].addr) or 'mailer-daemon@localhost'
local from_addr = (from_smtp and from_smtp[1] and from_smtp[1].addr) or 'mailer-daemon@localhost'
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 588
lua_smtp.sendmail({
lua_smtp.sendmail({
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 589
task = task,
task = task,
andryyy
about 5 years ago
7b0b59a
[Rspamd] Use Postfix IP
- Full commit hash
7b0b59a0828860587f8ea71ccf14bfe3bc95a421- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 590
host = os.getenv("IPV4_NETWORK") .. '.253',
host = os.getenv("IPV4_NETWORK") .. '.253',
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 591
port = 591,
port = 591,
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 592
from = from_addr,
from = from_addr,
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 593
recipients = bcc_dest,
recipients = bcc_dest,
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 594
helo = 'bcc',
helo = 'bcc',
FreddleSpl0it
about 3 years ago
97a492b
[Rspamd] add dot-stuffing to bcc forwarding
- Full commit hash
97a492b891fde855293563fa4755d91a06ac06b2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 595
timeout = 20,
timeout = 20,
same change
97a492b
[Rspamd] add dot-stuffing to bcc forwarding
- Full commit hash
97a492b891fde855293563fa4755d91a06ac06b2- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 596
}, email_content, sendmail_cb)
}, email_content, sendmail_cb)
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 597
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 598
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 599
-- determine from
-- determine from
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 600
local from = task:get_from('smtp')
local from = task:get_from('smtp')
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 601
if from then
if from then
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 602
for _, a in ipairs(from) do
for _, a in ipairs(from) do
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 603
table.insert(from_table, a['addr']) -- add this rcpt to table
table.insert(from_table, a['addr']) -- add this rcpt to table
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 604
table.insert(from_table, '@' .. a['domain']) -- add this rcpts domain to table
table.insert(from_table, '@' .. a['domain']) -- add this rcpts domain to table
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 605
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 606
else
else
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 607
return -- stop
return -- stop
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 608
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 609
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 610
-- determine rcpts
-- determine rcpts
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 611
local rcpts = task:get_recipients('smtp')
local rcpts = task:get_recipients('smtp')
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 612
if rcpts then
if rcpts then
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 613
for _, a in ipairs(rcpts) do
for _, a in ipairs(rcpts) do
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 614
table.insert(rcpt_table, a['addr']) -- add this rcpt to table
table.insert(rcpt_table, a['addr']) -- add this rcpt to table
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 615
table.insert(rcpt_table, '@' .. a['domain']) -- add this rcpts domain to table
table.insert(rcpt_table, '@' .. a['domain']) -- add this rcpts domain to table
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 616
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 617
else
else
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 618
return -- stop
return -- stop
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 619
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 620
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 621
local action = task:get_metric_action('default')
local action = task:get_metric_action('default')
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 622
rspamd_logger.infox("BCC: metric action: %s", action)
rspamd_logger.infox("BCC: metric action: %s", action)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 623
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 624
-- Check for pre-result accept (e.g., from KEEP_SPAM)
-- Check for pre-result accept (e.g., from KEEP_SPAM)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 625
local allow_bcc = false
local allow_bcc = false
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 626
if task.has_pre_result then
if task.has_pre_result then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 627
local has_pre, pre_action = task:has_pre_result()
local has_pre, pre_action = task:has_pre_result()
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 628
if has_pre and pre_action == 'accept' then
if has_pre and pre_action == 'accept' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 629
allow_bcc = true
allow_bcc = true
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 630
rspamd_logger.infox("BCC: pre-result accept detected, will send BCC")
rspamd_logger.infox("BCC: pre-result accept detected, will send BCC")
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 631
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 632
end
end
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 633
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 634
-- Allow BCC for mild actions or when we have pre-result accept
-- Allow BCC for mild actions or when we have pre-result accept
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 635
if not allow_bcc and action ~= 'no action' and action ~= 'add header' and action ~= 'rewrite subject' then
if not allow_bcc and action ~= 'no action' and action ~= 'add header' and action ~= 'rewrite subject' then
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 636
rspamd_logger.infox("BCC: skipping for action: %s", action)
rspamd_logger.infox("BCC: skipping for action: %s", action)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 637
return
return
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 638
end
end
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 639
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 640
local function rcpt_callback(err_message, code, body, headers)
local function rcpt_callback(err_message, code, body, headers)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 641
if err_message == nil and code == 201 and body ~= nil then
if err_message == nil and code == 201 and body ~= nil then
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 642
rspamd_logger.infox("BCC: sending BCC to %s for rcpt match", body)
rspamd_logger.infox("BCC: sending BCC to %s for rcpt match", body)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 643
send_mail(task, body)
send_mail(task, body)
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 644
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 645
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 646
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 647
local function from_callback(err_message, code, body, headers)
local function from_callback(err_message, code, body, headers)
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 648
if err_message == nil and code == 201 and body ~= nil then
if err_message == nil and code == 201 and body ~= nil then
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 649
rspamd_logger.infox("BCC: sending BCC to %s for from match", body)
rspamd_logger.infox("BCC: sending BCC to %s for from match", body)
same change
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 650
send_mail(task, body)
send_mail(task, body)
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 651
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 652
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 653
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 654
if rcpt_table then
if rcpt_table then
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 655
for _,e in ipairs(rcpt_table) do
for _,e in ipairs(rcpt_table) do
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 656
rspamd_logger.infox(rspamd_config, "BCC: checking bcc for rcpt address %s", e)
rspamd_logger.infox(rspamd_config, "BCC: checking bcc for rcpt address %s", e)
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 657
rspamd_http.request({
rspamd_http.request({
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 658
task=task,
task=task,
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 659
url='http://nginx:8081/bcc.php',
url='http://nginx:8081/bcc.php',
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 660
body='',
body='',
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 661
callback=rcpt_callback,
callback=rcpt_callback,
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 662
headers={Rcpt=e}
headers={Rcpt=e}
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 663
})
})
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 664
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 665
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 666
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 667
if from_table then
if from_table then
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 668
for _,e in ipairs(from_table) do
for _,e in ipairs(from_table) do
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 669
rspamd_logger.infox(rspamd_config, "BCC: checking bcc for from address %s", e)
rspamd_logger.infox(rspamd_config, "BCC: checking bcc for from address %s", e)
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 670
rspamd_http.request({
rspamd_http.request({
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 671
task=task,
task=task,
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 672
url='http://nginx:8081/bcc.php',
url='http://nginx:8081/bcc.php',
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 673
body='',
body='',
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 674
callback=from_callback,
callback=from_callback,
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 675
headers={From=e}
headers={From=e}
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 676
})
})
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 677
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 678
end
end
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 679
DerLinkman
7 months ago
67e7acd
rspamd: upgrade to 3.14.1, trixie rebuild + bcc forwarded hosts fix (#6958)
- Full commit hash
67e7acd6bd444c5721bb82dceafa9d0d1b35d4e2- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 680
-- Don't return true to avoid symbol being logged
-- Don't return true to avoid symbol being logged
andryyy
about 5 years ago
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 681
end,
end,
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 682
priority = 20
priority = 20
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 683
})
})
same change
c895528
[Rspamd] Create BCC plugin
- Full commit hash
c8955284a2159f529ae108eb70ce1f9b3bbf061a- Author
- andryyy <[email protected]>
- Date
- about 5 years ago
- Selected line
- 684
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
- 685
rspamd_config:register_symbol({
rspamd_config:register_symbol({
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
- 686
name = 'DYN_RL_CHECK',
name = 'DYN_RL_CHECK',
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
- 687
type = 'prefilter',
type = 'prefilter',
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
- 688
callback = function(task)
callback = function(task)
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
- 689
local util = require("rspamd_util")
local util = require("rspamd_util")
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
- 690
local redis_params = rspamd_parse_redis_server('dyn_rl')
local redis_params = rspamd_parse_redis_server('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
- 691
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
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
- 692
local envfrom = task:get_from(1)
local envfrom = task:get_from(1)
Dmitriy Alekseev
11 months ago
06db1d6
[Rspamd] Do not increment rate limit for emails from user to himself (#6706)
- Full commit hash
06db1d6a72ce65cd5e464eab7f2b1970da555b49- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 11 months ago
- Selected line
- 693
local envrcpt = task:get_recipients(1) or {}
local envrcpt = task:get_recipients(1) or {}
André
about 8 years ago
4c31ada
[Rspamd] Ratelimit: fix attempt to index a nil value when no authenticated user is found in a message
- Full commit hash
4c31adaa82cf4dc94f26886eff14746c5233bd85- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 694
local uname = task:get_user()
local uname = task:get_user()
André
about 8 years ago
7181ee4
[Rspamd] Apply ratelimit against authenticated user instead of envelope from
- Full commit hash
7181ee4658926aea4b746d815627e54ce228534f- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 695
if not envfrom or not uname then
if not envfrom or not uname then
andryyy
almost 9 years ago
073c6c6
[Postfix/Rspamd] Do not reject unauthenticated sender mismatches but rewrite their subject and assign symbol SPOOFED_SENDER with score 1.0
- Full commit hash
073c6c6e7352a4fa9a1d4b67429e99a0a61998ca- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 696
return false
return false
same change
073c6c6
[Postfix/Rspamd] Do not reject unauthenticated sender mismatches but rewrite their subject and assign symbol SPOOFED_SENDER with score 1.0
- Full commit hash
073c6c6e7352a4fa9a1d4b67429e99a0a61998ca- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 697
end
end
Dmitriy Alekseev
11 months ago
06db1d6
[Rspamd] Do not increment rate limit for emails from user to himself (#6706)
- Full commit hash
06db1d6a72ce65cd5e464eab7f2b1970da555b49- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 11 months ago
- Selected line
- 698
André
about 8 years ago
4c31ada
[Rspamd] Ratelimit: fix attempt to index a nil value when no authenticated user is found in a message
- Full commit hash
4c31adaa82cf4dc94f26886eff14746c5233bd85- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 699
local uname = uname:lower()
local uname = uname:lower()
same change
4c31ada
[Rspamd] Ratelimit: fix attempt to index a nil value when no authenticated user is found in a message
- Full commit hash
4c31adaa82cf4dc94f26886eff14746c5233bd85- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 700
Dmitriy Alekseev
11 months ago
06db1d6
[Rspamd] Do not increment rate limit for emails from user to himself (#6706)
- Full commit hash
06db1d6a72ce65cd5e464eab7f2b1970da555b49- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 11 months ago
- Selected line
- 701
if #envrcpt == 1 and envrcpt[1].addr:lower() == uname then
if #envrcpt == 1 and envrcpt[1].addr:lower() == uname then
same change
06db1d6
[Rspamd] Do not increment rate limit for emails from user to himself (#6706)
- Full commit hash
06db1d6a72ce65cd5e464eab7f2b1970da555b49- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 11 months ago
- Selected line
- 702
return false
return false
same change
06db1d6
[Rspamd] Do not increment rate limit for emails from user to himself (#6706)
- Full commit hash
06db1d6a72ce65cd5e464eab7f2b1970da555b49- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 11 months ago
- Selected line
- 703
end
end
same change
06db1d6
[Rspamd] Do not increment rate limit for emails from user to himself (#6706)
- Full commit hash
06db1d6a72ce65cd5e464eab7f2b1970da555b49- Author
- Dmitriy Alekseev <[email protected]>
- Date
- 11 months ago
- Selected line
- 704
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
- 705
local env_from_domain = envfrom[1].domain:lower() -- get smtp from domain in lower case
local env_from_domain = envfrom[1].domain:lower() -- get smtp from domain in lower case
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
- 706
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
- 707
local function redis_cb_user(err, data)
local function redis_cb_user(err, data)
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
- 708
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
- 709
if err or type(data) ~= 'string' then
if err or type(data) ~= 'string' then
André
about 8 years ago
7181ee4
[Rspamd] Apply ratelimit against authenticated user instead of envelope from
- Full commit hash
7181ee4658926aea4b746d815627e54ce228534f- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 710
rspamd_logger.infox(rspamd_config, "dynamic ratelimit request for user %s returned invalid or empty data (\"%s\") or error (\"%s\") - trying dynamic ratelimit for domain...", uname, data, err)
rspamd_logger.infox(rspamd_config, "dynamic ratelimit request for user %s returned invalid or empty data (\"%s\") or error (\"%s\") - trying dynamic ratelimit for domain...", uname, data, err)
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
- 711
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
- 712
local function redis_key_cb_domain(err, data)
local function redis_key_cb_domain(err, data)
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
- 713
if err or type(data) ~= 'string' then
if err or type(data) ~= 'string' 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
- 714
rspamd_logger.infox(rspamd_config, "dynamic ratelimit request for domain %s returned invalid or empty data (\"%s\") or error (\"%s\")", env_from_domain, data, err)
rspamd_logger.infox(rspamd_config, "dynamic ratelimit request for domain %s returned invalid or empty data (\"%s\") or error (\"%s\")", env_from_domain, data, err)
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
- 715
else
else
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
- 716
rspamd_logger.infox(rspamd_config, "found dynamic ratelimit in redis for domain %s with value %s", env_from_domain, data)
rspamd_logger.infox(rspamd_config, "found dynamic ratelimit in redis for domain %s with value %s", env_from_domain, data)
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
- 717
task:insert_result('DYN_RL', 0.0, data, env_from_domain)
task:insert_result('DYN_RL', 0.0, data, env_from_domain)
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
- 718
end
end
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
- 719
end
end
andryyy
over 9 years ago
276e370
Rspamd tag check for non-spam only (post-filter), remove sql files from repository"
- Full commit hash
276e37098912691a6a7976ee4c3545597ec53f09- Author
- andryyy <[email protected]>
- Date
- over 9 years ago
- Selected line
- 720
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
- 721
local redis_ret_domain = rspamd_redis_make_request(task,
local redis_ret_domain = rspamd_redis_make_request(task,
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
- 722
redis_params, -- connect params
redis_params, -- connect params
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
- 723
env_from_domain, -- hash key
env_from_domain, -- hash key
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
- 724
false, -- is write
false, -- is write
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
- 725
redis_key_cb_domain, --callback
redis_key_cb_domain, --callback
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
- 726
'HGET', -- command
'HGET', -- command
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
- 727
{'RL_VALUE', env_from_domain} -- arguments
{'RL_VALUE', env_from_domain} -- arguments
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
- 728
)
)
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
- 729
if not redis_ret_domain then
if not redis_ret_domain 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
- 730
rspamd_logger.infox(rspamd_config, "cannot make request to load ratelimit for domain")
rspamd_logger.infox(rspamd_config, "cannot make request to load ratelimit for domain")
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
- 731
end
end
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
- 732
else
else
André
about 8 years ago
7181ee4
[Rspamd] Apply ratelimit against authenticated user instead of envelope from
- Full commit hash
7181ee4658926aea4b746d815627e54ce228534f- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 733
rspamd_logger.infox(rspamd_config, "found dynamic ratelimit in redis for user %s with value %s", uname, data)
rspamd_logger.infox(rspamd_config, "found dynamic ratelimit in redis for user %s with value %s", uname, data)
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
- 734
task:insert_result('DYN_RL', 0.0, data, uname)
task:insert_result('DYN_RL', 0.0, data, uname)
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
- 735
end
end
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
- 736
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
- 737
end
end
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
- 738
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
- 739
local redis_ret_user = rspamd_redis_make_request(task,
local redis_ret_user = rspamd_redis_make_request(task,
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
- 740
redis_params, -- connect params
redis_params, -- connect params
André
about 8 years ago
7181ee4
[Rspamd] Apply ratelimit against authenticated user instead of envelope from
- Full commit hash
7181ee4658926aea4b746d815627e54ce228534f- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 741
uname, -- hash key
uname, -- hash key
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
- 742
false, -- is write
false, -- is write
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
- 743
redis_cb_user, --callback
redis_cb_user, --callback
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
- 744
'HGET', -- command
'HGET', -- command
André
about 8 years ago
7181ee4
[Rspamd] Apply ratelimit against authenticated user instead of envelope from
- Full commit hash
7181ee4658926aea4b746d815627e54ce228534f- Author
- André <[email protected]>
- Date
- about 8 years ago
- Selected line
- 745
{'RL_VALUE', uname} -- arguments
{'RL_VALUE', uname} -- arguments
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
- 746
)
)
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
- 747
if not redis_ret_user then
if not redis_ret_user 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
- 748
rspamd_logger.infox(rspamd_config, "cannot make request to load ratelimit for user")
rspamd_logger.infox(rspamd_config, "cannot make request to load ratelimit for user")
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
- 749
end
end
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
- 750
return true
return true
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
- 751
end,
end,
andryyy
almost 7 years ago
ee57b59
[Rspamd] Various fixes for Rspamd 2.0, neural network activated, autolearning activated (auto-keeps a ratio)
- Full commit hash
ee57b5921f59e7f49dabdb37d8ae93d8a7744aab- Author
- andryyy <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 752
flags = 'empty',
flags = 'empty',
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
- 753
priority = 20
priority = 20
Michael Kuron
almost 9 years ago
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 754
})
})
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 755
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 756
rspamd_config:register_symbol({
rspamd_config:register_symbol({
andryyy
almost 9 years ago
fd3b2e5
[Rspamd] Changes to ignore watchdog checks
- Full commit hash
fd3b2e5f168d2fad2f2109c43441d64e82e75c11- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 757
name = 'NO_LOG_STAT',
name = 'NO_LOG_STAT',
Michael Kuron
almost 9 years ago
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 758
type = 'postfilter',
type = 'postfilter',
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 759
callback = function(task)
callback = function(task)
andryyy
almost 9 years ago
fd3b2e5
[Rspamd] Changes to ignore watchdog checks
- Full commit hash
fd3b2e5f168d2fad2f2109c43441d64e82e75c11- Author
- andryyy <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 760
local from = task:get_header('From')
local from = task:get_header('From')
andryyy
almost 5 years ago
80fc18c
[Rspamd] Always include watchdog in no_stat and no_log flag symbol
- Full commit hash
80fc18c5b4db45c32fa7a47a02d174aef3853f5c- Author
- andryyy <[email protected]>
- Date
- almost 5 years ago
- Selected line
- 761
if from and (monitoring_hosts:get_key(from) or from == "watchdog@localhost") then
if from and (monitoring_hosts:get_key(from) or from == "watchdog@localhost") then
Michael Kuron
almost 9 years ago
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 762
task:set_flag('no_log')
task:set_flag('no_log')
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 763
task:set_flag('no_stat')
task:set_flag('no_stat')
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 764
end
end
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 765
end
end
same change
a411a35
rspamd: exclude Mail Flow monitoring from logs and stats
- Full commit hash
a411a357b92966e9f785f23ff3f845969deef48e- Author
- Michael Kuron <[email protected]>
- Date
- almost 9 years ago
- Selected line
- 766
})
})
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 767
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 768
rspamd_config:register_symbol({
rspamd_config:register_symbol({
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 769
name = 'MOO_FOOTER',
name = 'MOO_FOOTER',
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 770
type = 'prefilter',
type = 'prefilter',
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 771
callback = function(task)
callback = function(task)
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 772
local cjson = require "cjson"
local cjson = require "cjson"
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 773
local lua_mime = require "lua_mime"
local lua_mime = require "lua_mime"
FreddleSpl0it
almost 3 years ago
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 774
local lua_util = require "lua_util"
local lua_util = require "lua_util"
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 775
local rspamd_logger = require "rspamd_logger"
local rspamd_logger = require "rspamd_logger"
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 776
local rspamd_http = require "rspamd_http"
local rspamd_http = require "rspamd_http"
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 777
local envfrom = task:get_from(1)
local envfrom = task:get_from(1)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 778
local uname = task:get_user()
local uname = task:get_user()
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 779
if not envfrom or not uname then
if not envfrom or not uname then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 780
return false
return false
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 781
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 782
local uname = uname:lower()
local uname = uname:lower()
FreddleSpl0it
over 2 years ago
b3ac941
[Rspamd] fix excluding alias from domain wide footer
- Full commit hash
b3ac94115e9870159acbeae5477fbcc06fe01536- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 783
local env_from_domain = envfrom[1].domain:lower()
local env_from_domain = envfrom[1].domain:lower()
same change
b3ac941
[Rspamd] fix excluding alias from domain wide footer
- Full commit hash
b3ac94115e9870159acbeae5477fbcc06fe01536- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 784
local env_from_addr = envfrom[1].addr:lower()
local env_from_addr = envfrom[1].addr:lower()
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 785
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 786
-- determine newline type
-- determine newline type
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 787
local function newline(task)
local function newline(task)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 788
local t = task:get_newlines_type()
local t = task:get_newlines_type()
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 789
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 790
if t == 'cr' then
if t == 'cr' then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 791
return '\r'
return '\r'
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 792
elseif t == 'lf' then
elseif t == 'lf' then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 793
return '\n'
return '\n'
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 794
end
end
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 795
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 796
return '\r\n'
return '\r\n'
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 797
end
end
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 798
-- retrieve footer
-- retrieve footer
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 799
local function footer_cb(err_message, code, data, headers)
local function footer_cb(err_message, code, data, headers)
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 800
if err or type(data) ~= 'string' then
if err or type(data) ~= 'string' then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 801
rspamd_logger.infox(rspamd_config, "domain wide footer request for user %s returned invalid or empty data (\"%s\") or error (\"%s\")", uname, data, err)
rspamd_logger.infox(rspamd_config, "domain wide footer request for user %s returned invalid or empty data (\"%s\") or error (\"%s\")", uname, data, err)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 802
else
else
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 803
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 804
-- parse json string
-- parse json string
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 805
local footer = cjson.decode(data)
local footer = cjson.decode(data)
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 806
if not footer then
if not footer then
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 807
rspamd_logger.infox(rspamd_config, "parsing domain wide footer for user %s returned invalid or empty data (\"%s\") or error (\"%s\")", uname, data, err)
rspamd_logger.infox(rspamd_config, "parsing domain wide footer for user %s returned invalid or empty data (\"%s\") or error (\"%s\")", uname, data, err)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 808
else
else
FreddleSpl0it
over 2 years ago
392967d
[Rspamd] domain wide footer check for empty strings
- Full commit hash
392967d6647da44db6fd7f8111d3c98f7032e6bc- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 809
if footer and type(footer) == "table" and (footer.html and footer.html ~= "" or footer.plain and footer.plain ~= "") then
if footer and type(footer) == "table" and (footer.html and footer.html ~= "" or footer.plain and footer.plain ~= "") then
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 810
rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s, vars=%s", uname, footer.html, footer.plain, footer.vars)
rspamd_logger.infox(rspamd_config, "found domain wide footer for user %s: html=%s, plain=%s, vars=%s", uname, footer.html, footer.plain, footer.vars)
FreddleSpl0it
almost 3 years ago
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 811
FreddleSpl0it
over 2 years ago
90a7cff
[Rspamd] check if footer.skip_replies is not 0
- Full commit hash
90a7cff2c9061b0ffd0cba63ade68e3a313d4b61- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 812
if footer.skip_replies ~= 0 then
if footer.skip_replies ~= 0 then
FreddleSpl0it
over 2 years ago
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 813
in_reply_to = task:get_header_raw('in-reply-to')
in_reply_to = task:get_header_raw('in-reply-to')
same change
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 814
if in_reply_to then
if in_reply_to then
same change
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 815
rspamd_logger.infox(rspamd_config, "mail is a reply - skip footer")
rspamd_logger.infox(rspamd_config, "mail is a reply - skip footer")
same change
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 816
return
return
same change
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 817
end
end
same change
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 818
end
end
same change
efab117
add option to skip footer on reply e-mails
- Full commit hash
efab11720dd144d800ca0bf127c3410516e6bbb3- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 819
FreddleSpl0it
almost 3 years ago
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 820
local envfrom_mime = task:get_from(2)
local envfrom_mime = task:get_from(2)
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 821
local from_name = ""
local from_name = ""
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 822
if envfrom_mime and envfrom_mime[1].name then
if envfrom_mime and envfrom_mime[1].name then
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 823
from_name = envfrom_mime[1].name
from_name = envfrom_mime[1].name
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 824
elseif envfrom and envfrom[1].name then
elseif envfrom and envfrom[1].name then
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 825
from_name = envfrom[1].name
from_name = envfrom[1].name
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 826
end
end
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 827
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 828
-- default replacements
-- default replacements
FreddleSpl0it
almost 3 years ago
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 829
local replacements = {
local replacements = {
FreddleSpl0it
almost 3 years ago
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 830
auth_user = uname,
auth_user = uname,
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 831
from_user = envfrom[1].user,
from_user = envfrom[1].user,
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 832
from_name = from_name,
from_name = from_name,
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 833
from_addr = envfrom[1].addr,
from_addr = envfrom[1].addr,
same change
2111115
[Rspamd] domain-wide-footer add more template vars
- Full commit hash
2111115a7329300e0c0433fe6c238bb1f7a48c3e- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 834
from_domain = envfrom[1].domain:lower()
from_domain = envfrom[1].domain:lower()
FreddleSpl0it
almost 3 years ago
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 835
}
}
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 836
-- add custom mailbox attributes
-- add custom mailbox attributes
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 837
if footer.vars and type(footer.vars) == "string" then
if footer.vars and type(footer.vars) == "string" then
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 838
local footer_vars = cjson.decode(footer.vars)
local footer_vars = cjson.decode(footer.vars)
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 839
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 840
if type(footer_vars) == "table" then
if type(footer_vars) == "table" then
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 841
for key, value in pairs(footer_vars) do
for key, value in pairs(footer_vars) do
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 842
replacements[key] = value
replacements[key] = value
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 843
end
end
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 844
end
end
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 845
end
end
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 846
if footer.html and footer.html ~= "" then
if footer.html and footer.html ~= "" then
FreddleSpl0it
almost 3 years ago
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 847
footer.html = lua_util.jinja_template(footer.html, replacements, true)
footer.html = lua_util.jinja_template(footer.html, replacements, true)
same change
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 848
end
end
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 849
if footer.plain and footer.plain ~= "" then
if footer.plain and footer.plain ~= "" then
FreddleSpl0it
almost 3 years ago
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 850
footer.plain = lua_util.jinja_template(footer.plain, replacements, true)
footer.plain = lua_util.jinja_template(footer.plain, replacements, true)
same change
5ae9605
[Rspamd] domain-wide-footer add jinja templating
- Full commit hash
5ae9605e7747d2588609f9b34245264c03a811ac- Author
- FreddleSpl0it <[email protected]>
- Date
- almost 3 years ago
- Selected line
- 851
end
end
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 852
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 853
-- add footer
-- add footer
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 854
local out = {}
local out = {}
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 855
local rewrite = lua_mime.add_text_footer(task, footer.html, footer.plain) or {}
local rewrite = lua_mime.add_text_footer(task, footer.html, footer.plain) or {}
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 856
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 857
local seen_cte
local seen_cte
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 858
local newline_s = newline(task)
local newline_s = newline(task)
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 859
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 860
local function rewrite_ct_cb(name, hdr)
local function rewrite_ct_cb(name, hdr)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 861
if rewrite.need_rewrite_ct then
if rewrite.need_rewrite_ct then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 862
if name:lower() == 'content-type' then
if name:lower() == 'content-type' then
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 863
-- include boundary if present
-- include boundary if present
same change
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 864
local boundary_part = rewrite.new_ct.boundary and
local boundary_part = rewrite.new_ct.boundary and
same change
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 865
string.format('; boundary="%s"', rewrite.new_ct.boundary) or ''
string.format('; boundary="%s"', rewrite.new_ct.boundary) or ''
same change
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 866
local nct = string.format('%s: %s/%s; charset=utf-8%s',
local nct = string.format('%s: %s/%s; charset=utf-8%s',
same change
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 867
'Content-Type', rewrite.new_ct.type, rewrite.new_ct.subtype, boundary_part)
'Content-Type', rewrite.new_ct.type, rewrite.new_ct.subtype, boundary_part)
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 868
out[#out + 1] = nct
out[#out + 1] = nct
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 869
-- update Content-Type header (include boundary if present)
-- update Content-Type header (include boundary if present)
FreddleSpl0it
over 2 years ago
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 870
task:set_milter_reply({
task:set_milter_reply({
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 871
remove_headers = {['Content-Type'] = 0},
remove_headers = {['Content-Type'] = 0},
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 872
})
})
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 873
task:set_milter_reply({
task:set_milter_reply({
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 874
add_headers = {['Content-Type'] = string.format('%s/%s; charset=utf-8%s',
add_headers = {['Content-Type'] = string.format('%s/%s; charset=utf-8%s',
same change
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 875
rewrite.new_ct.type, rewrite.new_ct.subtype, boundary_part)}
rewrite.new_ct.type, rewrite.new_ct.subtype, boundary_part)}
FreddleSpl0it
over 2 years ago
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 876
})
})
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 877
return
return
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 878
elseif name:lower() == 'content-transfer-encoding' then
elseif name:lower() == 'content-transfer-encoding' then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 879
out[#out + 1] = string.format('%s: %s',
out[#out + 1] = string.format('%s: %s',
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 880
'Content-Transfer-Encoding', 'quoted-printable')
'Content-Transfer-Encoding', 'quoted-printable')
FreddleSpl0it
over 2 years ago
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 881
-- update Content-Transfer-Encoding header
-- update Content-Transfer-Encoding header
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 882
task:set_milter_reply({
task:set_milter_reply({
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 883
remove_headers = {['Content-Transfer-Encoding'] = 0},
remove_headers = {['Content-Transfer-Encoding'] = 0},
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 884
})
})
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 885
task:set_milter_reply({
task:set_milter_reply({
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 886
add_headers = {['Content-Transfer-Encoding'] = 'quoted-printable'}
add_headers = {['Content-Transfer-Encoding'] = 'quoted-printable'}
same change
98cdb95
[Rspamd] milter update Content-Type and Content-Transfer-Encoding header after need_rewrite_ct
- Full commit hash
98cdb95bc018b41cbebc8765ee10a1c5577a1110- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 887
})
})
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 888
seen_cte = true
seen_cte = true
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 889
return
return
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 890
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 891
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 892
out[#out + 1] = hdr.raw:gsub('\r?\n?$', '')
out[#out + 1] = hdr.raw:gsub('\r?\n?$', '')
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 893
end
end
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 894
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 895
task:headers_foreach(rewrite_ct_cb, {full = true})
task:headers_foreach(rewrite_ct_cb, {full = true})
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 896
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 897
if not seen_cte and rewrite.need_rewrite_ct then
if not seen_cte and rewrite.need_rewrite_ct then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 898
out[#out + 1] = string.format('%s: %s', 'Content-Transfer-Encoding', 'quoted-printable')
out[#out + 1] = string.format('%s: %s', 'Content-Transfer-Encoding', 'quoted-printable')
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 899
end
end
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 900
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 901
-- End of headers
-- End of headers
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 902
out[#out + 1] = newline_s
out[#out + 1] = newline_s
FreddleSpl0it
11 months ago
8d7235b
[RSPAMD] Add boundary if present when applying domain-wide footer
- Full commit hash
8d7235b5356f61e6a4a822b1bbeffba32b476e57- Author
- FreddleSpl0it <[email protected]>
- Date
- 11 months ago
- Selected line
- 903
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 904
if rewrite.out then
if rewrite.out then
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 905
for _,o in ipairs(rewrite.out) do
for _,o in ipairs(rewrite.out) do
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 906
out[#out + 1] = o
out[#out + 1] = o
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 907
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 908
else
else
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 909
out[#out + 1] = task:get_rawbody()
out[#out + 1] = task:get_rawbody()
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 910
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 911
local out_parts = {}
local out_parts = {}
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 912
for _,o in ipairs(out) do
for _,o in ipairs(out) do
FreddleSpl0it
over 2 years ago
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 913
if type(o) ~= 'table' then
if type(o) ~= 'table' then
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 914
out_parts[#out_parts + 1] = o
out_parts[#out_parts + 1] = o
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 915
out_parts[#out_parts + 1] = newline_s
out_parts[#out_parts + 1] = newline_s
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 916
else
else
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 917
local removePrefix = "--\x0D\x0AContent-Type"
local removePrefix = "--\x0D\x0AContent-Type"
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 918
if string.lower(string.sub(tostring(o[1]), 1, string.len(removePrefix))) == string.lower(removePrefix) then
if string.lower(string.sub(tostring(o[1]), 1, string.len(removePrefix))) == string.lower(removePrefix) then
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 919
o[1] = string.sub(tostring(o[1]), string.len("--\x0D\x0A") + 1)
o[1] = string.sub(tostring(o[1]), string.len("--\x0D\x0A") + 1)
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 920
end
end
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 921
out_parts[#out_parts + 1] = o[1]
out_parts[#out_parts + 1] = o[1]
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 922
if o[2] then
if o[2] then
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 923
out_parts[#out_parts + 1] = newline_s
out_parts[#out_parts + 1] = newline_s
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 924
end
end
same change
8ba1e1b
[Rspamd] workaround - remove "--\x0D\x0A" prefix from rewritten cts
- Full commit hash
8ba1e1ba9e4bd18fd7044714799b645569eb429c- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 925
end
end
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 926
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 927
task:set_message(out_parts)
task:set_message(out_parts)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 928
else
else
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 929
rspamd_logger.infox(rspamd_config, "domain wide footer request for user %s returned invalid or empty data (\"%s\")", uname, data)
rspamd_logger.infox(rspamd_config, "domain wide footer request for user %s returned invalid or empty data (\"%s\")", uname, data)
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 930
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 931
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 932
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 933
end
end
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 934
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 935
-- fetch footer
-- fetch footer
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 936
rspamd_http.request({
rspamd_http.request({
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 937
task=task,
task=task,
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 938
url='http://nginx:8081/footer.php',
url='http://nginx:8081/footer.php',
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 939
body='',
body='',
same change
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 940
callback=footer_cb,
callback=footer_cb,
FreddleSpl0it
over 2 years ago
b3ac941
[Rspamd] fix excluding alias from domain wide footer
- Full commit hash
b3ac94115e9870159acbeae5477fbcc06fe01536- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 941
headers={Domain=env_from_domain,Username=uname,From=env_from_addr},
headers={Domain=env_from_domain,Username=uname,From=env_from_addr},
FreddleSpl0it
over 2 years ago
d2e3867
[Web][Rspamd] implement custom mailbox attributes and improve domain wide footer
- Full commit hash
d2e38678936158637fae1f9518248cc10099bf7f- Author
- FreddleSpl0it <[email protected]>
- Date
- over 2 years ago
- Selected line
- 942
})
})
FreddleSpl0it
about 3 years ago
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 943
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 944
return true
return true
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 945
end,
end,
same change
f295b8c
[Rspamd] add domain wide footer
- Full commit hash
f295b8cd91f9d691ad93c53191e6319282dcae55- Author
- FreddleSpl0it <[email protected]>
- Date
- about 3 years ago
- Selected line
- 946
priority = 1
priority = 1
DocFraggle
5 months ago
5e478a3
Fix lua script sub-addressing (#7037)
- Full commit hash
5e478a32df91bac32f9cbb150aad6dd0228f8240- Author
- DocFraggle <[email protected]>
- Date
- 5 months ago
- Selected line
- 947
})
})