aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-36/+36
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-0/+2
| | | | | | | | message's processing * Add ability to check for specified symbol in task results from lua * Add ability to check for metric's results from lua * Add ability to learn specified statfile form lua
* * Move images library to core rspamdVsevolod Stakhov2010-08-231-0/+1
| | | | * Add lua api to access images properties
* * Fix wirting message id during fuzzy_add commandVsevolod Stakhov2010-08-041-0/+2
| | | | * Display weight of symbols correctly
* * Write symbols weights to rspamc outputVsevolod Stakhov2010-07-311-1/+1
| | | | | | * 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)
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-0/+1
| | | | | | | | | * 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
* * Make DNS resolver workingVsevolod Stakhov2010-07-081-0/+3
| | | | | | * 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
* * Fix detection of numeric urls (reported by citrin)Vsevolod Stakhov2010-07-051-2/+1
| | | | * Write real time of message's scan to log (not only virtual)
* * Fix compatibility issuesVsevolod Stakhov2010-06-231-12/+0
|
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-0/+4
| | | | | | | | * Fix issue with links that are ip addresses in numeric form in surbl * On Darwin use BSD style sendfile definition * Reorganize platform specific knobs in CMakeLists * Use gettimeofday on systems that have not clock_getres * Use ftime for dns trans id generation on systems without clock_getres
* * Implement initial version of greylisting triplets storageVsevolod Stakhov2010-06-171-1/+3
| | | | * Fix issues with smtp worker
* * Check messages received via smtp proxyVsevolod Stakhov2010-06-101-0/+2
| | | | | | * Add support for sendfile in io dispatcher * Fix issues with compatibility of worker_task and smtp proxy * Proxy DATA command
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-0/+8
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Continue implementing smtp proxyVsevolod Stakhov2010-05-261-0/+1
|
* * Initial addition of smtp proxy moduleVsevolod Stakhov2010-05-111-0/+1
|
* * Add ability to pass all filters by using flag -p in case of rspamc or ↵Vsevolod Stakhov2010-04-261-0/+1
| | | | adding header Pass: all in rspamc protocol
* * Handle and dump factors correctlyVsevolod Stakhov2010-04-081-1/+1
| | | | | | * Many fixes to processes spawning * Implement rereading of config * Fix stupid yacc with its stupid global vars
* * Add statistics for fuzzy storagecebka@lenovo-laptop2010-03-171-0/+2
|
* * Add weights command for getting weights of each message by each statfilecebka@lenovo-laptop2010-03-011-2/+4
| | | | | * Add ability to specify multiplier when learning * Add statistics about spam and ham messages
* * Add ability to add custom messages to rspamd outputcebka@lenovo-laptop2010-02-171-0/+1
| | | | * Add messages from spf checks
* * Add support of custom filters in rspamd workercebka@lenovo-laptop2010-01-291-1/+0
| | | | | | - custom filters are dlopened and provides callbacks for user's input processing - custom filters can be used to extend rspamd functionality for unusual (non email processing cases) - custom filters allows to use rspamd async IO model and process management for performing custom network tasks
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-6/+1
| | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system
* * Adopt printf function from nginx for comfortable printing of some data ↵Vsevolod Stakhov2009-11-301-0/+4
| | | | | | | types (fixed strings, pids etc) * Fix work of http maps (they were broken in some places before) * Fix sync of statfiles (not fully tested yet)
* * Implement new system of managing rspamd processesVsevolod Stakhov2009-10-301-1/+2
|
* * Add ability to check views by client's ip (that ip from which we have a ↵Vsevolod Stakhov2009-10-271-0/+1
| | | | connection to rspamd)
* * Do not really check messages that should be skippedVsevolod Stakhov2009-10-191-0/+1
| | | | * Add Skip state for such messages (not False and not True)
* * Add ability for scanning non-mime (HTML) messagesVsevolod Stakhov2009-10-191-0/+2
|
* * 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)
* * Implement new system of async events handling (experimental)Vsevolod Stakhov2009-09-221-0/+3
|
* * Cleanify logic of processes dispatcherVsevolod Stakhov2009-09-211-3/+0
|
* * Add lua plugin for checking received headersVsevolod Stakhov2009-09-151-1/+1
| | | | | | * Some tunes to lua API * Fix bug with http maps * Optimize installation and make custom prefix for configs
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-3/+3
| | | | | | | * 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
|
* * Fix process dispatcherVsevolod Stakhov2009-08-201-2/+3
| | | | * Use bloom filter in fuzzy storage
* * Add support for extending controller protocol by modulesVsevolod Stakhov2009-07-291-0/+23
| | | | | | * Add write support via controller to fuzzy storage TODO: Add delete and check commands support to controller interface
* * Fix multipart nestingVsevolod Stakhov2009-07-271-0/+1
|
* * Add received headers parserVsevolod Stakhov2009-07-221-0/+1
|
* * Rework the whole filters systemVsevolod Stakhov2009-07-131-17/+3
| | | | | | | * Add metrics optimization and symbols cache * Change all plugins [DRAGONS]: not for production usage, some things are still not working!
* * Add views support (not completely tested yet)Vsevolod Stakhov2009-06-291-0/+3
|
* * Introduce new system of workers spawning and configuring, now rspamd can ↵Vsevolod Stakhov2009-06-171-3/+6
| | | | | | | 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
* * Use own logging system to use static logging buffer instead of dynamically ↵Vsevolod Stakhov2009-06-161-4/+5
| | | | allocated one
* * Add module for blacklisting emails (self documented in sample config)Vsevolod Stakhov2009-06-151-0/+1
| | | | | | | * Add command 'emails' for extracting emails from a message * Rework protocol layout to allow expanding rspamd protocol by custom commands that can be added from anywhere in code * Allow rspamc to work without strictly parameter 'command'. Command by default is 'symbols'. * Update version to 0.1.8
* * Rework url parsing algorithmsVsevolod Stakhov2009-06-021-1/+1
| | | | | | | * Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-0/+6
| | | | * Fix shared hashes
* * Add per-task regexp results cache, that would optimize regexp engine ↵Vsevolod Stakhov2009-04-051-0/+1
| | | | | | performance by avoiding multiply match of the same regexp
* * Add 3 functions:Vsevolod Stakhov2009-03-301-0/+1
| | | | | | | | - is_recipients_sorted - has_only_html_part - compare_recipients_distance * Update documentation * Fix build
* * Log scan time and scan length of messagesVsevolod Stakhov2009-03-251-0/+1
| | | | * Remove 2 memory leaks
* * Fix error in expression parser that causes bad errors with expressions ↵Vsevolod Stakhov2009-03-231-0/+1
| | | | | | | | | | | | 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-11/+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
* * Add ability to match raw headersVsevolod Stakhov2009-03-171-0/+1
| | | | * Update documentation