]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 years agoAdd the concept of ghost symbols.
Vsevolod Stakhov [Tue, 17 Feb 2015 13:20:32 +0000 (13:20 +0000)]
Add the concept of ghost symbols.

9 years agoSet lua path for lua configuration.
Vsevolod Stakhov [Tue, 17 Feb 2015 12:55:51 +0000 (12:55 +0000)]
Set lua path for lua configuration.

9 years agoEmail usernames can contain atom symbols.
Vsevolod Stakhov [Tue, 17 Feb 2015 12:35:13 +0000 (12:35 +0000)]
Email usernames can contain atom symbols.

9 years agoFix regexp creating from // pattern.
Vsevolod Stakhov [Tue, 17 Feb 2015 00:15:23 +0000 (00:15 +0000)]
Fix regexp creating from // pattern.

9 years agoAdd other rules types.
Vsevolod Stakhov [Mon, 16 Feb 2015 23:57:39 +0000 (23:57 +0000)]
Add other rules types.

9 years agoAllow to use SA header rules.
Vsevolod Stakhov [Mon, 16 Feb 2015 23:50:34 +0000 (23:50 +0000)]
Allow to use SA header rules.

9 years agoMerge pull request #176 from AlexeySa/master
Vsevolod Stakhov [Mon, 16 Feb 2015 21:53:07 +0000 (21:53 +0000)]
Merge pull request #176 from AlexeySa/master

Hfilter: Bounce message check

9 years agoUpdate hfilter.lua 176/head
Alexey AL [Mon, 16 Feb 2015 20:49:10 +0000 (23:49 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Mon, 16 Feb 2015 20:43:25 +0000 (23:43 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Mon, 16 Feb 2015 20:39:21 +0000 (23:39 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Mon, 16 Feb 2015 20:37:47 +0000 (23:37 +0300)]
Update hfilter.lua

9 years agoUpdate modules.conf
Alexey AL [Mon, 16 Feb 2015 20:37:08 +0000 (23:37 +0300)]
Update modules.conf

9 years agoHfilter: bounce metrics
Alexey AL [Mon, 16 Feb 2015 20:20:44 +0000 (23:20 +0300)]
Hfilter: bounce metrics

9 years agoHfilter: Bounce message check
Alexey AL [Mon, 16 Feb 2015 20:16:39 +0000 (23:16 +0300)]
Hfilter: Bounce message check

9 years agoMerge pull request #174 from fatalbanana/master
Vsevolod Stakhov [Mon, 16 Feb 2015 18:44:28 +0000 (18:44 +0000)]
Merge pull request #174 from fatalbanana/master

Fixes & improvements for RBL module

9 years agoFix incorrect processing of exclusions 174/head
Andrew Lewis [Mon, 16 Feb 2015 15:39:39 +0000 (17:39 +0200)]
Fix incorrect processing of exclusions

9 years agoStart spamassasin rules reader plugin.
Vsevolod Stakhov [Mon, 16 Feb 2015 17:40:49 +0000 (17:40 +0000)]
Start spamassasin rules reader plugin.

9 years agoDo not set lua path when cfg is not loaded.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:50:05 +0000 (16:50 +0000)]
Do not set lua path when cfg is not loaded.

9 years agoImport lua-functional for plugins stuff.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:35:18 +0000 (16:35 +0000)]
Import lua-functional for plugins stuff.

9 years agoSet lua path according to rspamd settings.
Vsevolod Stakhov [Mon, 16 Feb 2015 16:34:54 +0000 (16:34 +0000)]
Set lua path according to rspamd settings.

9 years agoUse radix for private IP exclusions in rbl.lua
Andrew Lewis [Mon, 16 Feb 2015 15:23:44 +0000 (17:23 +0200)]
Use radix for private IP exclusions in rbl.lua

Conflicts:
src/plugins/lua/rbl.lua

9 years agoRemove useless library.
Vsevolod Stakhov [Mon, 16 Feb 2015 15:01:29 +0000 (15:01 +0000)]
Remove useless library.

9 years agoAdd rspamd_config:radix_from_config()
Andrew Lewis [Mon, 16 Feb 2015 12:15:39 +0000 (14:15 +0200)]
Add rspamd_config:radix_from_config()

9 years agoMake local exclusions configurable per-RBL
Andrew Lewis [Mon, 16 Feb 2015 08:59:25 +0000 (10:59 +0200)]
Make local exclusions configurable per-RBL

9 years agoAllow definitions of composite rules from lua.
Vsevolod Stakhov [Sun, 15 Feb 2015 21:57:44 +0000 (21:57 +0000)]
Allow definitions of composite rules from lua.

9 years agoMerge pull request #172 from fatalbanana/master
Vsevolod Stakhov [Sun, 15 Feb 2015 20:53:21 +0000 (20:53 +0000)]
Merge pull request #172 from fatalbanana/master

rbl.lua: Support site-local IP address / subnet exclusions

9 years agoDon't use to_number() when checking radix maps 172/head
Andrew Lewis [Sun, 15 Feb 2015 20:25:57 +0000 (22:25 +0200)]
Don't use to_number() when checking radix maps

9 years agoMerge remote-tracking branch 'upstream/master'
Andrew Lewis [Sun, 15 Feb 2015 20:21:22 +0000 (22:21 +0200)]
Merge remote-tracking branch 'upstream/master'

9 years agoSupport site-local IP address / subnet exclusions
Andrew Lewis [Sun, 15 Feb 2015 20:15:55 +0000 (22:15 +0200)]
Support site-local IP address / subnet exclusions

9 years agoFix typecast.
Vsevolod Stakhov [Sun, 15 Feb 2015 20:01:36 +0000 (20:01 +0000)]
Fix typecast.

9 years agoAllow to check radix maps from lua by rspamd{ip}
Vsevolod Stakhov [Sun, 15 Feb 2015 19:18:16 +0000 (19:18 +0000)]
Allow to check radix maps from lua by rspamd{ip}

9 years agoAllow && and || in composites.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:46:19 +0000 (17:46 +0000)]
Allow && and || in composites.

