Kako, Chang
6d5db1e04e
[Fix] received: filtering of artificial header
hace 1 año
Vsevolod Stakhov
dd4e6a1cac
[Minor] Remove obsoleted global function
hace 1 año
Vsevolod Stakhov
9fb5afd475
[Rules] Do not insert ONCE_RECEIVED_STRICT on RDNS missing
Suggested by: @moisseev
hace 1 año
Vsevolod Stakhov
0cad33873c
[Minor] Remove unused variable
hace 1 año
Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
hace 2 años
Vsevolod Stakhov
55e758f714
[Minor] Use standard utility to get check_local/authed
hace 3 años
Alexander Moisseev
c5d426c10a
[Minor] Remove extra space
hace 4 años
Vsevolod Stakhov
9ec2301bfd
[Minor] Improve logging and set hostname for further usage
hace 4 años
Vsevolod Stakhov
4c9f6b2118
[Minor] Unify check_auth/check_local options
hace 5 años
Vsevolod Stakhov
0d4212eb6c
[Fix] Deprecate task:inc_dns_req as it is redundant
hace 5 años
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 )
hace 6 años
Alexander Moisseev
8738186f1b
[Minor] Insert symbol on PTR verification DNS error
hace 6 años
Andrew Lewis
8308c7983f
[Fix] Setting check_local / check_authed in plugins (#1954)
hace 6 años
Andrew Lewis
286ed38486
[Minor] Stop expecting hostname to be "unknown"
hace 6 años
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
hace 7 años
Steve Freegard
5909eaece4
Add DIRECT_TO_MX rule to once_received plugin
hace 7 años
Vsevolod Stakhov
7021ddcc38
[Minor] Remove deprecated API calls
hace 7 años
Vsevolod Stakhov
e6b6f6bb9c
[Rework] Use new maps add function
hace 7 años
Andrew Lewis
a9dd24b172
[Minor] Fix DNS lookup errors
hace 7 años
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
hace 7 años
Andrew Lewis
6bdb25f84b
[Minor] Remove couple more globals in Lua plugins
hace 7 años
Alexander Moisseev
84e0d5df1a
[Fix] Unbreak once_received skipping for local networks
hace 7 años
Andrew Lewis
b561e9b9cb
[Minor] Allow for re-enabling default-disabled checks
hace 7 años
Alexander Moisseev
0057d84357
[Minor] Disable ONCE_RECEIVED for local networks
hace 7 años
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
hace 7 años
Vsevolod Stakhov
1d0ad06316
[Minor] Use infox instead of info in logging
hace 7 años
Andrew Lewis
f552edd887
[Feature] Add common way to disable Lua modules
hace 7 años
Vsevolod Stakhov
9b8f8d728c
[Feature] Enable forced resolving for some lua plugins
Issue: #661
Reported by: @FelixSchwarz
hace 8 años
Vsevolod Stakhov
3a5a2d470d
[Fix] Restore ONCE_RECEIVED symbol
Issue: #602
Reported by: @AlexeySa
hace 8 años
Vsevolod Stakhov
0cdf354cb4
[Feature] Use new version of register_symbol in rspamd plugins
hace 8 años
Andrew Lewis
70fa6e154c
[Fix] Avoid problematic operation on possibly nil value in once_received
hace 8 años
Vsevolod Stakhov
894cc089e1
[Fix] Add more guards for IP address
hace 8 años
Vsevolod Stakhov
2a1598dbb6
[Fix] Fix some cases for RDNS_NONE
hace 8 años
Vsevolod Stakhov
2b9068e5f7
[Fix] Fix placement of RDNS checks
hace 8 años
Vsevolod Stakhov
bf384868ac
[Feature] Add RDNS_NONE rule
hace 8 años
Alexander Moisseev
6a44267b05
Unbreak bad_hosts check
hace 8 años
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]};
hace 8 años
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
hace 8 años
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
hace 8 años
Vsevolod Stakhov
f8fbf1dd71
Update logging in lua modules.
hace 8 años
Vsevolod Stakhov
e72d601aa6
Fix lua plugins with the new DNS API.
hace 8 años
Vsevolod Stakhov
2830e7e3ea
Fix lua plugins.
hace 9 años
Vsevolod Stakhov
82f6ff61d5
Clarify copyright for lua plugins.
hace 9 años
Andrew Lewis
284406915a
once_received.lua: Fix indentation & add exclusion for authenticated users
hace 9 años
eneq123
2b75c0189d
We should check here :is_valid() instead of :to_string()
hace 9 años
eneq123
b0c74e7f5a
real_ip to_string should not nil
hace 9 años
Vsevolod Stakhov
ae18696598
Fix PTR resolving in lua resolver.
hace 9 años
Vsevolod Stakhov
562b5336ac
Adopt once_received plugin.
hace 9 años
Vsevolod Stakhov
2e6ede7291
Rework once_received plugin.
hace 10 años
Vsevolod Stakhov
623320f7c5
* Fix DNS PTR resolving
* Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving
hace 12 años