aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add ability to add descriptions for symbolsVsevolod Stakhov2011-02-151-3/+25
|
* Fix bug with several metrics output. [1]Vsevolod Stakhov2011-02-141-51/+82
| | | | | | Install surbl-whitelist. [1] [1] Reported by Victor Ustugov
* Handle emails with common hostname.Vsevolod Stakhov2011-02-111-1/+27
|
* * Write Emails: header in outputVsevolod Stakhov2011-02-111-0/+59
|
* * Write more detailed reportsVsevolod Stakhov2011-01-201-70/+63
|
* Always write symbols to log.Vsevolod Stakhov2011-01-191-31/+42
|
* * Fix compatibility with SAVsevolod Stakhov2011-01-181-19/+68
|
* * Add ability to recursive scan over multipart's parts for functions:Vsevolod Stakhov2010-10-201-53/+6
| | | | | | | | - 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.
* Fixed bug with file urls (reported by Anton Nekhoroshin)Vsevolod Stakhov2010-10-191-1/+1
|
* Remove G_INLINE_FUNC definitions as I misunderstood its purposes.Vsevolod Stakhov2010-10-151-1/+1
|
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-56/+56
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Fix misprint (reported by az)Vsevolod Stakhov2010-09-171-1/+1
|
* * Write user's name to rspamd logVsevolod Stakhov2010-09-091-0/+8
|
* * Add post filters to lua API - filters that would be called after all ↵Vsevolod Stakhov2010-08-251-2/+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
* * Output message id in rspamc replyVsevolod Stakhov2010-07-311-3/+8
|
* * Write symbols weights to rspamc outputVsevolod Stakhov2010-07-311-13/+40
| | | | | | * 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)
* * Handle cases of broken requestsVsevolod Stakhov2010-07-191-4/+2
|
* * MergeVsevolod Stakhov2010-07-191-2/+2
|\
| * * Improve loggingVsevolod Stakhov2010-07-191-2/+2
| | | | | | | | | | * Write queue id to log * Remove test messages from cmake
* | * Add more debug to comparing parts distance functionVsevolod Stakhov2010-07-161-1/+2
| | | | | | | | * Write action even if message has no symbols
* | * Add ability to assign several actions to one metricVsevolod Stakhov2010-07-151-5/+58
| | | | | | | | | | | | * Report action in rspamc protocol * Mail::Rspamd::Client and rspamc can now understand Action header too * Write action to log as well
* | * Add ability to set metric's action from config fileVsevolod Stakhov2010-07-151-0/+7
| | | | | | | | | | * Fix bug with writing garbadge if message has no urls or no messages * Fix bug with incorrect behaviour of compare_parts_distance function
* | * Very hard to detect problem with race among error in socket and destroying ↵Vsevolod Stakhov2010-07-091-0/+2
| | | | | | | | task while we are writing to socket and go through a hash table
* | * Fix detection of numeric urls (reported by citrin)Vsevolod Stakhov2010-07-051-3/+3
| | | | | | | | * Write real time of message's scan to log (not only virtual)
* | * Fix stupid error with surbl module reconfig (another one, blame me)Vsevolod Stakhov2010-07-051-30/+48
|/ | | | * Do not show duplicate urls in url header
* * Use rspamd_snprintf instead of libc oneVsevolod Stakhov2010-06-241-35/+35
|
* * Check return value of each rspamd_dispatcher_write as in case of write ↵Vsevolod Stakhov2010-06-241-29/+95
| | | | errors sessions can be destroyed early
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-0/+5
| | | | | | | | * 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-2/+1
| | | | * Fix issues with smtp worker
* * Add ability to pass all filters by using flag -p in case of rspamc or ↵Vsevolod Stakhov2010-04-261-12/+23
| | | | adding header Pass: all in rspamc protocol
* * Fix statistics of messages in controllercebka@lenovo-laptop2010-03-171-0/+2
| | | | | | | | * Fix building and installing perl target * Fix learn command name * Controller's commands are now case insensitive * Statfiles can now be selected from popup list in cgi interface * Password for controller's commands can now be specified in cgi interface
* * Fix bugs from previous commitcebka@lenovo-laptop2010-03-011-1/+1
|
* * Add weights command for getting weights of each message by each statfilecebka@lenovo-laptop2010-03-011-0/+14
| | | | | * 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-1/+21
| | | | * Add messages from spf checks
* * Allways set some protocol version even if command is not validcebka@lenovo-laptop2010-02-151-1/+2
|
* * Write part's hashes to log for messages identifycebka@lenovo-laptop2010-01-281-0/+26
|
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-32/+32
| | | | | | | | | - 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 logging urls as it was required by rambler searchVsevolod Stakhov2009-11-061-1/+16
|
* * Do not really check messages that should be skippedVsevolod Stakhov2009-10-191-4/+27
| | | | * Add Skip state for such messages (not False and not True)
* * Add ability for scanning non-mime (HTML) messagesVsevolod Stakhov2009-10-191-0/+10
|
* * Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)Vsevolod Stakhov2009-10-021-14/+47
| | | | * Add rspamc protocol 1.1 (3 marks instead of 2)
* * Retab, no functional changesVsevolod Stakhov2009-10-021-284/+275
|
* * Fix double free of memoryVsevolod Stakhov2009-09-161-1/+3
| | | | * Fix symbols output
* * New system of classifiers interface and statfiles processingVsevolod Stakhov2009-09-141-9/+1
| | | | | | | * 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-8/+30
|
* * Add urls output to urls commandVsevolod Stakhov2009-07-021-13/+13
| | | | * Improve performance of dispatcher by avoiding double allocating and copying of dynamic buffers
* * Improve logic of urls command to extract only those urls that would be ↵Vsevolod Stakhov2009-06-291-45/+3
| | | | | | | | checked against surbl lists * Fix surbl whitelisting * Fix bug with processing custom commands * Update version to 0.2.1
* * Fix bug with infinite loops caused by outputting long urlsVsevolod Stakhov2009-06-221-0/+1
|
* * Fix 'urls' commandVsevolod Stakhov2009-06-151-22/+3
|
* * Add module for blacklisting emails (self documented in sample config)Vsevolod Stakhov2009-06-151-18/+41
| | | | | | | * 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