summaryrefslogtreecommitdiffstats
path: root/src/expressions.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix error with writing symbols cache fileVsevolod Stakhov2010-07-281-8/+8
| | | | * Fix error while working in utf mode when raw regexps was not created properly
* * Another try to save regexps in cache correctlyVsevolod Stakhov2010-07-281-2/+3
| | | | * Improve test logs for regexps
* * More debugVsevolod Stakhov2010-07-251-0/+1
|
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-0/+16
| | | | | | | | | * 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
* * Save in regexp cache the whole regexp with header name (if exists) and ↵Vsevolod Stakhov2010-07-231-1/+2
| | | | | | with flags This issue can be a reason why similar regexp are NOT working for different headers
* * Empty and non-empty parts are allways differentVsevolod Stakhov2010-07-201-0/+4
|
* * Do not compare empty partsVsevolod Stakhov2010-07-201-4/+6
|
* * Assume 7bit as default transfer encodingVsevolod Stakhov2010-07-161-1/+9
|
* * Add more debug to comparing parts distance functionVsevolod Stakhov2010-07-161-2/+4
| | | | * Write action even if message has no symbols
* * Add ability to set metric's action from config fileVsevolod Stakhov2010-07-151-1/+1
| | | | | * Fix bug with writing garbadge if message has no urls or no messages * Fix bug with incorrect behaviour of compare_parts_distance function
* * Add ability to test regexp with 'T' flagVsevolod Stakhov2010-07-061-0/+5
| | | | | | | * Write more code for DNS resolver: - initial RR parser - name compression - replies handler
* * Remove some warningsVsevolod Stakhov2010-05-311-3/+3
|
* * Fix more gmime2.4 issuesVsevolod Stakhov2010-05-311-24/+27
|
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-1/+2
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Fix build with gmime24Vsevolod Stakhov2010-05-271-5/+43
|
* * Fix config reloadingVsevolod Stakhov2010-05-131-16/+24
| | | | | * Add ability to register variables in memory pools (hash with known lifetime) * Avoid of using of some global variables
* * Call lua functions like C functions in expressionsVsevolod Stakhov2010-04-081-1/+15
|
* * Add classifiers and composites sections to dumpVsevolod Stakhov2010-04-061-9/+11
|
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-42/+42
| | | | | | | | | - 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
* * Add ability to register rspamd functions from LUAVsevolod Stakhov2009-10-131-50/+52
| | | | | | * Add ability to access recipients list and sender information * Add plugin for checking forged recipients and sender * Sync documentation
* * Retab, no functional changesVsevolod Stakhov2009-10-021-537/+542
|
* * Make composites workingVsevolod Stakhov2009-09-251-0/+13
| | | | * Document using of composites
* * Add support for empty text or html partsVsevolod Stakhov2009-07-291-3/+3
|
* * Fix 'cc' urls parsingVsevolod Stakhov2009-07-161-0/+24
| | | | * Add function has_fake_html for determine fake html parts (without any tags)
* * Fix distance calculation for common recipientsVsevolod Stakhov2009-07-081-1/+1
|
* * Fix issue with group addressesVsevolod Stakhov2009-07-011-1/+1
|
* * Fix rspamd functions registrationVsevolod Stakhov2009-06-181-1/+1
|
* * Add function "raw_header_exists" for finding headers that are not parsed ↵Vsevolod Stakhov2009-06-111-8/+0
| | | | by gmime (Mime-Version for example)
* * Add simple html parser and tag balancing detectorVsevolod Stakhov2009-05-151-0/+91
| | | | * Add function for searching html tag
* * Fix memory leak when ref'ing message mime part without unrefing itVsevolod Stakhov2009-05-081-6/+9
|
* * Improve loggingVsevolod Stakhov2009-05-061-1/+1
|
* * Fix error in regexps results hashingVsevolod Stakhov2009-05-041-5/+15
|
* * Add counters for rspamd symbolsVsevolod Stakhov2009-05-041-1/+1
| | | | * Fix shared hashes
* * Fix function get_transfer_encodingVsevolod Stakhov2009-04-271-1/+1
|
* * Add expression parser utilityVsevolod Stakhov2009-04-271-1/+1
| | | | * Temporaly switch off expression optimizer as it should be reworked
* * Also try to search for headers in raw headersVsevolod Stakhov2009-04-231-1/+9
|
* * Some more bugs are (hopefuly) fixedVsevolod Stakhov2009-04-231-5/+8
|
* * Handle parsed regexp as not-parsed regexps in expressionsVsevolod Stakhov2009-04-231-2/+2
|
* * Another tryVsevolod Stakhov2009-04-231-1/+1
|
* * Try to correctly read regexpsVsevolod Stakhov2009-04-231-1/+1
| | | | * Turn off perl support by default
* * Another fix to regexps parserVsevolod Stakhov2009-04-231-2/+2
|
* * Fix regexp_match_number functionVsevolod Stakhov2009-04-231-2/+3
|
* * Fix expression parser: make it recursive and allow expressions inside ↵Vsevolod Stakhov2009-04-231-45/+143
| | | | | | function's arguments * Rewrite functions interface and implement arguments parsing
* * Add raw mode flag for improving performance by avoiding expensive utf8 ↵Vsevolod Stakhov2009-04-211-6/+10
| | | | | | transforms * Improve FreeBSD start script by adding config test precmd
* * Add function compare_transfer_encoding for checking message content ↵Vsevolod Stakhov2009-04-211-0/+39
| | | | transfer encoding.
* * Add some debugVsevolod Stakhov2009-04-201-0/+2
| | | | * Check for headers not only in message but also in its primary part
* * Threat raw header regexps as raw regexpsVsevolod Stakhov2009-04-161-2/+11
| | | | * Add regexp flag /r for raw regexp of any types
* * For mime parts set flag 'raw' and if we cannot determine charset of part ↵Vsevolod Stakhov2009-04-151-1/+9
| | | | | | or cannot encode it to utf8 just use for such parts raw regexps
* * Fix addresses filling in compare_distance functionVsevolod Stakhov2009-04-061-4/+2
|
* * Parse function's regexp using not temporary task pools, but permament ↵Vsevolod Stakhov2009-04-061-5/+5
| | | | config pool