Browse Source

[Minor] Update my email and the copyright year

tags/3.2
Vsevolod Stakhov 2 years ago
parent
commit
2fa0e126c7
No account linked to committer's email address
100 changed files with 101 additions and 101 deletions
  1. 1
    1
      lualib/global_functions.lua
  2. 1
    1
      lualib/lua_auth_results.lua
  3. 1
    1
      lualib/lua_aws.lua
  4. 1
    1
      lualib/lua_bayes_learn.lua
  5. 1
    1
      lualib/lua_cfg_transform.lua
  6. 1
    1
      lualib/lua_clickhouse.lua
  7. 1
    1
      lualib/lua_content/ical.lua
  8. 1
    1
      lualib/lua_content/init.lua
  9. 1
    1
      lualib/lua_content/pdf.lua
  10. 1
    1
      lualib/lua_content/vcard.lua
  11. 1
    1
      lualib/lua_dkim_tools.lua
  12. 1
    1
      lualib/lua_ffi/common.lua
  13. 1
    1
      lualib/lua_ffi/dkim.lua
  14. 1
    1
      lualib/lua_ffi/init.lua
  15. 1
    1
      lualib/lua_ffi/linalg.lua
  16. 1
    1
      lualib/lua_ffi/spf.lua
  17. 1
    1
      lualib/lua_fuzzy.lua
  18. 1
    1
      lualib/lua_lexer.lua
  19. 1
    1
      lualib/lua_magic/heuristics.lua
  20. 1
    1
      lualib/lua_magic/init.lua
  21. 1
    1
      lualib/lua_magic/patterns.lua
  22. 1
    1
      lualib/lua_magic/types.lua
  23. 1
    1
      lualib/lua_maps.lua
  24. 1
    1
      lualib/lua_maps_expressions.lua
  25. 1
    1
      lualib/lua_meta.lua
  26. 1
    1
      lualib/lua_mime.lua
  27. 1
    1
      lualib/lua_mime_types.lua
  28. 1
    1
      lualib/lua_redis.lua
  29. 1
    1
      lualib/lua_scanners/avast.lua
  30. 1
    1
      lualib/lua_scanners/clamav.lua
  31. 1
    1
      lualib/lua_scanners/common.lua
  32. 1
    1
      lualib/lua_scanners/dcc.lua
  33. 1
    1
      lualib/lua_scanners/fprot.lua
  34. 2
    2
      lualib/lua_scanners/icap.lua
  35. 1
    1
      lualib/lua_scanners/init.lua
  36. 1
    1
      lualib/lua_scanners/kaspersky_av.lua
  37. 1
    1
      lualib/lua_scanners/kaspersky_se.lua
  38. 1
    1
      lualib/lua_scanners/oletools.lua
  39. 1
    1
      lualib/lua_scanners/p0f.lua
  40. 1
    1
      lualib/lua_scanners/pyzor.lua
  41. 1
    1
      lualib/lua_scanners/razor.lua
  42. 1
    1
      lualib/lua_scanners/savapi.lua
  43. 1
    1
      lualib/lua_scanners/sophos.lua
  44. 1
    1
      lualib/lua_scanners/spamassassin.lua
  45. 1
    1
      lualib/lua_scanners/vadesecure.lua
  46. 1
    1
      lualib/lua_scanners/virustotal.lua
  47. 1
    1
      lualib/lua_selectors/common.lua
  48. 1
    1
      lualib/lua_selectors/extractors.lua
  49. 1
    1
      lualib/lua_selectors/init.lua
  50. 1
    1
      lualib/lua_selectors/maps.lua
  51. 1
    1
      lualib/lua_selectors/transforms.lua
  52. 1
    1
      lualib/lua_settings.lua
  53. 1
    1
      lualib/lua_smtp.lua
  54. 1
    1
      lualib/lua_stat.lua
  55. 1
    1
      lualib/lua_urls_compose.lua
  56. 1
    1
      lualib/lua_util.lua
  57. 1
    1
      lualib/lua_verdict.lua
  58. 2
    2
      lualib/plugins/neural.lua
  59. 1
    1
      lualib/plugins/rbl.lua
  60. 1
    1
      lualib/plugins_stats.lua
  61. 1
    1
      lualib/rspamadm/clickhouse.lua
  62. 1
    1
      lualib/rspamadm/configgraph.lua
  63. 1
    1
      lualib/rspamadm/configwizard.lua
  64. 1
    1
      lualib/rspamadm/cookie.lua
  65. 1
    1
      lualib/rspamadm/dmarc_report.lua
  66. 1
    1
      lualib/rspamadm/dns_tool.lua
  67. 1
    1
      lualib/rspamadm/grep.lua
  68. 1
    1
      lualib/rspamadm/keypair.lua
  69. 1
    1
      lualib/rspamadm/mime.lua
  70. 1
    1
      lualib/rspamadm/publicsuffix.lua
  71. 1
    1
      lualib/rspamadm/rescore.lua
  72. 1
    1
      lualib/rspamadm/statistics_dump.lua
  73. 1
    1
      lualib/rspamadm/template.lua
  74. 1
    1
      lualib/rspamadm/vault.lua
  75. 1
    1
      rules/bitcoin.lua
  76. 1
    1
      rules/content.lua
  77. 1
    1
      rules/controller/init.lua
  78. 1
    1
      rules/controller/maps.lua
  79. 1
    1
      rules/controller/neural.lua
  80. 1
    1
      rules/controller/selectors.lua
  81. 1
    1
      rules/headers_checks.lua
  82. 1
    1
      rules/mid.lua
  83. 1
    1
      rules/subject_checks.lua
  84. 1
    1
      src/plugins/lua/antivirus.lua
  85. 1
    1
      src/plugins/lua/arc.lua
  86. 1
    1
      src/plugins/lua/aws_s3.lua
  87. 1
    1
      src/plugins/lua/bayes_expiry.lua
  88. 1
    1
      src/plugins/lua/bimi.lua
  89. 1
    1
      src/plugins/lua/clickhouse.lua
  90. 1
    1
      src/plugins/lua/dkim_signing.lua
  91. 1
    1
      src/plugins/lua/dynamic_conf.lua
  92. 1
    1
      src/plugins/lua/elastic.lua
  93. 1
    1
      src/plugins/lua/external_relay.lua
  94. 1
    1
      src/plugins/lua/external_services.lua
  95. 1
    1
      src/plugins/lua/force_actions.lua
  96. 1
    1
      src/plugins/lua/fuzzy_collect.lua
  97. 1
    1
      src/plugins/lua/greylist.lua
  98. 1
    1
      src/plugins/lua/history_redis.lua
  99. 1
    1
      src/plugins/lua/http_headers.lua
  100. 0
    0
      src/plugins/lua/metadata_exporter.lua

