Commit Graph

170 Commits

Author SHA1 Message Date
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