Commit Graph

170 Commits

Author SHA1 Message Date
Alexey
1511ab920e Fix: Change rbl logic 2014-05-21 11:31:29 -07:00
Alexey
7942c887e2 Very small fix for DNSWL rule 2014-05-21 10:51:03 -07:00
Vsevolod Stakhov
a84b51ada1 Merge pull request #70 from eneq123/master
DNSWL support (via RBL) added
2014-05-21 13:39:34 -04:00
Alexey
3ca562b763 Hfilter: Add new metrics 2014-05-17 02:49:17 -07:00
Alexey
fd6f0f7957 Hfilter: Update and fix
- Added checks for message-id host
- small fixes
2014-05-17 02:47:57 -07:00
eneq123
444b45d955 * use the "User:" rspamc proto param for ratelimit
* fix rspamd_actions typo
* rspamd_logger added for 'Ratelimit exceeded' case
2014-05-07 16:31:04 +04:00
eneq123
6ec0f7ee2a DNSWL support (via RBL) added 2014-05-07 15:43:43 +04:00
Vsevolod Stakhov
01e1758608 Webui is now controller.
Old controller is kept in legacy_controller.c.
2014-04-30 17:23:58 +01:00
Vsevolod Stakhov
e713036bd3 Add WWWDIR macro to rspamd configuration. 2014-04-24 18:15:33 +01:00
Vsevolod Stakhov
466fbba695 Use updated outlook version. 2014-04-10 15:24:08 -07:00
Alexey
3dfd703101 Hfilter: small fixes 2014-04-05 01:33:13 -07:00
Vsevolod Stakhov
142d36fbc6 Fix hfilter. 2014-03-29 16:18:54 -07:00
Alexey
eba9e34f73 Hfilter: Fix for IPv6 support 2014-03-28 01:56:05 -07:00
Vsevolod Stakhov
650a45cf07 Implement secure IPs for webui. 2014-02-28 17:46:31 +00:00
Vsevolod Stakhov
3f20ce1228 Merge pull request #46 from AlexeySa/master
Added Spameatingmonkey RBL, URIBL and fresh URIBL
2014-02-13 13:11:26 +00:00
Alexey
75c80c6f6e Fix setting for Spameatingmonkey RBL
Remove ipv6 support for RBL
2014-02-12 08:47:15 -08:00
Alexey
99ece568a6 Add metric for Spameatingmonkey RBL and SURBL 2014-02-12 08:41:17 -08:00
Alexey
f40af67101 Add Spameatingmonkey RBL and SURBL 2014-02-12 08:29:56 -08:00
Andrew Lewis
fa8e1dc94f Tweak default RBL module config for brevity 2014-02-07 12:03:58 +02:00
Alexey
8ba82df4bb Fix rule MISSING_MIMEOLE for IPB forum
Add exception for Invision Power Board forum
2014-02-05 09:54:36 -08:00
Alexey
dd6a81c697 Fix Hfilter for null text part
Fix HFILTER_URL_ONELINE for null text part
2014-02-05 00:32:06 -08:00
Alexey
7bd58d6795 Update metrics.conf 2014-02-03 10:16:31 -08:00
Alexey
8d1408000e Rename symbol HFILTER_HOSTNAME_NOPTR 2014-02-03 10:13:53 -08:00
Alexey
a9c26ed598 Rename symbol in Hfilter
Rename symbol HFILTER_HOSTNAME_NOPTR to HFILTER_HOSTNAME_UNKNOWN
2014-02-03 10:09:49 -08:00
Vsevolod Stakhov
174ae21647 Increase default reject treshold. 2014-02-03 16:24:13 +00:00
Andrej Zverev
7f53014465 - Fix typo 2014-02-03 15:38:04 +04:00
Andrej Zverev
a0fd753345 Allow override system predefined settings without touching .conf files
from distribution.
2014-02-01 18:50:38 +04:00
Alexey
2330c14b92 Optimize Hfilter 2014-01-31 09:49:50 -08:00
Alexey
8a78b0de5e Tune metric for hfilter 2014-01-28 10:08:18 -08:00
Vsevolod Stakhov
48fdd5aea9 Rework HFILTER_URL_ONELINE. 2014-01-25 19:42:58 +00:00
Alexey
71d592cb60 Fix hfilter 2014-01-24 12:09:30 -08:00
Vsevolod Stakhov
744d3ff5e5 Remove HFILTER_URL_ONELINE rule.
- Added functions:
 `rspamd_textpart:get_length` - get a full length of text part
 `rspamd_url:get_length` - get a full length of an URL object

