summaryrefslogtreecommitdiffstats
path: root/src/message.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * Fix multipart nestingVsevolod Stakhov2009-07-271-3/+19
|
* * Add received headers parserVsevolod Stakhov2009-07-221-0/+229
|
* * Try to search for headers in multipart parts if headers are not found in ↵Vsevolod Stakhov2009-07-081-0/+75
| | | | | | parent part * Fix raw header's search
* * Check return value from evdns_resolveVsevolod Stakhov2009-07-031-0/+2
| | | | * Do not parse html parts double time while extracting urls, just parse tags attributes
* * Extract url encoded urls from html textsVsevolod Stakhov2009-07-031-3/+5
|
* * Remove some warningsVsevolod Stakhov2009-07-011-1/+1
|
* * Rework url parsing algorithmsVsevolod Stakhov2009-06-021-5/+15
| | | | | | | * Adopt all parts of rspamd for new url parser * Improve url-extracter utility by avoiding cut&paste of mime parsing * Small fixes to rspamc client * Bump version to 0.1.3
* * Fix bug with gboolean usageVsevolod Stakhov2009-05-301-1/+8
|
* * Try to handle fake text/html parts correctly while extracting URLsVsevolod Stakhov2009-05-291-1/+1
|
* * Add simple html parser and tag balancing detectorVsevolod Stakhov2009-05-151-6/+23
| | | | * Add function for searching html tag
* * Fix work with raw headers and with senders in messageVsevolod Stakhov2009-05-141-2/+46
|
* * Fix memory leak when ref'ing message mime part without unrefing itVsevolod Stakhov2009-05-081-1/+10
|
* * MisprintVsevolod Stakhov2009-04-211-1/+0
|
* * Fix bug with headers iteration functionVsevolod Stakhov2009-04-211-11/+11
|
* * Add initial version of chartable plugin: now it can only detects mixed ↵Vsevolod Stakhov2009-04-211-1/+1
| | | | unicode characters
* * Add raw mode flag for improving performance by avoiding expensive utf8 ↵Vsevolod Stakhov2009-04-211-0/+5
| | | | | | transforms * Improve FreeBSD start script by adding config test precmd
* * Add some debugVsevolod Stakhov2009-04-201-16/+54
| | | | * Check for headers not only in message but also in its primary part
* * Fix urls extracting, avoid code repeatingVsevolod Stakhov2009-04-171-2/+2
|
* * For mime parts set flag 'raw' and if we cannot determine charset of part ↵Vsevolod Stakhov2009-04-151-4/+8
| | | | | | or cannot encode it to utf8 just use for such parts raw regexps
* * Fix allocating and freeing of byte arrayVsevolod Stakhov2009-04-151-2/+2
|
* * Try to convert each text part of messages to utf8 to avoid problems with ↵Vsevolod Stakhov2009-04-151-25/+64
| | | | regexps
* * Check mime regexp only in text and html partsVsevolod Stakhov2009-04-031-0/+2
| | | | | | * Add 2 functions: - has_content_part(type, subtype) - has_content_part_len(type, subtype, min, max)
* * Add 3 functions:Vsevolod Stakhov2009-03-301-0/+5
| | | | | | | | - is_recipients_sorted - has_only_html_part - compare_recipients_distance * Update documentation * Fix build
* * Unref wrapper as wellVsevolod Stakhov2009-03-261-0/+2
|
* * Do not try to process empty partsVsevolod Stakhov2009-03-261-21/+24
|
* * Unref stream to avoid memory leakingVsevolod Stakhov2009-03-251-1/+5
|
* * Fix using of local variableVsevolod Stakhov2009-03-251-1/+3
|
* * Log scan time and scan length of messagesVsevolod Stakhov2009-03-251-0/+3
| | | | * Remove 2 memory leaks
* * Fix many compile time warnings and polish codeVsevolod Stakhov2009-03-241-6/+6
|
* * Fix XS module to work with current type of memory allocationVsevolod Stakhov2009-03-241-3/+19
|
* * Use pool allocator for temp strings in headersVsevolod Stakhov2009-03-241-9/+10
|
* * Add smart handling of message headersVsevolod Stakhov2009-03-241-0/+266
|
* * Fix error in expression parser that causes bad errors with expressions ↵Vsevolod Stakhov2009-03-231-2/+17
| | | | | | | | | | | | that have regexp at the end * Improve test for fuzzy hashes * Add new object - TextPart to perl XS library that allows access to stripped parts and fuzzy hashes * Add documentation for expressions parser and fot Mail::Rspamd::TextPart * Allways calculate fuzzy hash for text parts * Store text parts separately from other parts * Add compare_parts_distance for expressions that calculates difference in 2 parts messages * Do not try to substitute variables in empty strings
* * Add ability to match raw headersVsevolod Stakhov2009-03-171-0/+10
| | | | * Update documentation
* * Add log line for each message in SA styleVsevolod Stakhov2009-03-111-0/+4
|
* * Fix redirector connection procedureVsevolod Stakhov2009-03-101-1/+4
| | | | | | | | * Add more strict login * Add new header Queue-ID to protocol * Log message id or queue id * Add config file for redirector * Add ability to set regexp and domains list to check with redirector
* * Avoid extra requests to surbls saving them into requests cacheVsevolod Stakhov2009-03-101-2/+2
| | | | * Lower debug level for some errors (INFO to DEBUG)
* * Fix 2 memory issues:Vsevolod Stakhov2009-03-101-0/+16
| | | | | | - NULL string when trying to check url regexp - double free of message byte array as mime_stream frees memory in array if it thinks that stream is owner of array's memory
* * Remove several memory leaks (found by valgrind)Vsevolod Stakhov2009-03-061-6/+15
|
* * Remove %m from logging it seems to be unsupported by FreeBSD printf versionVsevolod Stakhov2009-03-021-1/+1
|
* * Add compatibility with gmime24Vsevolod Stakhov2009-03-021-1/+34
|
* * Fix character policy in dispatcherVsevolod Stakhov2009-03-021-0/+1
|
* * Try not to unref parser too earlyVsevolod Stakhov2009-03-021-6/+4
|
* * Add debug for mime parsingVsevolod Stakhov2009-03-021-1/+14
| | | | * Fill task structure with zeroes in url-extracter
* * Implement rspamd IO with IO dispatcher (TODO: still some issues with ↵Vsevolod Stakhov2009-02-191-2/+2
| | | | timeouts must be resolved)
* * Prepare to migrate to cmake (still need to write install target and ↵Vsevolod Stakhov2009-02-161-16/+2
| | | | | | | | working with XS implicitly) * Move all system includes to one file where we detect availability of all that includes * Fix license misprint * Fix some issues with perl initializing
* * Add BSD license textVsevolod Stakhov2009-02-161-0/+24
|
* * Rewrite message parserVsevolod Stakhov2009-01-211-0/+442
* Change mime parts storage * Add html tags striping (ported from php code) * Rework learning to process only text and striped html parts