9 years agoAlso allow setting description.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:42:20 +0000 (17:42 +0000)]
Also allow setting description.

9 years agoAllow to register metric symbols from lua.
Vsevolod Stakhov [Sun, 15 Feb 2015 17:39:14 +0000 (17:39 +0000)]
Allow to register metric symbols from lua.

9 years agoRemove tweetnacl for now.
Vsevolod Stakhov [Sun, 15 Feb 2015 16:14:20 +0000 (16:14 +0000)]
Remove tweetnacl for now.

9 years agoAdd error codes for statistics.
Vsevolod Stakhov [Sat, 14 Feb 2015 22:22:55 +0000 (22:22 +0000)]
Add error codes for statistics.

9 years agoMerge pull request #170 from fatalbanana/master
Vsevolod Stakhov [Sat, 14 Feb 2015 15:11:03 +0000 (15:11 +0000)]
Merge pull request #170 from fatalbanana/master

rbl.lua: Fix mistake

9 years agoMerge pull request #169 from AlexeySa/master
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:40 +0000 (15:10 +0000)]
Merge pull request #169 from AlexeySa/master

Update hfilter

9 years agoMerge pull request #167 from AlexeySa/patch-3
Vsevolod Stakhov [Sat, 14 Feb 2015 15:10:18 +0000 (15:10 +0000)]
Merge pull request #167 from AlexeySa/patch-3

Preventing complications for ipv6 in rbl module

9 years agorbl.lua: Fix mistake 170/head
Andrew Lewis [Sat, 14 Feb 2015 13:54:49 +0000 (15:54 +0200)]
rbl.lua: Fix mistake

9 years agoUpdate hfilter.lua 169/head
Alexey AL [Sat, 14 Feb 2015 13:27:51 +0000 (16:27 +0300)]
Update hfilter.lua

9 years agoUpdate hfilter.lua
Alexey AL [Sat, 14 Feb 2015 13:06:26 +0000 (16:06 +0300)]
Update hfilter.lua

9 years agoUpdate metrics for Hfilter
Alexey AL [Sat, 14 Feb 2015 13:02:43 +0000 (16:02 +0300)]
Update metrics for Hfilter

