Kako, Chang
6d5db1e04e
[Fix] received: filtering of artificial header
1 年之前
Vsevolod Stakhov
dd4e6a1cac
[Minor] Remove obsoleted global function
1 年之前
Vsevolod Stakhov
9fb5afd475
[Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing
Suggested by: @moisseev
1 年之前
Vsevolod Stakhov
0cad33873c
[Minor] Remove unused variable
1 年之前
Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
2 年之前
Vsevolod Stakhov
55e758f714
[Minor] Use standard utility to get check_local/authed
3 年之前
Alexander Moisseev
c5d426c10a
[Minor] Remove extra space
4 年之前
Vsevolod Stakhov
9ec2301bfd
[Minor] Improve logging and set hostname for further usage
4 年之前
Vsevolod Stakhov
4c9f6b2118
[Minor] Unify check_auth/check_local options
5 年之前
Vsevolod Stakhov
0d4212eb6c
[Fix] Deprecate task:inc_dns_req as it is redundant
5 年之前
Vsevolod Stakhov
7f0966b5fb
[Fix] Various fixes to once_received module
- Exclude artificial headers
- Avoid extra '#' operations
- Do not insert ONCE_RECEIVED if MTA has not resolved the first received
(#2190 )
6 年之前
Alexander Moisseev
8738186f1b
[Minor] Insert symbol on PTR verification DNS error
6 年之前
Andrew Lewis
8308c7983f
[Fix] Setting check_local / check_authed in plugins (#1954)
6 年之前
Andrew Lewis
286ed38486
[Minor] Stop expecting hostname to be "unknown"
6 年之前
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
7 年之前
Steve Freegard
5909eaece4
Add DIRECT_TO_MX rule to once_received plugin
7 年之前
Vsevolod Stakhov
7021ddcc38
[Minor] Remove deprecated API calls
7 年之前
Vsevolod Stakhov
e6b6f6bb9c
[Rework] Use new maps add function
7 年之前
Andrew Lewis
a9dd24b172
[Minor] Fix DNS lookup errors
7 年之前
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
7 年之前
Andrew Lewis
6bdb25f84b
[Minor] Remove couple more globals in Lua plugins
7 年之前
Alexander Moisseev
84e0d5df1a
[Fix] Unbreak once_received skipping for local networks
7 年之前
Andrew Lewis
b561e9b9cb
[Minor] Allow for re-enabling default-disabled checks
7 年之前
Alexander Moisseev
0057d84357
[Minor] Disable ONCE_RECEIVED for local networks
7 年之前
Andrew Lewis
68d3c2f3f3
Revert "[Feature] Add common way to disable Lua modules"
This reverts commit f552edd887
.
Conflicts:
src/plugins/lua/antivirus.lua
src/plugins/lua/asn.lua
src/plugins/lua/dcc.lua
src/plugins/lua/dmarc.lua
src/plugins/lua/emails.lua
src/plugins/lua/forged_recipients.lua
src/plugins/lua/greylist.lua
src/plugins/lua/hfilter.lua
src/plugins/lua/ip_score.lua
src/plugins/lua/maillist.lua
src/plugins/lua/mime_types.lua
src/plugins/lua/multimap.lua
src/plugins/lua/once_received.lua
src/plugins/lua/ratelimit.lua
src/plugins/lua/rbl.lua
src/plugins/lua/replies.lua
src/plugins/lua/rspamd_update.lua
src/plugins/lua/trie.lua
src/plugins/lua/whitelist.lua
7 年之前
Vsevolod Stakhov
1d0ad06316
[Minor] Use infox instead of info in logging
7 年之前
Andrew Lewis
f552edd887
[Feature] Add common way to disable Lua modules
7 年之前
Vsevolod Stakhov
9b8f8d728c
[Feature] Enable forced resolving for some lua plugins
Issue: #661
Reported by: @FelixSchwarz
8 年之前
Vsevolod Stakhov
3a5a2d470d
[Fix] Restore ONCE_RECEIVED symbol
Issue: #602
Reported by: @AlexeySa
8 年之前
Vsevolod Stakhov
0cdf354cb4
[Feature] Use new version of register_symbol in rspamd plugins
8 年之前
Andrew Lewis
70fa6e154c
[Fix] Avoid problematic operation on possibly nil value in once_received
8 年之前
Vsevolod Stakhov
894cc089e1
[Fix] Add more guards for IP address
8 年之前
Vsevolod Stakhov
2a1598dbb6
[Fix] Fix some cases for RDNS_NONE
8 年之前
Vsevolod Stakhov
2b9068e5f7
[Fix] Fix placement of RDNS checks
8 年之前
Vsevolod Stakhov
bf384868ac
[Feature] Add RDNS_NONE rule
8 年之前
Alexander Moisseev
6a44267b05
Unbreak bad_hosts check
8 年之前
Alexander Moisseev
160461020d
Skip good hostname check for undefined hostnames
2016-02-17 13:00:50 #58424(normal) <a41bdc>; task; lua_metric_symbol_callback: call to (ONCE_RECEIVED) failed: /usr/local/share/rspamd/lua/once_received.lua:82: bad argument #1 to 'lower' (string expected, got nil); trace: [1]:{[C]:-1 - lower [C]}; [2]:{/usr/local/share/rspamd/lua/once_received.lua:82 - <unknown> [Lua]};
8 年之前
Vsevolod Stakhov
c44e6068da
Rework once_received module
- Fix priority for `good_hosts`
- If a good host has been found do not add once_received symbols
- Fix priorities for strict once_received
- Add ability to whitelist IP addresses
8 年之前
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 年之前
Vsevolod Stakhov
f8fbf1dd71
Update logging in lua modules.
8 年之前
Vsevolod Stakhov
e72d601aa6
Fix lua plugins with the new DNS API.
9 年之前
Vsevolod Stakhov
2830e7e3ea
Fix lua plugins.
9 年之前
Vsevolod Stakhov
82f6ff61d5
Clarify copyright for lua plugins.
9 年之前
Andrew Lewis
284406915a
once_received.lua: Fix indentation & add exclusion for authenticated users
9 年之前
eneq123
2b75c0189d
We should check here :is_valid() instead of :to_string()
9 年之前
eneq123
b0c74e7f5a
real_ip to_string should not nil
9 年之前
Vsevolod Stakhov
ae18696598
Fix PTR resolving in lua resolver.
9 年之前
Vsevolod Stakhov
562b5336ac
Adopt once_received plugin.
9 年之前
Vsevolod Stakhov
2e6ede7291
Rework once_received plugin.
10 年之前
Vsevolod Stakhov
623320f7c5
* Fix DNS PTR resolving
* Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving
13 年之前