+ 1
- 1
lualib/global_functions.lua View File

@@ -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.

+ 1
- 1
lualib/lua_auth_results.lua View File

@@ -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.

+ 1
- 1
lualib/lua_aws.lua View File

@@ -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.

+ 1
- 1
lualib/lua_bayes_learn.lua View File

@@ -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.

+ 1
- 1
lualib/lua_cfg_transform.lua View File

@@ -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.

+ 1
- 1
lualib/lua_clickhouse.lua View File

@@ -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");

+ 1
- 1
lualib/lua_content/ical.lua View File

@@ -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.

+ 1
- 1
lualib/lua_content/init.lua View File

@@ -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.

+ 1
- 1
lualib/lua_content/pdf.lua View File

@@ -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.

+ 1
- 1
lualib/lua_content/vcard.lua View File

@@ -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.

+ 1
- 1
lualib/lua_dkim_tools.lua View File

@@ -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.

+ 1
- 1
lualib/lua_ffi/common.lua View File

@@ -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.

+ 1
- 1
lualib/lua_ffi/dkim.lua View File

@@ -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.

+ 1
- 1
lualib/lua_ffi/init.lua View File

@@ -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.

+ 1
- 1
lualib/lua_ffi/linalg.lua View File

@@ -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.

+ 1
- 1
lualib/lua_ffi/spf.lua View File

@@ -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.

+ 1
- 1
lualib/lua_fuzzy.lua View File

@@ -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.

+ 1
- 1
lualib/lua_lexer.lua View File

@@ -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.

+ 1
- 1
lualib/lua_magic/heuristics.lua View File

@@ -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.

+ 1
- 1
lualib/lua_magic/init.lua View File

@@ -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.

+ 1
- 1
lualib/lua_magic/patterns.lua View File

@@ -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.

+ 1
- 1
lualib/lua_magic/types.lua View File

@@ -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.

+ 1
- 1
lualib/lua_maps.lua View File

@@ -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.

+ 1
- 1
lualib/lua_maps_expressions.lua View File

@@ -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.

+ 1
- 1
lualib/lua_meta.lua View File

@@ -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.

+ 1
- 1
lualib/lua_mime.lua View File

@@ -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.

+ 1
- 1
lualib/lua_mime_types.lua View File

@@ -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.

+ 1
- 1
lualib/lua_redis.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/avast.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/clamav.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/common.lua View File

@@ -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");

+ 1
- 1
lualib/lua_scanners/dcc.lua View File

@@ -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");

+ 1
- 1
lualib/lua_scanners/fprot.lua View File

@@ -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.

+ 2
- 2
lualib/lua_scanners/icap.lua View File