9 years agoHfilter: more fixes for helo checks, new metric
Alexey AL [Sat, 14 Feb 2015 13:00:37 +0000 (16:00 +0300)]
Hfilter: more fixes for helo checks, new metric

9 years agoЗreventing complications for ipv6 in rbl module 167/head
Alexey AL [Sat, 14 Feb 2015 10:50:20 +0000 (13:50 +0300)]
Зreventing complications for ipv6 in rbl module

9 years agoMerge pull request #166 from fatalbanana/master
Vsevolod Stakhov [Sat, 14 Feb 2015 10:23:54 +0000 (10:23 +0000)]
Merge pull request #166 from fatalbanana/master

rbl.lua: Ignore private IP space

9 years agoMake ignoring private IP space configurable; avoid changing plugin default behaviour 166/head
Andrew Lewis [Sat, 14 Feb 2015 08:37:53 +0000 (10:37 +0200)]
Make ignoring private IP space configurable; avoid changing plugin default behaviour

9 years agoBackward compatibility.
Vsevolod Stakhov [Sat, 14 Feb 2015 00:57:41 +0000 (00:57 +0000)]
Backward compatibility.

9 years agoAnother try to fix build.
Vsevolod Stakhov [Sat, 14 Feb 2015 00:49:34 +0000 (00:49 +0000)]
Another try to fix build.

9 years agoInclude directory in all cases.
Vsevolod Stakhov [Fri, 13 Feb 2015 23:56:21 +0000 (23:56 +0000)]
Include directory in all cases.

9 years agoEliminate mess with linking.
Vsevolod Stakhov [Fri, 13 Feb 2015 23:45:06 +0000 (23:45 +0000)]
Eliminate mess with linking.

9 years agorbl.lua: Ignore private IP space
Andrew Lewis [Fri, 13 Feb 2015 21:52:53 +0000 (23:52 +0200)]
rbl.lua: Ignore private IP space

9 years agoAvoid variables conflict.
Vsevolod Stakhov [Fri, 13 Feb 2015 17:12:44 +0000 (17:12 +0000)]
Avoid variables conflict.

9 years agoAdd ignore duplicate learnings logic.
Vsevolod Stakhov [Fri, 13 Feb 2015 17:03:10 +0000 (17:03 +0000)]
Add ignore duplicate learnings logic.

9 years agoConfigure learn caches.
Vsevolod Stakhov [Fri, 13 Feb 2015 16:57:06 +0000 (16:57 +0000)]
Configure learn caches.

9 years agoAdd sqlite3 learn cache.
Vsevolod Stakhov [Fri, 13 Feb 2015 16:46:06 +0000 (16:46 +0000)]
Add sqlite3 learn cache.

9 years agoUse "unknown" for absent hostname.
Vsevolod Stakhov [Fri, 13 Feb 2015 13:31:40 +0000 (13:31 +0000)]
Use "unknown" for absent hostname.

9 years agoAdd task:get_content() method.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:58:45 +0000 (12:58 +0000)]
Add task:get_content() method.

9 years agoClarify a bit.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:08:45 +0000 (12:08 +0000)]
Clarify a bit.

9 years agoDefine contributions policy.
Vsevolod Stakhov [Fri, 13 Feb 2015 12:06:53 +0000 (12:06 +0000)]
Define contributions policy.

9 years agoMerge pull request #164 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Feb 2015 11:53:23 +0000 (11:53 +0000)]
Merge pull request #164 from fatalbanana/master

Minor nonsense

9 years agoMinor nonsense 164/head
Andrew Lewis [Fri, 13 Feb 2015 11:45:14 +0000 (13:45 +0200)]
Minor nonsense

9 years agoClarify copyright for lua plugins.
Vsevolod Stakhov [Fri, 13 Feb 2015 11:12:54 +0000 (11:12 +0000)]
Clarify copyright for lua plugins.

9 years agoMerge pull request #162 from fatalbanana/master
Vsevolod Stakhov [Fri, 13 Feb 2015 11:05:30 +0000 (11:05 +0000)]
Merge pull request #162 from fatalbanana/master