- Removed `HFILTER_URL_ONELINE` as it is broken by nature
- Reworked hfilter to improve performance
2014-01-24 16:44:47 +00:00
Vsevolod Stakhov
d667c6b4ac Use more permissive value for parts_differ. 2014-01-24 16:44:10 +00:00
Vsevolod Stakhov
199b32be13 Improve hostname processing. 2014-01-22 14:23:02 +00:00
Alexandre Perrin
2c47cda1c4 workers.conf: controller listen to localhost instead of 127.0.0.1
the rspamc controller default host is "localhost" and using by default 127.0.0.1 for rspamd controller is an issue on hosts using IPv6 as "localhost".
2014-01-17 11:07:23 +01:00
Alexey
9aadec0288 Update Hfilter
- Optimize and fixes for hostname check
- Some fixes for helo check
2014-01-06 13:27:45 -08:00
Vsevolod Stakhov
3c1866666f Several fixes to hfilter module. 2013-12-27 13:54:00 +00:00
Vsevolod Stakhov
dbf377ae0b Merge pull request #19 from AlexeySa/master
Rework checks for Message-id in Hfilter
2013-12-27 02:36:20 -08:00
Alexey
3dc20fa79e Update metric for Hfilter 2013-12-27 01:00:09 -08:00
Alexey
4b0c87faf2 Rework checks for Message-id
Del resolve host rules in Message-Id header
2013-12-27 00:57:45 -08:00
Alexey
655661ca0d Reduce metric for FORGED_SENDER
Many false positives from mail scripts and maillists.
2013-12-27 00:15:11 -08:00
Alexey
fcb7a16572 Update symbols for Hfilter 2013-12-26 13:47:11 -08:00
Alexey
5cb90bb33e Hfilter update
- add "MAIL FROM" host check. Postfix option "reject_unknown_recipient_domain" better to switch off;
- add host check from header "Message-id:";
- rework resolve functions
- Fix symbols
2013-12-26 13:45:20 -08:00
Vsevolod Stakhov
9c477a80e8 Fix escape symbols in hfilter. 2013-12-26 15:26:45 +00:00
Vsevolod Stakhov
928d072cec Remove HELO_NOT_FQDN as it exists in hfilter.
Submitted by: AL
2013-12-24 18:55:47 +00:00
Vsevolod Stakhov
08caf16449 Add hfilter - an advanced set of helo and hostname checks.
Submitted by: AL
2013-12-24 18:24:54 +00:00
Vsevolod Stakhov
4b0f1587bb Improve spamhaus RBL support.
Submitted by: AL
2013-12-24 17:07:12 +00:00
Alexey
35a4f68f3c Add rule for HELO host FQDN check 2013-12-24 06:59:05 -08:00
Alexey
3de23ef38c Add metric for HELO_NOT_FQDN 2013-12-24 06:58:03 -08:00
Vsevolod Stakhov
7bc189b9a9 Adjust weights for uribl lists. 2013-12-23 14:49:53 +00:00
Vsevolod Stakhov
26d4832651 Reduce weight of FORGED_RECIPIENTS rule. 2013-12-23 14:48:36 +00:00
Vsevolod Stakhov
c0902fb952 Fix symbol names. 2013-12-23 12:23:11 +00:00
Vsevolod Stakhov
8080d057db Reflect option in the default config. 2013-12-20 15:55:42 +00:00
Vsevolod Stakhov
5733cc904c Fix misprint in the configuration. 2013-12-18 14:34:21 +00:00
AlexeySa
bb8475620e Update modules.conf
Added Sorbs RBL
2013-12-12 13:08:16 -08:00
AlexeySa
3eff054913 Update metrics.conf
Added Sorbs RBL metrics
2013-12-12 13:03:49 -08:00
AlexeySa
3d0ff53cdb Update 2tld.inc
All SLD's zones for correct surbl works.
2013-12-12 12:36:45 -08:00
Vsevolod Stakhov
21b1eec1aa Always use one_shot mode for fuzzy_check. 2013-12-06 12:19:36 +00:00
Vsevolod Stakhov
4123f20760 Tune default settings. 2013-12-05 15:57:04 +00:00
Vsevolod Stakhov
c52921bf52 Allow to skip unknown flags in fuzzy_check module. 2013-12-05 12:03:47 +00:00
Vsevolod Stakhov
54c67e13ae Set highsecure.ru as readonly fuzzy server. 2013-12-04 16:45:35 +00:00
Vsevolod Stakhov
703fb40d6e Rework fuzzy check module.
- Now all checks are organized to rules.
- Allow to specify read_only rules to avoid problems on learning.
- Use better normalizer for fuzzy module and it now returns values
  from 0 to 1.0 (like bayes does).