@@ -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(

+ 1
- 1
lualib/lua_scanners/init.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/kaspersky_av.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/kaspersky_se.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/oletools.lua View File

@@ -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");

+ 1
- 1
lualib/lua_scanners/p0f.lua View File

@@ -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");

+ 1
- 1
lualib/lua_scanners/pyzor.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/razor.lua View File

@@ -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");

+ 1
- 1
lualib/lua_scanners/savapi.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/sophos.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/spamassassin.lua View File

@@ -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");

+ 1
- 1
lualib/lua_scanners/vadesecure.lua View File

@@ -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.

+ 1
- 1
lualib/lua_scanners/virustotal.lua View File

@@ -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.

+ 1
- 1
lualib/lua_selectors/common.lua View File

@@ -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.

+ 1
- 1
lualib/lua_selectors/extractors.lua View File

@@ -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.

+ 1
- 1
lualib/lua_selectors/init.lua View File

@@ -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.

+ 1
- 1
lualib/lua_selectors/maps.lua View File

@@ -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.

+ 1
- 1
lualib/lua_selectors/transforms.lua View File

@@ -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.

+ 1
- 1
lualib/lua_settings.lua View File

@@ -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.

+ 1
- 1
lualib/lua_smtp.lua View File

@@ -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.

+ 1
- 1
lualib/lua_stat.lua View File

@@ -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.

+ 1
- 1
lualib/lua_urls_compose.lua View File

@@ -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.

+ 1
- 1
lualib/lua_util.lua View File

@@ -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.

+ 1
- 1
lualib/lua_verdict.lua View File

@@ -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.

+ 2
- 2
lualib/plugins/neural.lua View File

@@ -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

+ 1
- 1
lualib/plugins/rbl.lua View File

@@ -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.

+ 1
- 1
lualib/plugins_stats.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/clickhouse.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/configgraph.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/configwizard.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/cookie.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/dmarc_report.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/dns_tool.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/grep.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/keypair.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/mime.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/publicsuffix.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/rescore.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/statistics_dump.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/template.lua View File

@@ -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.

+ 1
- 1
lualib/rspamadm/vault.lua View File

@@ -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.

+ 1
- 1
rules/bitcoin.lua View File

@@ -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.

+ 1
- 1
rules/content.lua View File

@@ -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.

+ 1
- 1
rules/controller/init.lua View File

@@ -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.

+ 1
- 1
rules/controller/maps.lua View File

@@ -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.

+ 1
- 1
rules/controller/neural.lua View File

@@ -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.

+ 1
- 1
rules/controller/selectors.lua View File

@@ -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.

+ 1
- 1
rules/headers_checks.lua View File

@@ -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.

+ 1
- 1
rules/mid.lua View File

@@ -1,5 +1,5 @@
--[[
Copyright (c) 2016, Vsevolod Stakhov <vsevolod@highsecure.ru>
Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com>
Copyright (c) 2016, Steve Freegard <steve@freegard.name>

Licensed under the Apache License, Version 2.0 (the "License");

+ 1
- 1
rules/subject_checks.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/antivirus.lua View File

@@ -1,5 +1,5 @@
--[[
Copyright (c) 2016, 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.

+ 1
- 1
src/plugins/lua/arc.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/aws_s3.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/bayes_expiry.lua View File

@@ -1,6 +1,6 @@
--[[
Copyright (c) 2017, 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.

+ 1
- 1
src/plugins/lua/bimi.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/clickhouse.lua View File

@@ -1,5 +1,5 @@
--[[
Copyright (c) 2016, 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.

+ 1
- 1
src/plugins/lua/dkim_signing.lua View File

@@ -1,6 +1,6 @@
--[[
Copyright (c) 2016, Andrew Lewis <nerf@judo.za.org>
Copyright (c) 2016, 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.

+ 1
- 1
src/plugins/lua/dynamic_conf.lua View File

@@ -1,5 +1,5 @@
--[[
Copyright (c) 2016, 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.

+ 1
- 1
src/plugins/lua/elastic.lua View File

@@ -1,6 +1,6 @@
--[[
Copyright (c) 2017, Veselin Iordanov
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.

+ 1
- 1
src/plugins/lua/external_relay.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/external_services.lua View File

@@ -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");

+ 1
- 1
src/plugins/lua/force_actions.lua View File

@@ -1,6 +1,6 @@
--[[
Copyright (c) 2017, 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.

+ 1
- 1
src/plugins/lua/fuzzy_collect.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/greylist.lua View File

@@ -1,5 +1,5 @@
--[[
Copyright (c) 2016, Vsevolod Stakhov <vsevolod@highsecure.ru>
Copyright (c) 2022, Vsevolod Stakhov <vsevolod@rspamd.com>
Copyright (c) 2016, Alexey Savelyev <info@homeweb.ru>

Licensed under the Apache License, Version 2.0 (the "License");

+ 1
- 1
src/plugins/lua/history_redis.lua View File

@@ -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.

+ 1
- 1
src/plugins/lua/http_headers.lua View File

@@ -1,5 +1,5 @@
--[[
Copyright (c) 2015, 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.

+ 0
- 0
src/plugins/lua/metadata_exporter.lua View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save