summaryrefslogtreecommitdiffstats
path: root/src/protocol.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix core dumps when no symbols are found in a message.Vsevolod Stakhov2011-07-141-1/+1
|
* * Improve performance of settings lookupVsevolod Stakhov2011-06-301-3/+3
|
* * Strip email addresses from bracesVsevolod Stakhov2011-05-131-3/+3
| | | | Ignore empty domains in settings
* * Add Subject header that indicate how Subject must be rewritten in case of ↵Vsevolod Stakhov2011-05-101-0/+41
| | | | | | 'rewrite subject' action Fix initialization order of json settings.
* * Add ability to learn rspamd via worker (without password)0.3.11Vsevolod Stakhov2011-03-311-5/+57
|
* * Preload statfiles at the early beginning in the main processVsevolod Stakhov2011-03-311-154/+494
| | | | | * Add JSON output for rspamd worker * Add HTTP protocol support for rspamd worker
* Write to log number of dns requests per task.Vsevolod Stakhov2011-03-251-4/+5
|
* Print "0.00" instead of "0" in protocol output.Vsevolod Stakhov2011-03-091-5/+5
| | | | Fix misprint in cdb handling.
* * Rewrite URL storage systemVsevolod Stakhov2011-02-241-129/+73
|
* * 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)