diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-25 20:16:35 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-25 20:16:35 +0000 |
commit | 2fa0e126c74e8702ef16759d92c1c05d28337195 (patch) | |
tree | 5f8550175eb1277a2c3a79863df23de913302a3f /lualib | |
parent | c6d0f564e372dbe2497ec92fa78522dbfb30d388 (diff) | |
download | rspamd-2fa0e126c74e8702ef16759d92c1c05d28337195.tar.gz rspamd-2fa0e126c74e8702ef16759d92c1c05d28337195.zip |
[Minor] Update my email and the copyright year
Diffstat (limited to 'lualib')
74 files changed, 76 insertions, 76 deletions
diff --git a/lualib/global_functions.lua b/lualib/global_functions.lua index 05c967534..45d4e843d 100644 --- a/lualib/global_functions.lua +++ b/lualib/global_functions.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_auth_results.lua b/lualib/lua_auth_results.lua index 7b41e6ff5..d10e1081c 100644 --- a/lualib/lua_auth_results.lua +++ b/lualib/lua_auth_results.lua @@ -1,6 +1,6 @@ --[[ Copyright (c) 2016, Andrew Lewis <nerf@judo.za.org> -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_aws.lua b/lualib/lua_aws.lua index d426e30a3..5de61eb0c 100644 --- a/lualib/lua_aws.lua +++ b/lualib/lua_aws.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2021, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_bayes_learn.lua b/lualib/lua_bayes_learn.lua index a059c6374..7782d8196 100644 --- a/lualib/lua_bayes_learn.lua +++ b/lualib/lua_bayes_learn.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index 295c952db..08e4ce416 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_clickhouse.lua b/lualib/lua_clickhouse.lua index e0d4c5618..7317cc392 100644 --- a/lualib/lua_clickhouse.lua +++ b/lualib/lua_clickhouse.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2018, Mikhail Galanin <mgalanin@mimecast.com> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_content/ical.lua b/lualib/lua_content/ical.lua index ef8da5068..72db634ee 100644 --- a/lualib/lua_content/ical.lua +++ b/lualib/lua_content/ical.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_content/init.lua b/lualib/lua_content/init.lua index 7947f16ab..1a13311b1 100644 --- a/lualib/lua_content/init.lua +++ b/lualib/lua_content/init.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_content/pdf.lua b/lualib/lua_content/pdf.lua index d73c7b1ae..0677fab06 100644 --- a/lualib/lua_content/pdf.lua +++ b/lualib/lua_content/pdf.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_content/vcard.lua b/lualib/lua_content/vcard.lua index 91460a9d4..993a0828f 100644 --- a/lualib/lua_content/vcard.lua +++ b/lualib/lua_content/vcard.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2021, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_dkim_tools.lua b/lualib/lua_dkim_tools.lua index 777789dc6..f8cfc67d8 100644 --- a/lualib/lua_dkim_tools.lua +++ b/lualib/lua_dkim_tools.lua @@ -1,6 +1,6 @@ --[[ Copyright (c) 2016, Andrew Lewis <nerf@judo.za.org> -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_ffi/common.lua b/lualib/lua_ffi/common.lua index 652b1dc6e..4455c580e 100644 --- a/lualib/lua_ffi/common.lua +++ b/lualib/lua_ffi/common.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_ffi/dkim.lua b/lualib/lua_ffi/dkim.lua index 8735d8709..16d7c11a1 100644 --- a/lualib/lua_ffi/dkim.lua +++ b/lualib/lua_ffi/dkim.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_ffi/init.lua b/lualib/lua_ffi/init.lua index 08a6763bb..6e61462f9 100644 --- a/lualib/lua_ffi/init.lua +++ b/lualib/lua_ffi/init.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_ffi/linalg.lua b/lualib/lua_ffi/linalg.lua index 59ff577a2..6a5c53df0 100644 --- a/lualib/lua_ffi/linalg.lua +++ b/lualib/lua_ffi/linalg.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_ffi/spf.lua b/lualib/lua_ffi/spf.lua index c75eee0d2..783870eac 100644 --- a/lualib/lua_ffi/spf.lua +++ b/lualib/lua_ffi/spf.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_fuzzy.lua b/lualib/lua_fuzzy.lua index eaeea7158..1f82752f9 100644 --- a/lualib/lua_fuzzy.lua +++ b/lualib/lua_fuzzy.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_lexer.lua b/lualib/lua_lexer.lua index 8ce803d59..324641013 100644 --- a/lualib/lua_lexer.lua +++ b/lualib/lua_lexer.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_magic/heuristics.lua b/lualib/lua_magic/heuristics.lua index 8f287acbf..ea8f08e08 100644 --- a/lualib/lua_magic/heuristics.lua +++ b/lualib/lua_magic/heuristics.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_magic/init.lua b/lualib/lua_magic/init.lua index 890afea68..4ad027168 100644 --- a/lualib/lua_magic/init.lua +++ b/lualib/lua_magic/init.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_magic/patterns.lua b/lualib/lua_magic/patterns.lua index 2cf138857..b1eb5ad4d 100644 --- a/lualib/lua_magic/patterns.lua +++ b/lualib/lua_magic/patterns.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_magic/types.lua b/lualib/lua_magic/types.lua index 09c93effc..859c578ca 100644 --- a/lualib/lua_magic/types.lua +++ b/lualib/lua_magic/types.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_maps.lua b/lualib/lua_maps.lua index f4b64173d..9c109fac2 100644 --- a/lualib/lua_maps.lua +++ b/lualib/lua_maps.lua @@ -4,7 +4,7 @@ --]] --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_maps_expressions.lua b/lualib/lua_maps_expressions.lua index be4368bd3..6a2532bf4 100644 --- a/lualib/lua_maps_expressions.lua +++ b/lualib/lua_maps_expressions.lua @@ -19,7 +19,7 @@ whitelist_ip_from = { --]] --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_meta.lua b/lualib/lua_meta.lua index 94ce73053..2de26cf44 100644 --- a/lualib/lua_meta.lua +++ b/lualib/lua_meta.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua index 2128b29a6..4f8450964 100644 --- a/lualib/lua_mime.lua +++ b/lualib/lua_mime.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_mime_types.lua b/lualib/lua_mime_types.lua index f0a04066f..4fefddee9 100644 --- a/lualib/lua_mime_types.lua +++ b/lualib/lua_mime_types.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_redis.lua b/lualib/lua_redis.lua index 7737afa2b..fa7d52992 100644 --- a/lualib/lua_redis.lua +++ b/lualib/lua_redis.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/avast.lua b/lualib/lua_scanners/avast.lua index da8e6d710..6ecf6756f 100644 --- a/lualib/lua_scanners/avast.lua +++ b/lualib/lua_scanners/avast.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/clamav.lua b/lualib/lua_scanners/clamav.lua index bc090036c..48aaa66c4 100644 --- a/lualib/lua_scanners/clamav.lua +++ b/lualib/lua_scanners/clamav.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua index cefec8780..2d4f2cf63 100644 --- a/lualib/lua_scanners/common.lua +++ b/lualib/lua_scanners/common.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2019, Carsten Rosenberg <c.rosenberg@heinlein-support.de> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_scanners/dcc.lua b/lualib/lua_scanners/dcc.lua index e82c97cfc..9c4619479 100644 --- a/lualib/lua_scanners/dcc.lua +++ b/lualib/lua_scanners/dcc.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2018, Carsten Rosenberg <c.rosenberg@heinlein-support.de> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_scanners/fprot.lua b/lualib/lua_scanners/fprot.lua index 0d63bf4b8..35c4c943d 100644 --- a/lualib/lua_scanners/fprot.lua +++ b/lualib/lua_scanners/fprot.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/icap.lua b/lualib/lua_scanners/icap.lua index 8fb4bff44..1d783e834 100644 --- a/lualib/lua_scanners/icap.lua +++ b/lualib/lua_scanners/icap.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2019, Carsten Rosenberg <c.rosenberg@heinlein-support.de> Licensed under the Apache License, Version 2.0 (the "License"); @@ -482,7 +482,7 @@ local function icap_check(task, content, digest, rule, maybe_part) elseif headers.http and string.find(headers.http, '^HTTP%/[12]%.. [4]%d%d') then threat_table_add( string.format("pseudo-virus (blocked): %s", string.gsub(headers.http, 'HTTP%/[12]%.. ', '')), false) - elseif rule.use_http_3xx_as_threat and headers.http and string.find(headers.http, '^HTTP%/[12]%.. [3]%d%d') + elseif rule.use_http_3xx_as_threat and headers.http and string.find(headers.http, '^HTTP%/[12]%.. [3]%d%d') then threat_table_add( diff --git a/lualib/lua_scanners/init.lua b/lualib/lua_scanners/init.lua index 8c0f18caa..20bea7a47 100644 --- a/lualib/lua_scanners/init.lua +++ b/lualib/lua_scanners/init.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/kaspersky_av.lua b/lualib/lua_scanners/kaspersky_av.lua index c07a910cd..fc395f363 100644 --- a/lualib/lua_scanners/kaspersky_av.lua +++ b/lualib/lua_scanners/kaspersky_av.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/kaspersky_se.lua b/lualib/lua_scanners/kaspersky_se.lua index bf1fb9568..63aa4970a 100644 --- a/lualib/lua_scanners/kaspersky_se.lua +++ b/lualib/lua_scanners/kaspersky_se.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/oletools.lua b/lualib/lua_scanners/oletools.lua index e76a25911..04cdfad3e 100644 --- a/lualib/lua_scanners/oletools.lua +++ b/lualib/lua_scanners/oletools.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2018, Carsten Rosenberg <c.rosenberg@heinlein-support.de> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_scanners/p0f.lua b/lualib/lua_scanners/p0f.lua index 06953660d..c5ccea1fe 100644 --- a/lualib/lua_scanners/p0f.lua +++ b/lualib/lua_scanners/p0f.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2019, Denis Paavilainen <denpa@denpa.pro> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_scanners/pyzor.lua b/lualib/lua_scanners/pyzor.lua index cd8c8e92b..ed0e3d16b 100644 --- a/lualib/lua_scanners/pyzor.lua +++ b/lualib/lua_scanners/pyzor.lua @@ -1,7 +1,7 @@ --[[ Copyright (c) 2021, defkev <defkev@gmail.com> Copyright (c) 2018, Carsten Rosenberg <c.rosenberg@heinlein-support.de> -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/razor.lua b/lualib/lua_scanners/razor.lua index 3086da948..62b1e06a1 100644 --- a/lualib/lua_scanners/razor.lua +++ b/lualib/lua_scanners/razor.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2018, Carsten Rosenberg <c.rosenberg@heinlein-support.de> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_scanners/savapi.lua b/lualib/lua_scanners/savapi.lua index 67ded438e..2933aa7b4 100644 --- a/lualib/lua_scanners/savapi.lua +++ b/lualib/lua_scanners/savapi.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/sophos.lua b/lualib/lua_scanners/sophos.lua index cfbe93ff2..b82a71025 100644 --- a/lualib/lua_scanners/sophos.lua +++ b/lualib/lua_scanners/sophos.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/spamassassin.lua b/lualib/lua_scanners/spamassassin.lua index e920b8203..c50c477a4 100644 --- a/lualib/lua_scanners/spamassassin.lua +++ b/lualib/lua_scanners/spamassassin.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Copyright (c) 2019, Carsten Rosenberg <c.rosenberg@heinlein-support.de> Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/lualib/lua_scanners/vadesecure.lua b/lualib/lua_scanners/vadesecure.lua index 158eedb1a..b912eb46f 100644 --- a/lualib/lua_scanners/vadesecure.lua +++ b/lualib/lua_scanners/vadesecure.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_scanners/virustotal.lua b/lualib/lua_scanners/virustotal.lua index 030f053e1..e53795b84 100644 --- a/lualib/lua_scanners/virustotal.lua +++ b/lualib/lua_scanners/virustotal.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_selectors/common.lua b/lualib/lua_selectors/common.lua index 336c16695..c2fe9b58f 100644 --- a/lualib/lua_selectors/common.lua +++ b/lualib/lua_selectors/common.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_selectors/extractors.lua b/lualib/lua_selectors/extractors.lua index 705cb5031..a4b33f52f 100644 --- a/lualib/lua_selectors/extractors.lua +++ b/lualib/lua_selectors/extractors.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_selectors/init.lua b/lualib/lua_selectors/init.lua index ef9a9d7e9..b50f511a6 100644 --- a/lualib/lua_selectors/init.lua +++ b/lualib/lua_selectors/init.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_selectors/maps.lua b/lualib/lua_selectors/maps.lua index 175e23960..85b54a635 100644 --- a/lualib/lua_selectors/maps.lua +++ b/lualib/lua_selectors/maps.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_selectors/transforms.lua b/lualib/lua_selectors/transforms.lua index 232a49b79..28ae2c315 100644 --- a/lualib/lua_selectors/transforms.lua +++ b/lualib/lua_selectors/transforms.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_settings.lua b/lualib/lua_settings.lua index b645e5c4a..feeb03d28 100644 --- a/lualib/lua_settings.lua +++ b/lualib/lua_settings.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_smtp.lua b/lualib/lua_smtp.lua index 256da0522..33c69159f 100644 --- a/lualib/lua_smtp.lua +++ b/lualib/lua_smtp.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_stat.lua b/lualib/lua_stat.lua index 7fff6cefe..e7111735a 100644 --- a/lualib/lua_stat.lua +++ b/lualib/lua_stat.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_urls_compose.lua b/lualib/lua_urls_compose.lua index d63dc2428..5216721b9 100644 --- a/lualib/lua_urls_compose.lua +++ b/lualib/lua_urls_compose.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index 7cabeed2d..6b28bbe1b 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/lua_verdict.lua b/lualib/lua_verdict.lua index cde33f52e..3ce7e0689 100644 --- a/lualib/lua_verdict.lua +++ b/lualib/lua_verdict.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/plugins/neural.lua b/lualib/plugins/neural.lua index ba8550a42..56c723ea5 100644 --- a/lualib/plugins/neural.lua +++ b/lualib/plugins/neural.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -267,7 +267,7 @@ local function get_roc_thresholds(ann, inputs, outputs, alpha, beta) table.sort(r, function(p, q) return cmp(x[p], x[q]) end) - for i=1,n do + for i=1,n do a[i] = x[r[i]] b[i] = y[r[i]] end diff --git a/lualib/plugins/rbl.lua b/lualib/plugins/rbl.lua index 2b0630164..baa019f41 100644 --- a/lualib/plugins/rbl.lua +++ b/lualib/plugins/rbl.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/plugins_stats.lua b/lualib/plugins_stats.lua index 9bbebb1c8..2497fb93c 100644 --- a/lualib/plugins_stats.lua +++ b/lualib/plugins_stats.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2017, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/clickhouse.lua b/lualib/rspamadm/clickhouse.lua index 63e025f3e..6bdc612d8 100644 --- a/lualib/rspamadm/clickhouse.lua +++ b/lualib/rspamadm/clickhouse.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2020, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/configgraph.lua b/lualib/rspamadm/configgraph.lua index 6eef1f42f..75eb2d940 100644 --- a/lualib/rspamadm/configgraph.lua +++ b/lualib/rspamadm/configgraph.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/configwizard.lua b/lualib/rspamadm/configwizard.lua index bfbabbf0f..a375d81cc 100644 --- a/lualib/rspamadm/configwizard.lua +++ b/lualib/rspamadm/configwizard.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/cookie.lua b/lualib/rspamadm/cookie.lua index b9995cdf9..bc4df9de2 100644 --- a/lualib/rspamadm/cookie.lua +++ b/lualib/rspamadm/cookie.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/dmarc_report.lua b/lualib/rspamadm/dmarc_report.lua index 9bdbc8d1a..41b463a80 100644 --- a/lualib/rspamadm/dmarc_report.lua +++ b/lualib/rspamadm/dmarc_report.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2021, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua index 1cbd6b8b5..e3ffb29dd 100644 --- a/lualib/rspamadm/dns_tool.lua +++ b/lualib/rspamadm/dns_tool.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/grep.lua b/lualib/rspamadm/grep.lua index 3b4a058ab..426b93c7a 100644 --- a/lualib/rspamadm/grep.lua +++ b/lualib/rspamadm/grep.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/keypair.lua b/lualib/rspamadm/keypair.lua index d882fafde..62f2909b7 100644 --- a/lualib/rspamadm/keypair.lua +++ b/lualib/rspamadm/keypair.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/mime.lua b/lualib/rspamadm/mime.lua index e5a7e1c01..d2e9c052d 100644 --- a/lualib/rspamadm/mime.lua +++ b/lualib/rspamadm/mime.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/publicsuffix.lua b/lualib/rspamadm/publicsuffix.lua index 779ecfe46..f8e1bac93 100644 --- a/lualib/rspamadm/publicsuffix.lua +++ b/lualib/rspamadm/publicsuffix.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2021, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua index d603b0206..6e372a419 100644 --- a/lualib/rspamadm/rescore.lua +++ b/lualib/rspamadm/rescore.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2018, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/statistics_dump.lua b/lualib/rspamadm/statistics_dump.lua index aa461a92a..68b425aa8 100644 --- a/lualib/rspamadm/statistics_dump.lua +++ b/lualib/rspamadm/statistics_dump.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2021, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/template.lua b/lualib/rspamadm/template.lua index 79656e4b7..bb799f730 100644 --- a/lualib/rspamadm/template.lua +++ b/lualib/rspamadm/template.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lualib/rspamadm/vault.lua b/lualib/rspamadm/vault.lua index 6414d9273..2c7d5abfe 100644 --- a/lualib/rspamadm/vault.lua +++ b/lualib/rspamadm/vault.lua @@ -1,5 +1,5 @@ --[[ -Copyright (c) 2019, Vsevolod Stakhov <vsevolod@highsecure.ru> +Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |