aboutsummaryrefslogtreecommitdiffstats
path: root/src/filter.h
Commit message (Collapse)AuthorAgeFilesLines
* Rework project structure, remove trash files.Vsevolod Stakhov2014-04-211-167/+0
|
* Fix includes.Vsevolod Stakhov2014-04-211-0/+1
|
* Refactor worker task structure and API.Vsevolod Stakhov2014-04-211-21/+11
|
* Parse all objects from ucl.Vsevolod Stakhov2013-10-261-1/+1
|
* Refactor metric actions handling.Vsevolod Stakhov2013-09-131-5/+3
| | | | | | Use array of actions instead of a linked list to speed up processing. * Removed required_score, reject_score and action in metric config, now REJECT is the only default action for a metric.
* * Allow to use other composites inside a composite's expressionVsevolod Stakhov2012-06-141-0/+8
| | | | Fix for cmake 2.6.
* Fixes to threading (still incomplete).Vsevolod Stakhov2012-01-311-0/+6
|
* * Add start script for red hat compatible systemsVsevolod Stakhov2011-07-201-0/+11
| | | | | | | Add descriptions for some rspamd API functions (no functional changes). --HG-- rename : linux/rspamd => linux/rspamd_debian.in
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-0/+10
| | | | mechanizm (untested yet)
* * Improve performance of settings lookupVsevolod Stakhov2011-06-301-0/+3
|
* * Add Subject header that indicate how Subject must be rewritten in case of ↵Vsevolod Stakhov2011-05-101-0/+1
| | | | | | 'rewrite subject' action Fix initialization order of json settings.
* * Add ability to learn rspamd via worker (without password)0.3.11Vsevolod Stakhov2011-03-311-0/+9
|
* Remove symbols that are included into a composite when all composites are ↵Vsevolod Stakhov2011-02-181-0/+1
| | | | processed.
* * Add function regexp_occurs_number that allows to test how much occurs of ↵Vsevolod Stakhov2011-02-181-0/+10
| | | | | | | | | regexp can be found in a message Fix composites logic. [1] Fix composites registration from lua. [1] Reported by: Victor Ustugov [1]
* * Add ability to add descriptions for symbolsVsevolod Stakhov2011-02-151-1/+2
|
* * Add ability to recursive scan over multipart's parts for functions:Vsevolod Stakhov2010-10-201-0/+4
| | | | | | | | - content_type_is_type - content_type_is_subtype - content_type_compare_param - content_type_has_param * Add ability to specify any of actions in user's settings, not only reject.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-7/+7
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Add ability to assign several actions to one metricVsevolod Stakhov2010-07-151-14/+23
| | | | | | * Report action in rspamc protocol * Mail::Rspamd::Client and rspamc can now understand Action header too * Write action to log as well
* * Change metric logicVsevolod Stakhov2010-06-161-4/+11
| | | | | | | * Completely remove lex/yacc readers for config * Make common sense of metric/action and symbols * Sync changes with all plugins TODO: add this to documentation
* * Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)Vsevolod Stakhov2009-10-021-0/+1
| | | | * Add rspamc protocol 1.1 (3 marks instead of 2)
* * Make modules disableable from configVsevolod Stakhov2009-07-231-0/+1
|
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-4/+7
| | | | | | | * Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!
* * Make autolearn workingVsevolod Stakhov2009-07-091-0/+1
|
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-1/+0
| | | | | | | be easily extended by new types of wrokers * Rework config system and avoid from using queue (3) lists * Upgrade version to 0.2.0 as config format is now incompatible with older one
* * Add message handling functions to lua APIVsevolod Stakhov2009-03-301-2/+2
| | | | | * Add ability to add lua code in config with .lua and .endlua * Add consolidation functions support that are written in perl or lua
* * New rspamd protocol (changed replies)Vsevolod Stakhov2009-03-031-1/+10
| | | | | | | | * Add ability to attach string lists to symbols * Check destructors and do not add identical destructors (argument and function) to pool's destructors * Remove 2 warnings when building with gmime22 * Attach url names to surbl symbols * Fix bug with blocking on read (I think it is linux specific thought)
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-7/+1
| | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing
* * Make doxygen happy about structures membersVsevolod Stakhov2009-02-061-15/+16
|
* * Add some comments and documentationVsevolod Stakhov2009-02-051-11/+55
|
* * Do another rework of filters/metrics and statfiles processingVsevolod Stakhov2009-01-291-1/+2
| | | | * Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
* * Add function for adding rspamd report headersVsevolod Stakhov2008-12-171-0/+1
|
* * Reorganize structure of source filesVsevolod Stakhov2008-11-011-0/+43
* Adopt build system for new structure --HG-- rename : cfg_file.h => src/cfg_file.h rename : cfg_file.l => src/cfg_file.l rename : cfg_file.y => src/cfg_file.y rename : cfg_utils.c => src/cfg_utils.c rename : controller.c => src/controller.c rename : filter.c => src/filter.c rename : filter.h => src/filter.h rename : fstring.c => src/fstring.c rename : fstring.h => src/fstring.h rename : main.c => src/main.c rename : main.h => src/main.h rename : mem_pool.c => src/mem_pool.c rename : mem_pool.h => src/mem_pool.h rename : memcached-test.c => src/memcached-test.c rename : memcached.c => src/memcached.c rename : memcached.h => src/memcached.h rename : perl.c => src/perl.c rename : perl.h => src/perl.h rename : plugins/regexp.c => src/plugins/regexp.c rename : plugins/surbl.c => src/plugins/surbl.c rename : protocol.c => src/protocol.c rename : protocol.h => src/protocol.h rename : upstream.c => src/upstream.c rename : upstream.h => src/upstream.h rename : url.c => src/url.c rename : url.h => src/url.h rename : util.c => src/util.c rename : util.h => src/util.h rename : worker.c => src/worker.c