Commit Graph

170 Commits

Author SHA1 Message Date
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
Vsevolod Stakhov
2a8b8ce671 * Write symbols weights to rspamc output
* Improve logic of selecting rspamc version
* Do not try to parse broken DNS replies
* Add 'raw' flag to FROM_EXCESS_BASE64 rule (requested by citrin)
2010-07-31 18:59:40 +04:00
Vsevolod Stakhov
be555f381e * Fix lua representing of invalid ip (nil, not 255.255.255.255)
* Fix R_TO_SEEMS_AUTO rule (by citrin)
* Add multimap lua plugin
2010-07-27 19:09:41 +04:00
Vsevolod Stakhov
34ae83f015 * Add rspamd_log variable to lua plugins to access logging functions
* Each part in rspamd task now can have parent part
* Check for parts distance only for multipart/alternative subparts
* Do not check attachements even if they are text (but attached as file)
* Do not die if write (2) returned ENOSPACE while doing logging, turn on throttling mode instead (1 write try in a second)
* Add ability to turn on debug for specific symbols
* Add ability to configure dns timeouts and dns retransmits in config file
2010-07-25 16:58:11 +04:00
Vsevolod Stakhov
b6f24d4ec8 * Adopt foreach for cmake 2.6 2010-07-19 17:12:09 +04:00
Vsevolod Stakhov
3d1c40c972 * Make DNS resolver working
* Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality
* Write DNS resolver tests
* Fix issues with memory_pool mutexes and with creating of statfiles
2010-07-08 20:07:07 +04:00
Vsevolod Stakhov
9b5d1aa954 * Fix awfull bug in classifying when first statfile has twice weight than second...
* Fix undisclosed recipients detection
2010-05-14 17:12:55 +04:00
Vsevolod Stakhov
2d8eebcf7a * Bugfixes:
- handle '\' characters in lua strings correctly
  - fix lua initialization
  - avoid of using global lua state (global L)
  - fix listen sockets hash to allow multiply workers of same type but on different listen sockets
  - fix modules options inserting to allow multiply options of the same name
  - fix parsing of lua options
  - fix lua rules
2010-04-20 16:32:23 +04:00
Vsevolod Stakhov
d4b35de431 * Add lua config for most common rules
* Reset lua state while reloading
2010-04-13 19:37:29 +04:00
cebka@lenovo-laptop
21dc91eac1 * Fix another spf core dump while parsing 'include' items 2010-03-15 20:54:39 +03:00
Vsevolod Stakhov
f3b338f158 * Fix build with LUA_ENABLED = on and WITH_LUA = no (when lua is not found) 2009-09-16 15:43:47 +04:00
Vsevolod Stakhov
6b57031f55 * Add lua plugin for checking received headers
* Some tunes to lua API
* Fix bug with http maps
* Optimize installation and make custom prefix for configs
2009-09-15 18:42:05 +04:00
Vsevolod Stakhov
95e1c49982 * Feed BSD lex 2009-09-14 19:20:52 +04:00
Vsevolod Stakhov
a0f41f7c57 * New system of classifiers interface and statfiles processing
* Fix sample config
* Fix compile warnings
* Fix building without lua support
* Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
2009-09-14 19:11:19 +04:00
Vsevolod Stakhov
8b8b79dd4f * Add implementation of counting bloom filter to rspamd 2009-08-19 20:08:16 +04:00
Vsevolod Stakhov
da847ef3d5 * Add voweling rules
* Add sample config to repository
2009-08-19 18:29:30 +04:00
Vsevolod Stakhov
6c710e4afe * Fix rule 2009-08-12 17:17:02 +04:00
Vsevolod Stakhov
ab9bba4afc * Fix error with statfiles sorting function 2009-07-23 17:16:36 +04:00
Vsevolod Stakhov
19baadf6a0 * Fix distance calculation for common recipients 2009-07-08 19:01:57 +04:00
Vsevolod Stakhov
b1709c2aef * Fix rules 2009-07-08 18:40:18 +04:00
Vsevolod Stakhov
a99a4bf8d2 * Rework structure of sample configs
* Fix rspamc
* Add english readme
2009-06-24 17:09:57 +04:00