aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add new algorithm based on diff algorithm to compare relatively short text ↵Vsevolod Stakhov2011-07-131-2/+2
| | | | parts
* Fix phishing detection with img flag.Vsevolod Stakhov2011-07-111-2/+8
| | | | | | Handle unclosed HTML tags properly. Remove warnings for types on 32 bit archs. Do not touch grow factor many times when one shot mode is turned on.
* * Welcome 0.4.0Vsevolod Stakhov2011-06-241-19/+2
| | | | | | | | | | | | | | | | | | Uncompatible changes: - Statistics is uncompatible in utf8 mode Major changes: - Improved utf8 mode - Convert all characters to lowercase in statistics - Skip URL's in statistics - Improve speed of bayes classifier by using integer arithmetics - Fixed statfiles synchronization that was broken for a long time - Synchronization is now configurable Minor changes: - Bugfixes - Removed some of legacy code - Types polishing
* * Fixes to fuzzy hashing logic, skip urls while estimating fuzzy hashVsevolod Stakhov2011-06-231-14/+6
| | | | | Fix tags stripping. Fix phishing checks (ignore img tags).
* * Fix error in raw headers parsingVsevolod Stakhov2011-05-241-31/+63
| | | | * Improve speed of raw headers access
* Fix settings using.Vsevolod Stakhov2011-05-111-1/+0
| | | | Revert genmodules logic.
* * Rework build process:Vsevolod Stakhov2011-05-101-2/+0
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* * Add ability to extract urls from subject field0.3.10Vsevolod Stakhov2011-03-231-1/+42
| | | | | | Fix phishing plugin. * Important fix for multimap/cdb handling * Important fix for phishing detector
* Fix gmime24 compatibility.Vsevolod Stakhov2011-03-091-0/+4
| | | | | | Fix adding extra space to raw headers. Reported by: Victor Ustugov
* Make phishing checks working.Vsevolod Stakhov2011-03-051-2/+3
|
* Assume headers folding as space character.Vsevolod Stakhov2011-03-051-0/+1
|
* * Add multimaps for "FROM" and "TO" headers (mime an smtp data can be checked)Vsevolod Stakhov2011-03-041-1/+5
| | | | * Improve lua api for getting message's sender and recipients
* Try to fix memory issues.Vsevolod Stakhov2011-03-021-0/+2
|
* Fix several memory leaks in rspamd.Vsevolod Stakhov2011-02-241-1/+1
|
* More warnings.Vsevolod Stakhov2011-02-241-2/+2
|
* Fix warnings.Vsevolod Stakhov2011-02-241-3/+3
|
* Fix FSM for headers parsing.Vsevolod Stakhov2011-02-241-4/+6
|
* Save separator inside raw_header struct.Vsevolod Stakhov2011-02-231-0/+15
| | | | Requested by: Victor Ustugov
* * Add options section into config to organize optionsVsevolod Stakhov2011-02-221-0/+1
| | | | | | | * Add one_shot option for avoiding inserting several results from one rule Fix parsing of headers with \t symbol [1] Reported by: Victor Ustugov [1]
* Fix patch for exim.Vsevolod Stakhov2011-02-211-0/+1
| | | | Fix parsing of wrong headers.
* * Process raw headers by FSM.Vsevolod Stakhov2011-02-211-3/+197
| | | | * Add methods for accessing raw_headers from lua and C
* Fix received headers parser state machine to parse headers with only 'by' ↵Vsevolod Stakhov2011-02-171-0/+3
| | | | component.
* * Add ability to specify 'S' flag to regexp that means that headers checks ↵Vsevolod Stakhov2011-02-151-23/+49
| | | | | | must be case sensitive * Add lua function message:get_header_strong
* * Add manual pages for rspamd and rspamc.Vsevolod Stakhov2011-02-071-1/+1
| | | | Fix bug with extracting urls from tags without quotes.
* * New module for checking emails inside messages (rules based, like multimap)Vsevolod Stakhov2011-02-031-2/+2
| | | | | | | * Emails now are separated from urls and urls checks * Add ability to check text attachements if option is presented in a configuration Version is 0.3.6 now
* * Many fixes to fuzzy hashes logic and tokenization.Vsevolod Stakhov2011-01-241-7/+10
|
* * Add phishing detector (now just compares <a href> with tag's data).Vsevolod Stakhov2010-11-021-3/+1
|
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-42/+42
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Get message's headers more correctlyVsevolod Stakhov2010-09-271-1/+1
|
* * Fix getting data wrapper for gmime24Vsevolod Stakhov2010-09-011-0/+2
|
* * Assume all text/* content types as text/plainVsevolod Stakhov2010-09-011-1/+1
|
* * Add ability to check hashes of selected mime typesVsevolod Stakhov2010-08-271-8/+0
| | | | | * Add ability to set minimum size in bytes for mime types * Add ability to set minimum dimensions for images
* * Add ability to extract filename and size of images from luaVsevolod Stakhov2010-08-251-0/+1
|
* * Move images library to core rspamdVsevolod Stakhov2010-08-231-1/+7
| | | | * Add lua api to access images properties
* * Do not add extra byte while converting text to utfVsevolod Stakhov2010-07-291-1/+1
|
* * Another try to save regexps in cache correctlyVsevolod Stakhov2010-07-281-1/+1
| | | | * Improve test logs for regexps
* * Try to save images hashes to fuzzy storage to stop some annoying spammersVsevolod Stakhov2010-07-271-0/+8
|
* * More debugVsevolod Stakhov2010-07-251-1/+4
|
* * Add rspamd_log variable to lua plugins to access logging functionsVsevolod Stakhov2010-07-251-3/+29
| | | | | | | | | * 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
* * MergeVsevolod Stakhov2010-07-191-1/+1
|\
| * * Improve loggingVsevolod Stakhov2010-07-191-1/+1
| | | | | | | | | | * Write queue id to log * Remove test messages from cmake
* | * Fix chartable module in utf modeVsevolod Stakhov2010-07-051-1/+1
|/
* * Fix more gmime2.4 issuesVsevolod Stakhov2010-05-311-10/+29
|
* * Fix build with gmime24Vsevolod Stakhov2010-05-271-2/+18
|
* * Add ability to add flags to fuzzy hashesVsevolod Stakhov2010-05-051-1/+21
|
* * Fix statistics of messages in controllercebka@lenovo-laptop2010-03-171-4/+0
| | | | | | | | * 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
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-14/+14
| | | | | | | | | - 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 for scanning non-mime (HTML) messagesVsevolod Stakhov2009-10-191-49/+105
|
* * Fix getting of message headers from lua pluginsVsevolod Stakhov2009-10-141-3/+6
| | | | * Fix forged recipients plugin
* * Retab, no functional changesVsevolod Stakhov2009-10-021-522/+530
|