summaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix parsing '*' as hostname in bind linesVsevolod Stakhov2009-11-101-6/+12
|
* * Avoid mmap'ing in binlog as mmapped areas must be alignedVsevolod Stakhov2009-11-091-66/+67
| | | | | * Make binlog working for writing * Add config params for binlog
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-0/+18
|
* * Add growing coefficient to factors consolidation callbackVsevolod Stakhov2009-10-161-0/+1
| | | | * Fix registering functions from lua
* * 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)
* * Retab, no functional changesVsevolod Stakhov2009-10-021-125/+128
|
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-3/+17
| | | | | | | * Fix sample config * Fix compile warnings * Fix building without lua support * Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
* * Make settings workingVsevolod Stakhov2009-09-081-0/+2
|
* * Add client part for fuzzy checksums storageVsevolod Stakhov2009-07-281-0/+15
| | | | * Add fuzzy storage syncing to file
* * Fix some more bugsVsevolod Stakhov2009-07-231-0/+1
|
* * Make modules disableable from configVsevolod Stakhov2009-07-231-0/+1
|
* * Fix symbol planning, add cache_file directive to config fileVsevolod Stakhov2009-07-141-9/+13
| | | | * Fix some errors
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-41/+8
| | | | | | | * Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!
* * Add autolearn config optionsVsevolod Stakhov2009-07-031-0/+28
| | | | | * Fix parsing of invalid urls in html parser * Add ability to specify symbols in view parameter as comma-separated list
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-85/+35
| | | | | | | 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
* * Allow binds to INADDR_ANY if bind_sock is *:portVsevolod Stakhov2009-04-291-2/+4
|
* * Fix variables substitutionVsevolod Stakhov2009-04-221-8/+13
|
* * Thread variables as () expressions to fix problems with operations priorityVsevolod Stakhov2009-04-211-2/+2
|
* * Fix variables substitutionVsevolod Stakhov2009-03-271-8/+10
| | | | | * Add simple lua interface to access task structures * Improve error reporting for regexp module
* * Add ability to build rspamd without perl supportVsevolod Stakhov2009-03-271-0/+1
| | | | | * Fix creating of uinx socket * Improve some build issues
* * More accurate work with clockVsevolod Stakhov2009-03-251-0/+18
|
* * Fix variable substitutionVsevolod Stakhov2009-03-241-3/+5
| | | | * Add new command line parameter '-V' allowing to dump all variables of rspamd
* * Fix error in expression parser that causes bad errors with expressions ↵Vsevolod Stakhov2009-03-231-0/+5
| | | | | | | | | | | | that have regexp at the end * Improve test for fuzzy hashes * Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes * Add documentation for expressions parser and fot Mail::Rspamd::TextPart * Allways calculate fuzzy hash for text parts * Store text parts separately from other parts * Add compare_parts_distance for expressions that calculates difference in 2 parts messages * Do not try to substitute variables in empty strings
* * Add functions support to rspamd regexpsVsevolod Stakhov2009-03-191-137/+0
| | | | | | | | * Parse expressions with state machine which allows different kinds of arguments in expressions * Fix test to accord current data * Add support of fucntions to regexp module * Move all regexp logic to separate file, describe its API * Fix descriptors leakage in surbl module
* * With flag -t syntax of modules variables is also inspectedVsevolod Stakhov2009-03-191-4/+5
| | | | * Set "C" locale on start to avoid some troubles with logging
* * Allow escaped quotes in quoted strings, for example "\"some string\""Vsevolod Stakhov2009-03-181-0/+24
| | | | * Add warnings when we got errors while parsing rexeps
* * Add ability to match raw headersVsevolod Stakhov2009-03-171-0/+6
| | | | * Update documentation
* * Some fixes to regexp moduleVsevolod Stakhov2009-03-121-10/+15
| | | | * Add documentation for rspamd regexp module
* * Remove %m from logging it seems to be unsupported by FreeBSD printf versionVsevolod Stakhov2009-03-021-3/+3
|
* * Fix logging when process is startingVsevolod Stakhov2009-02-261-1/+1
| | | | | * Add -t option for config testing * Try to search default config in install prefix not in current directory
* * Add initial LMTP support and LDA delivery to rspamdVsevolod Stakhov2009-02-241-53/+81
|
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-21/+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
* * Add BSD license textVsevolod Stakhov2009-02-161-0/+24
|
* * By default number of workers is number of active processors in systemVsevolod Stakhov2009-02-111-2/+5
| | | | * Fix macro detection in configure system
* * Move config parse errors from stderr output to standart logging functionsVsevolod Stakhov2009-02-061-0/+35
|
* * Do another rework of filters/metrics and statfiles processingVsevolod Stakhov2009-01-291-0/+2
| | | | * Add 'probability' normalizing to winnow algorithm and calculate not pure weight but normalized probability
* * Make surbl checks workingVsevolod Stakhov2009-01-261-1/+4
|
* * Rework statfiles result processingVsevolod Stakhov2009-01-221-0/+12
| | | | * Fix small bug in protocol implementation (\r -> \r\n)
* * Add new system of getting and setting config parameters from perl codeVsevolod Stakhov2009-01-151-1/+48
|
* * Make sample config more completeVsevolod Stakhov2008-12-181-1/+7
| | | | | * Fix bugs with config file parsing * Fix bugs with creating sockets and reading commands
* * Add learning interface to rspamd (still requires classifier to work)Vsevolod Stakhov2008-12-021-0/+1
|
* * Add config routines for stat filesVsevolod Stakhov2008-12-011-0/+3
| | | | * Add function to resolve stat file name
* * Reorganize structure of source filesVsevolod Stakhov2008-11-011-0/+563
* 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