Vsevolod Stakhov
79417a5f81
[Minor] Update more copyright years/email
il y a 2 ans
Vsevolod Stakhov
55e758f714
[Minor] Use standard utility to get check_local/authed
il y a 3 ans
Alexander Moisseev
c5d426c10a
[Minor] Remove extra space
il y a 4 ans
Vsevolod Stakhov
9ec2301bfd
[Minor] Improve logging and set hostname for further usage
il y a 4 ans
Vsevolod Stakhov
4c9f6b2118
[Minor] Unify check_auth/check_local options
il y a 5 ans
Vsevolod Stakhov
0d4212eb6c
[Fix] Deprecate task:inc_dns_req as it is redundant
il y a 5 ans
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 )
il y a 6 ans
Alexander Moisseev
8738186f1b
[Minor] Insert symbol on PTR verification DNS error
il y a 6 ans
Andrew Lewis
8308c7983f
[Fix] Setting check_local / check_authed in plugins (#1954)
il y a 6 ans
Andrew Lewis
286ed38486
[Minor] Stop expecting hostname to be "unknown"
il y a 6 ans
Vsevolod Stakhov
a1dc1fd059
[Fix] Detect confighelp in plugins initialisation
il y a 7 ans
Steve Freegard
5909eaece4
Add DIRECT_TO_MX rule to once_received plugin
il y a 7 ans
Vsevolod Stakhov
7021ddcc38
[Minor] Remove deprecated API calls
il y a 7 ans
Vsevolod Stakhov
e6b6f6bb9c
[Rework] Use new maps add function
il y a 7 ans
Andrew Lewis
a9dd24b172
[Minor] Fix DNS lookup errors
il y a 7 ans
Andrew Lewis
3590c28e73
[Minor] Lint Lua plugins & global functions
il y a 7 ans
Andrew Lewis
6bdb25f84b
[Minor] Remove couple more globals in Lua plugins
il y a 7 ans
Alexander Moisseev
84e0d5df1a
[Fix] Unbreak once_received skipping for local networks
il y a 7 ans
Andrew Lewis
b561e9b9cb
[Minor] Allow for re-enabling default-disabled checks
il y a 7 ans
Alexander Moisseev
0057d84357
[Minor] Disable ONCE_RECEIVED for local networks
il y a 7 ans
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
il y a 7 ans
Vsevolod Stakhov
1d0ad06316
[Minor] Use infox instead of info in logging
il y a 7 ans
Andrew Lewis
f552edd887
[Feature] Add common way to disable Lua modules
il y a 7 ans
Vsevolod Stakhov
9b8f8d728c
[Feature] Enable forced resolving for some lua plugins
Issue: #661
Reported by: @FelixSchwarz
il y a 8 ans
Vsevolod Stakhov
3a5a2d470d
[Fix] Restore ONCE_RECEIVED symbol
Issue: #602
Reported by: @AlexeySa
il y a 8 ans
Vsevolod Stakhov
0cdf354cb4
[Feature] Use new version of register_symbol in rspamd plugins
il y a 8 ans
Andrew Lewis
70fa6e154c
[Fix] Avoid problematic operation on possibly nil value in once_received
il y a 8 ans
Vsevolod Stakhov
894cc089e1
[Fix] Add more guards for IP address
il y a 8 ans
Vsevolod Stakhov
2a1598dbb6
[Fix] Fix some cases for RDNS_NONE
il y a 8 ans
Vsevolod Stakhov
2b9068e5f7
[Fix] Fix placement of RDNS checks
il y a 8 ans
Vsevolod Stakhov
bf384868ac
[Feature] Add RDNS_NONE rule
il y a 8 ans
Alexander Moisseev
6a44267b05
Unbreak bad_hosts check
il y a 8 ans
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]};
il y a 8 ans
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
il y a 8 ans
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
il y a 8 ans
Vsevolod Stakhov
f8fbf1dd71
Update logging in lua modules.
il y a 8 ans
Vsevolod Stakhov
e72d601aa6
Fix lua plugins with the new DNS API.
il y a 9 ans
Vsevolod Stakhov
2830e7e3ea
Fix lua plugins.
il y a 9 ans
Vsevolod Stakhov
82f6ff61d5
Clarify copyright for lua plugins.
il y a 9 ans
Andrew Lewis
284406915a
once_received.lua: Fix indentation & add exclusion for authenticated users
il y a 9 ans
eneq123
2b75c0189d
We should check here :is_valid() instead of :to_string()
il y a 9 ans
eneq123
b0c74e7f5a
real_ip to_string should not nil
il y a 9 ans
Vsevolod Stakhov
ae18696598
Fix PTR resolving in lua resolver.
il y a 9 ans
Vsevolod Stakhov
562b5336ac
Adopt once_received plugin.
il y a 9 ans
Vsevolod Stakhov
2e6ede7291
Rework once_received plugin.
il y a 10 ans
Vsevolod Stakhov
623320f7c5
* Fix DNS PTR resolving
* Add ability to resolve ip in once_received plugin to avoid temporary DNS fails of SMTP resolving
il y a 12 ans
Vsevolod Stakhov
5a334d3e12
More checks in lua plugins.
il y a 13 ans
Vsevolod Stakhov
29c3237009
* Add versions to lua API
* Provide compatibility for lua plugins for old versions of rspamd
il y a 13 ans
Vsevolod Stakhov
b8211fbcc8
* Introduce new system of configuration checks:
- now symbols inside metrics definition must be inside rules as well
- symbols may be virtual (e.g. when module can insert several symbols inside callback)
- symbols may be pure callbacks (when symbol's name is unknown and depends on conditions)
* Module 'emails' is removed as it is not used in the current rspamd
MANY fixes to sample config files
il y a 13 ans
Vsevolod Stakhov
ea03e94d0a
Add registering options for lua modules
* Add ability to output colored messages for file and console loggers
il y a 13 ans