- Update configuration accordingly.
- Drop legacy configuration support.
- Detect tanh as well and provide some reasonable (linear) fallback.
2013-12-04 13:41:26 +00:00
Vsevolod Stakhov
8d0e298836 Some copyright fixes. 2013-12-02 13:36:19 +00:00
Vsevolod Stakhov
c9e996fd5b Fix debian spec.
Submitted by: fatalbanana
2013-11-30 22:07:11 +00:00
Vsevolod Stakhov
7dbaf3ce09 Add missing symbols. 2013-11-30 00:35:43 +00:00
Vsevolod Stakhov
7e08afed0e Fix fuzzy check configuration. 2013-11-30 00:21:04 +00:00
Vsevolod Stakhov
31b4474a2f Fix formatting and variables usage. 2013-11-26 15:52:26 +00:00
Vsevolod Stakhov
6ddf5c01fe Add uribl.com to configuration. 2013-11-26 14:53:15 +00:00
Vsevolod Stakhov
1481a248b4 Add symbol for DBL. 2013-11-25 16:42:55 +00:00
Vsevolod Stakhov
cfbcd61e07 Misprint. 2013-11-24 22:11:34 +00:00
Vsevolod Stakhov
ac675792e2 Add basics of the new configuration. 2013-11-21 16:20:45 +00:00
Vsevolod Stakhov
3f74b21cf6 Expand path for logging. 2013-11-21 15:25:48 +00:00
Vsevolod Stakhov
a83d8b4f51 Add allow_update example usage. 2013-06-04 15:08:31 +01:00
Vsevolod Stakhov
3afb1a6d1a Use specific fuzzy database. 2013-06-03 15:55:45 +01:00
Vsevolod Stakhov
a658ca6e8b Increase default limit, as unloading logic is broken. 2013-05-28 15:33:15 +01:00
Vsevolod Stakhov
9fb28304cd Final update for 0.5.4. 2013-02-02 23:27:55 +04:00
Vsevolod Stakhov
3789849b7b * Add meta-classification example.
Many changes to advanced statistic and meta-classification logic.
Add example of complex meta-classification.
2012-10-04 22:14:10 +04:00
Vsevolod Stakhov
0a9d9f994e * Add map_watch_interval configurable.
Support floating point values for time intervals.
2012-09-19 20:42:30 +04:00
Vsevolod Stakhov
ea68f17ec2 Another debian license fix.
Add apache license for regexp that were delivered from SpamAssassin project.
Fix debian/copyright for src/dns.c.
2012-09-10 17:20:57 +04:00
Vsevolod Stakhov
dfa3d03dc0 Fix misprint in the default configuration. 2012-08-16 17:35:29 +04:00
Vsevolod Stakhov
abd0676c12 Fix thunderbird message id for the modern thunderbird versions. 2012-08-14 16:27:23 +04:00
Vsevolod Stakhov
98495cb4ce Update debian rules and changelog.
Update sample config file.
2012-06-09 16:35:00 +04:00
Vsevolod Stakhov
da6966d272 Check received for not more than 5 recipients.
Install lua configuration by default (as user's one should be in rspamd.local.lua).
2012-05-28 17:33:54 +04:00
Vsevolod Stakhov
00c7c62977 * Avoid DoS while sending a message with a lot of recipients in 'To' header.
Fix possible deadlock in lua_redis.
Version is now 0.4.8 as there are enough changes.
2012-05-28 17:26:38 +04:00
Vsevolod Stakhov
f5949d261a Add LOCALSTATES_PREFIX variable for setting where should be runtime files for rspamd.
Suggested by: Vasiliy G. Tolstov
2011-08-08 17:20:34 +04:00
Vsevolod Stakhov
6bb0dd1d22 Update a sample config file.
Set version to 0.4.1.
2011-07-26 17:59:16 +04:00
Vsevolod Stakhov
4335e5a8ce * Add classifiers pre-selection script 2011-07-19 17:51:28 +04:00
Vsevolod Stakhov
08b350777c Begin to write normal and updated default configuration.
--HG--
rename : rspamd.xml.sample => conf/rspamd-basic.xml.in
2011-07-15 18:56:47 +04:00
Vsevolod Stakhov
1bda9f428a * Add rules for message's date 2011-04-25 19:34:38 +04:00
Vsevolod Stakhov
6f122c26db Update rules.
Submitted by: Victor Ustugov
2011-02-24 20:53:20 +03:00
Vsevolod Stakhov
db668597a1 Add rules.
Submitted by: Victor Ustugov
2011-02-24 19:56:27 +03:00
Vsevolod Stakhov
5492467747 Rules update.
Submitted by: Victor Ustugov
2011-02-22 15:55:44 +03:00
Vsevolod Stakhov
a2c2074326 New rules.
Submitted by: Victor Ustugov
2011-02-21 16:38:14 +03:00
Vsevolod Stakhov
8a3eadfc9b Reduce weight of NO_SPACE_IN_FROM.
Change default pid file location.
Change MISSING_TO rule not to work when header exists but empty.
Add rules for bad bondaries and message ids.

Suggested by: Victor Ustugov.
2011-02-19 23:10:39 +03:00
Vsevolod Stakhov
e0593fbd3b * Add ability to save symbols that are inside composites with '-' flag.
Remove warnings from rspamc.
Add new rules [1]

Submitted by: Victor Ustugov [1]
2011-02-19 16:24:17 +03:00
Vsevolod Stakhov
fe1ab59efe Add composites for outlook.
Submitted by: Victor Ustugov
2011-02-19 02:40:01 +03:00
Vsevolod Stakhov
bbc68360a1 * Improve forged_recipients plugin [1]
Add loading of local rules to rspamd.lua [1]

[1] Suggested by Victor Ustugov
2011-02-16 17:00:13 +03:00
Vsevolod Stakhov
b3928c8e33 Remove some legacy from source tree. 2011-02-15 15:50:25 +03:00
Vsevolod Stakhov
8f97c6a684 Polish sample config. 2011-02-09 19:42:23 +03:00
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
2010-12-20 22:09:16 +03:00