aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [Minor] Do not use lowercase for stemmed words unless 1.6 releaseVsevolod Stakhov2017-05-131-0/+2
| | | | | This will decrease efficiency of fuzzy and introduce incompatibility with 1.5. Hence, delay this change unless 1.6 is finally released.
* [Fix] Fix lowercasing of stemmed wordsVsevolod Stakhov2017-05-131-1/+1
|
* [Minor] Check for parts with no wordsVsevolod Stakhov2017-05-131-1/+1
|
* [Minor] Move some of mempool magic constants to a separate fileVsevolod Stakhov2017-05-111-6/+9
|
* [Feature] Store average words length and short words countVsevolod Stakhov2017-05-111-2/+72
|
* [Minor] Refactor destroy -> freeVsevolod Stakhov2017-04-291-1/+1
|
* [Feature] Add initial support of the new protocol replyVsevolod Stakhov2017-04-261-0/+1
|
* [Rework] Remove multiple metrics support from RspamdVsevolod Stakhov2017-04-261-1/+1
|
* [Minor] Unify substring search routinesVsevolod Stakhov2017-04-071-1/+1
|
* [Minor] Properly deal with content type parameterVsevolod Stakhov2017-03-291-1/+2
|
* [Feature] Distinguish URLs found in SubjectVsevolod Stakhov2017-03-281-7/+3
|
* [Minor] Fix various style issuesVsevolod Stakhov2017-03-231-7/+0
|
* [Minor] Remove some unused variablesVsevolod Stakhov2017-03-101-2/+1
|
* [Feature] Enchance text_part:get_content methodVsevolod Stakhov2017-03-061-0/+2
| | | | | | | | | | | This method now supports otional `type` attribute which could be following: - `content` (default): utf8 content with HTML tags stripped and newlines preserved - `content_oneline`: utf8 content with HTML tags and newlines stripped - `raw`: raw content, not mime decoded nor utf8 converted - `raw_parsed`: raw content, mime decoded, not utf8 converted - `raw_utf`: raw content, mime decoded, utf8 converted (but with HTML tags and newlines)
* [Feature] Add heuristic to find text parts in filesVsevolod Stakhov2017-03-031-16/+53
|
* [Fix] Fix ignoring of bad text partsVsevolod Stakhov2017-02-231-1/+4
|
* [Fix] Stop processing of bad parts as text partsVsevolod Stakhov2017-02-231-1/+12
|
* [Rework] Use a special structure for stats tokensVsevolod Stakhov2017-02-141-4/+5
|
* [Feature] Implement received headers flagsVsevolod Stakhov2017-02-131-0/+1
|
* [Fix] Fix couple of issuesVsevolod Stakhov2017-01-151-1/+1
| | | | Found by: Coverity
* [Rework] Start rework of mime addressesVsevolod Stakhov2016-12-221-138/+47
|
* [Minor] Reduce log noise (#1272)Andrew Lewis2016-12-211-1/+1
|
* [Feature] Add own routine to generate a message idVsevolod Stakhov2016-12-201-1/+1
|
* [Minor] Fix crash on messages with no subjectVsevolod Stakhov2016-12-201-2/+5
|
* [Fix] Set task's subject from mime subjectVsevolod Stakhov2016-12-201-0/+6
|
* [Minor] Cut braces in message idVsevolod Stakhov2016-12-191-2/+17
|
* [Minor] Remove redundant headers parsingVsevolod Stakhov2016-12-161-21/+0
|
* [Minor] Assign mime partVsevolod Stakhov2016-12-161-0/+2
|
* [Rework|Minor] Further fixes for the new mime parserVsevolod Stakhov2016-12-161-13/+5
|
* [Rework] Start massive rework to get rid of gmimeVsevolod Stakhov2016-12-161-673/+113
|
* [Minor] Do not free string explicitly to allow new parser to workVsevolod Stakhov2016-12-141-0/+2
|
* [Rework] Add preliminary implementation of the mime parserVsevolod Stakhov2016-12-131-3/+3
|
* [Minor] Move headers parsing to a separate unitVsevolod Stakhov2016-12-131-293/+7
|
* [Rework] Refactor struct namesVsevolod Stakhov2016-12-051-1/+1
|
* [Fix] Fix crashes with invalid received and task:set_from_ipVsevolod Stakhov2016-11-301-1/+4
|
* [Rework] Make rspamd protocol messages usefulVsevolod Stakhov2016-11-021-0/+3
| | | | | | | | | | | | Each message is now represented by a string and category, so messages in metric is an UCL object of the following format: { "category": "string" } The significant category is `smtp_message` which should be used by rmilter to send a custom SMTP reply to a client.
* [CritFix] Introduce raw content to text partsVsevolod Stakhov2016-10-311-5/+18
| | | | | | | | | | | | | | Previously we had the following types of text content: - `orig`: MIME *decoded* content - `content`: same as `orig` but converted to utf8 and without HTML tags - `stripped`: same as `content` but without newlines Now we add `raw`: - `raw`: raw mime content as it was in an original message This also fixes R_BAD_CTE_7BIT rule
* [CritFix] Fix iteration over headers array (introduced in 1.4)Vsevolod Stakhov2016-10-251-2/+2
|
* [Fix] Process headers only onceVsevolod Stakhov2016-10-251-1/+8
|
* [CritFix] Plug memory leak and potential memory corruptionVsevolod Stakhov2016-09-301-9/+7
|
* [Minor] Split loopsVsevolod Stakhov2016-09-281-2/+2
|
* [Feature] Stop using of GLists for headers, improve performanceVsevolod Stakhov2016-09-281-240/+63
|
* [Feature] Try to guess line endings when folding headersVsevolod Stakhov2016-09-221-0/+37
|
* [CritFix] Fix issue with finding of end of lines pointersVsevolod Stakhov2016-08-251-2/+5
|
* [Fix] Do not use headers to calculate messages digestsVsevolod Stakhov2016-08-241-4/+0
|
* [Feature] Allow parsing of mailbox messages from the commandlineVsevolod Stakhov2016-08-231-6/+2
|
* [Feature] Store task checksumVsevolod Stakhov2016-08-151-4/+25
|
* [Fix] Fix blake2b hash of the string "rspamd"Vsevolod Stakhov2016-08-131-8/+8
|
* [Feature] Pre-calculate blake2 digest for all partsVsevolod Stakhov2016-08-131-0/+22
|
* [Fix] Fix multiple request headers structureVsevolod Stakhov2016-08-041-3/+1
|