Exclusions for authenticated users etc

9 years agorbl.lua: remove un-needed character from pattern match 162/head
Andrew Lewis [Fri, 13 Feb 2015 10:22:19 +0000 (12:22 +0200)]
rbl.lua: remove un-needed character from pattern match

9 years agorbl.lua: add reference to documentation
Andrew Lewis [Fri, 13 Feb 2015 09:35:28 +0000 (11:35 +0200)]
rbl.lua: add reference to documentation

9 years agohfilter.lua: Add exclusion for authenticated users (except link checks)
Andrew Lewis [Fri, 13 Feb 2015 09:30:41 +0000 (11:30 +0200)]
hfilter.lua: Add exclusion for authenticated users (except link checks)

9 years agoonce_received.lua: Fix indentation & add exclusion for authenticated users
Andrew Lewis [Fri, 13 Feb 2015 09:24:41 +0000 (11:24 +0200)]
once_received.lua: Fix indentation & add exclusion for authenticated users

9 years agorbl.lua: Try harder to avoid invalid DNS lookups
Andrew Lewis [Fri, 13 Feb 2015 09:23:06 +0000 (11:23 +0200)]
rbl.lua: Try harder to avoid invalid DNS lookups

9 years agoMerge pull request #159 from AlexeySa/master
Vsevolod Stakhov [Thu, 12 Feb 2015 21:24:24 +0000 (21:24 +0000)]
Merge pull request #159 from AlexeySa/master

Update Hfilter and rbl.lua

9 years agoMerge pull request #160 from eneq123/master
Vsevolod Stakhov [Thu, 12 Feb 2015 20:30:15 +0000 (20:30 +0000)]
Merge pull request #160 from eneq123/master

forged_recipients.lua:41: attempt to index field '?' (a nil value)

9 years agofix: attempt to index field '?' (a nil value) 160/head
eneq123 [Thu, 12 Feb 2015 20:18:29 +0000 (23:18 +0300)]
fix: attempt to index field '?' (a nil value)

9 years agoHfilter: Fix metric 159/head
Alexey AL [Thu, 12 Feb 2015 17:51:03 +0000 (20:51 +0300)]
Hfilter: Fix metric

9 years agoFix helo checks in rbl.lua
Alexey AL [Thu, 12 Feb 2015 17:45:28 +0000 (20:45 +0300)]
Fix helo checks in rbl.lua

9 years agoHfilter: New metrics for helo checks
Alexey AL [Thu, 12 Feb 2015 17:44:04 +0000 (20:44 +0300)]
Hfilter: New metrics for helo checks

9 years agoHfilter: Update
Alexey AL [Thu, 12 Feb 2015 17:42:29 +0000 (20:42 +0300)]
Hfilter: Update

Fix: hostname and helo checks
Add: New bad hostnames

9 years agoMerge pull request #154 from fatalbanana/master
Vsevolod Stakhov [Thu, 12 Feb 2015 15:28:17 +0000 (15:28 +0000)]
Merge pull request #154 from fatalbanana/master

rbl.lua: Don't ask for user unless called for by config

9 years agoRename user to exclude_users and invert logic 154/head
Andrew Lewis [Thu, 12 Feb 2015 15:11:58 +0000 (17:11 +0200)]
Rename user to exclude_users and invert logic

9 years agorbl.lua: Don't ask for user unless called for by config
Andrew Lewis [Thu, 12 Feb 2015 13:01:04 +0000 (15:01 +0200)]
rbl.lua: Don't ask for user unless called for by config

9 years agoAdd latency calculations.
Vsevolod Stakhov [Thu, 12 Feb 2015 12:51:34 +0000 (12:51 +0000)]
Add latency calculations.

9 years agoMerge pull request #152 from fatalbanana/master
Vsevolod Stakhov [Thu, 12 Feb 2015 12:18:30 +0000 (12:18 +0000)]
Merge pull request #152 from fatalbanana/master

Another fix for RBL module (Reported by AL)

