aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_xml.c
Commit message (Collapse)AuthorAgeFilesLines
* Make mlock option as tunable.Vsevolod Stakhov2012-10-081-0/+6
|
* * Add support for dynamic configuration to the controller's interface.Vsevolod Stakhov2012-10-021-0/+6
| | | | | * File maps are now being watched even if they don't exist on rspamd start. Several fixes to dynamic configuration logic.
* Allow multiply statfiles with a same label.Vsevolod Stakhov2012-10-021-3/+4
|
* * Add dynamic configuration dumping.Vsevolod Stakhov2012-10-011-0/+14
| | | | | | * Add labels support to the statfiles (would be used for meta-classification) * Rewrite exim spam.c patch to work with both rspamd and SA by using 'variant=rspamd' option in spam_server line.
* * Add map_watch_interval configurable.Vsevolod Stakhov2012-09-191-1/+18
| | | | Support floating point values for time intervals.
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-1/+1
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* * Add lua worker type and lua worker bindings.Vsevolod Stakhov2012-07-261-1/+21
| | | | | | | * Add lua utility library for basic utils. * Fixes lua_buffer code. Fix lua loading error. Added some other lua utility functions.
* * Allow to use other composites inside a composite's expressionVsevolod Stakhov2012-06-141-1/+5
| | | | Fix for cmake 2.6.
* * DKIM module now check only first signature as others must be rejected or ↵Vsevolod Stakhov2012-06-051-0/+5
| | | | | | | skipped by definition. * Add 'trusted_only' and 'skip_multi' options to DKIM module. * Improve flags parsing to support strings like: 'true', 'false', '1', '0', 'yes', 'no', 'y', 'n'.
* * Add ability to specify dnsbls for smtp_proxy.Vsevolod Stakhov2012-04-271-0/+1
| | | | | Fix handling of params with the same name in configuration. Add ability for rspamc to bind on a local address.
* Add basic list config parser.Vsevolod Stakhov2012-04-231-0/+12
|
* * Allow workers to specify multiply options of the same type.Vsevolod Stakhov2012-04-231-4/+41
|
* Parse big limits on 32 bits machine (for file sizes).Vsevolod Stakhov2012-03-281-1/+13
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-47/+17
| | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture.
* Make compiler happy in several cases, remove warnings.Vsevolod Stakhov2011-12-201-5/+15
|
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-301-4/+0
| | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
* Fix static build.Vsevolod Stakhov2011-11-111-3/+3
|
* Compatibility with old glib versions.Vsevolod Stakhov2011-11-021-0/+4
|
* * Implement basic functionality of key value storageVsevolod Stakhov2011-10-311-1/+17
|
* * Initial implementation of threaded kvstorage worker.Vsevolod Stakhov2011-10-271-0/+4
|
* * Add configuration utils for kvstorageVsevolod Stakhov2011-10-171-3/+3
|
* Add ability to register subparsers inside main XML config parser.Vsevolod Stakhov2011-10-171-1/+37
|
* * Introduce new system of contexts initialization. It would be used for ↵Vsevolod Stakhov2011-08-181-22/+42
| | | | | | other things in rspamd as well in future. Ignore unknown headers in case of http.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-2/+2
|
* Add workaround for clang under linux.Vsevolod Stakhov2011-07-211-1/+1
| | | | Fix problems found by static analyzing.
* * Add new algorithm based on diff algorithm to compare relatively short text ↵Vsevolod Stakhov2011-07-131-0/+6
| | | | parts
* Add validity detector for statfiles inside classifier.Vsevolod Stakhov2011-07-131-2/+2
| | | | Add euristic to detect spam/ham classes based on statfile symbol.
* * First commit to implement multi-statfile filter system with new learning ↵Vsevolod Stakhov2011-07-121-5/+42
| | | | mechanizm (untested yet)
* * Welcome 0.4.0Vsevolod Stakhov2011-06-241-0/+12
| | | | | | | | | | | | | | | | | | Uncompatible changes: - Statistics is uncompatible in utf8 mode Major changes: - Improved utf8 mode - Convert all characters to lowercase in statistics - Skip URL's in statistics - Improve speed of bayes classifier by using integer arithmetics - Fixed statfiles synchronization that was broken for a long time - Synchronization is now configurable Minor changes: - Bugfixes - Removed some of legacy code - Types polishing
* * Add new key-value mapVsevolod Stakhov2011-05-251-15/+43
| | | | | * Add lua api support for key-value map * Fix problem in lua configuration initialization to allow `rspamd_config' global work properly
* * Add Subject header that indicate how Subject must be rewritten in case of ↵Vsevolod Stakhov2011-05-101-0/+6
| | | | | | 'rewrite subject' action Fix initialization order of json settings.
* * Rework build process:Vsevolod Stakhov2011-05-101-2/+4
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* * Add ability to specify dns nameservers in a configVsevolod Stakhov2011-04-061-0/+13
| | | | * Add ability to select between round-robin and master-slave algorithms for dns servers
* * Add throttling detection mechanic for dns resolverVsevolod Stakhov2011-03-231-0/+12
| | | | * Improve phishing module adding ability to define 'strict' phishing domains
* * Add strict priority rulesVsevolod Stakhov2011-03-181-0/+8
| | | | | * Improve and fix multimap module * Add rspamd_config object to stage of early configure of rspamd
* * Add options section into config to organize optionsVsevolod Stakhov2011-02-221-0/+93
| | | | | | | * Add one_shot option for avoiding inserting several results from one rule Fix parsing of headers with \t symbol [1] Reported by: Victor Ustugov [1]
* Fix parsing emails with '_' symbol.Vsevolod Stakhov2011-02-171-1/+3
| | | | Fix adding metric symbol.
* * Add ability to define composites from lua. [1]Vsevolod Stakhov2011-02-161-0/+5
| | | | | | Write to log when lua values override xml ones. [1] [1] Suggested by Victor Ustugov
* * Add ability to add descriptions for symbolsVsevolod Stakhov2011-02-151-1/+8
|
* * Add ability to setup metric's weights from luaVsevolod Stakhov2011-02-141-1/+6
|
* * New module for checking emails inside messages (rules based, like multimap)Vsevolod Stakhov2011-02-031-0/+6
| | | | | | | * Emails now are separated from urls and urls checks * Add ability to check text attachements if option is presented in a configuration Version is 0.3.6 now
* Committed by a mistake.Vsevolod Stakhov2010-12-221-0/+1
|
* Init cache before loading config.Vsevolod Stakhov2010-12-221-1/+0
|
* Register virtual symbols for composites.Vsevolod Stakhov2010-12-221-0/+1
|
* * Introduce new system of configuration checks:Vsevolod Stakhov2010-12-201-13/+13
| | | | | | | | - 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
* * Implement ability to add conditional rules to rspamd.xmlVsevolod Stakhov2010-12-151-39/+83
|
* Add registering options for lua modulesVsevolod Stakhov2010-12-141-0/+6
| | | | * Add ability to output colored messages for file and console loggers
* Implement checking options for modulesVsevolod Stakhov2010-12-131-16/+68
| | | | | | Implement checking for classifier options Fix redirector to handle timeouts and invalid replies properly Fix surbl module not to check each url