9 years agoAnother fix for RBL module (Reported by AL) 152/head
Andrew Lewis [Thu, 12 Feb 2015 11:32:24 +0000 (13:32 +0200)]
Another fix for RBL module (Reported by AL)

9 years agoMerge pull request #150 from AlexeySa/patch-2
Vsevolod Stakhov [Thu, 12 Feb 2015 09:54:04 +0000 (09:54 +0000)]
Merge pull request #150 from AlexeySa/patch-2

Fix rbl.lua

9 years agoFix rbl.lua 150/head
Alexey AL [Thu, 12 Feb 2015 00:35:39 +0000 (03:35 +0300)]
Fix rbl.lua

9 years agoAllow to specify keypairs cache externally.
Vsevolod Stakhov [Wed, 11 Feb 2015 22:13:02 +0000 (22:13 +0000)]
Allow to specify keypairs cache externally.

9 years agoMerge pull request #149 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Feb 2015 21:47:36 +0000 (21:47 +0000)]
Merge pull request #149 from fatalbanana/master

Fixes for work on RBL module

9 years agoFurther amendments for changes to RBL module 149/head
Andrew Lewis [Wed, 11 Feb 2015 21:15:25 +0000 (23:15 +0200)]
Further amendments for changes to RBL module

9 years agoFix typo
Andrew Lewis [Wed, 11 Feb 2015 18:42:36 +0000 (20:42 +0200)]
Fix typo

9 years agoMerge pull request #146 from fatalbanana/master
Vsevolod Stakhov [Wed, 11 Feb 2015 16:07:56 +0000 (16:07 +0000)]
Merge pull request #146 from fatalbanana/master

Update RBL module etc

9 years agoMerge pull request #145 from eneq123/master
Vsevolod Stakhov [Wed, 11 Feb 2015 16:07:03 +0000 (16:07 +0000)]
Merge pull request #145 from eneq123/master

Various LUA plugin issues

9 years agoWe should check here :is_valid() instead of :to_string() 145/head
eneq123 [Wed, 11 Feb 2015 14:50:14 +0000 (17:50 +0300)]
We should check here :is_valid() instead of :to_string()

9 years agoAmendment for rbl.lua update 146/head
Andrew Lewis [Wed, 11 Feb 2015 14:14:43 +0000 (16:14 +0200)]
Amendment for rbl.lua update

9 years agoUpdate RBL module: fix indentation; collapse loops; avoid calling for un-needed infor...
Andrew Lewis [Wed, 11 Feb 2015 13:43:26 +0000 (15:43 +0200)]
Update RBL module: fix indentation; collapse loops; avoid calling for un-needed information; allow disabling RBLs for authenticated users

9 years agoMake Exim pass usernames to Rspamd
Andrew Lewis [Wed, 11 Feb 2015 13:37:38 +0000 (15:37 +0200)]
Make Exim pass usernames to Rspamd

9 years agoAdd DNSWL_BLOCKED symbol
Andrew Lewis [Wed, 11 Feb 2015 13:36:34 +0000 (15:36 +0200)]
Add DNSWL_BLOCKED symbol

9 years agoset empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 defined...
eneq123 [Wed, 11 Feb 2015 13:19:02 +0000 (16:19 +0300)]
set empty <> user or addr for msgs without FROM (the MAIL FROM:<> is RFC 821 defined error message transport)

9 years agofalse if header from is nil
eneq123 [Wed, 11 Feb 2015 13:12:44 +0000 (16:12 +0300)]
false if header from is nil

9 years agoreal_ip to_string should not nil
eneq123 [Wed, 11 Feb 2015 13:10:21 +0000 (16:10 +0300)]
real_ip to_string should not nil

9 years agoAdd preliminary API definition for learn cache.
Vsevolod Stakhov [Wed, 11 Feb 2015 01:37:58 +0000 (01:37 +0000)]
Add preliminary API definition for learn cache.

9 years agoFix race condition.
Vsevolod Stakhov [Mon, 9 Feb 2015 17:28:32 +0000 (17:28 +0000)]
Fix race condition.

This race condition could occur if a message has too high spam score and the
planner decides to stop checking. However, already registered events
pending were not checked, which caused use-after-free for a task object.