summaryrefslogtreecommitdiffstats
path: root/src/smtp.c
Commit message (Collapse)AuthorAgeFilesLines
* * Add more timeouts: for fuzzy operations, for worker task operationsVsevolod Stakhov2011-03-281-6/+3
| | | | Handle miliseconds using a common macro.
* Add module options checkerVsevolod Stakhov2010-12-081-1/+1
| | | | | Improve time limits handling Fix smtp proxy options parsing
* * Start new rspamd 0.3.4Vsevolod Stakhov2010-12-031-47/+48
| | | | * Add ability to manage per-module, per-worker and per-classifier options in XML parser
* Fix XCLIENT hostnames when hostname cannot be resolved.Vsevolod Stakhov2010-11-231-5/+8
|
* Make own strlcpy that does not calculate remaining string length (faster and ↵Vsevolod Stakhov2010-11-161-2/+2
| | | | | | more safe) Allow only ASCII symbols in logs, escape control chars
* Parse smtp_use_xclient option in configVsevolod Stakhov2010-10-291-0/+3
|
* Add add_header action to smtp proxy.Vsevolod Stakhov2010-10-261-0/+1
| | | | In raw mode scan stripped html parts when regexp are not 'raw'.
* Fix action settings (reported by Anton Nekhoroshih).Vsevolod Stakhov2010-10-251-151/+2
| | | | | Split smtp code to 'utils', 'protocol' and 'worker' functions. * Add support of actions for smtp worker.
* Fixes bugs found with clang-static analyser.Vsevolod Stakhov2010-10-111-2/+4
| | | | | Strictly follow c99 standart. Turn on pedantic c99 checks.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-35/+35
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Reopen log file by USR1 signalVsevolod Stakhov2010-07-191-0/+3
| | | | * Add reopenlog method to FreeBSD rc script
* * Set resolver inside taskVsevolod Stakhov2010-07-121-0/+1
|
* * Init events before configuring resolver in smtp workerVsevolod Stakhov2010-07-121-2/+1
|
* * Fix resolving in smtp moduleVsevolod Stakhov2010-07-121-1/+1
|
* * Remove evdns and use only rspamd resolverVsevolod Stakhov2010-07-091-23/+30
|
* * 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)
* * Add resolv.conf parsing into dns.cVsevolod Stakhov2010-07-011-4/+4
| | | | * Fix microseconds<->milliseconds conversions
* * Add ability to set filters for smtp worker for each smtp stageVsevolod Stakhov2010-06-291-0/+50
| | | | * Add very initial version of DNS resolver (many things to be done)
* * Remove events in handlersVsevolod Stakhov2010-06-281-2/+5
|
* * Make session before registering eventsVsevolod Stakhov2010-06-281-8/+6
|
* * Register dns requests in session tooVsevolod Stakhov2010-06-281-0/+6
|
* * Delay timer must be registered in async session to correctly handle ↵Vsevolod Stakhov2010-06-281-0/+1
| | | | connection termination
* * Fix reconfigure process of surbl moduleVsevolod Stakhov2010-06-281-1/+5
| | | | * Fix destroying smtp session (unmap memory and do not delete pool early)
* * Use rspamd_snprintf instead of libc oneVsevolod Stakhov2010-06-241-12/+12
|
* * Fix states in smtp dialogVsevolod Stakhov2010-06-241-3/+5
|
* * Check return value of each rspamd_dispatcher_write as in case of write ↵Vsevolod Stakhov2010-06-241-12/+34
| | | | errors sessions can be destroyed early
* * Add more information about why we drop smtp connectionVsevolod Stakhov2010-06-231-0/+4
| | | | * Fix mkstemp call
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-1/+6
| | | | | | | | * 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
* * New logic of SURBL module:Vsevolod Stakhov2010-06-181-0/+3
| | | | | | | | | | | | | - remove completely 2tld - add option "exception" - for domains from exception list check (level + 1) parts of url: If we have url mail.some.com.ru and have com.ru in exception list then we would check some.com.ru. If we have some.com.ru in exceptions list them mail.some.com.ru would be checked and so on. - optimized parsing of surbl requests * Use system mkstemp(3) on systems where it is available as glib implementation has poor security and generate rather predictable temporary file names.
* * Add limit of maximum allowed smtp session errorsVsevolod Stakhov2010-06-181-0/+21
|
* * Some performance improvements to IO dispatcher (do not drain the whole ↵Vsevolod Stakhov2010-06-181-53/+10
| | | | | | buffer after a single line readed) * Fix smtp data input
* * Copy from and rcpt correctlyVsevolod Stakhov2010-06-181-9/+18
|
* * Get weights of symbol from default metric for symbols cacheVsevolod Stakhov2010-06-181-0/+16
| | | | * Fix setting task->from/task->rctp in smtp client
* * Fix QUIT command in SMTP workerVsevolod Stakhov2010-06-171-34/+40
|
* * Implement initial version of greylisting triplets storageVsevolod Stakhov2010-06-171-9/+4
| | | | * Fix issues with smtp worker
* * Fix SMTPVsevolod Stakhov2010-06-111-16/+17
|
* * Check messages received via smtp proxyVsevolod Stakhov2010-06-101-6/+253
| | | | | | * Add support for sendfile in io dispatcher * Fix issues with compatibility of worker_task and smtp proxy * Proxy DATA command
* * Implement basic SMTP dialog:Vsevolod Stakhov2010-06-091-43/+256
| | | | | | | | - delay - helo - mail from - rcpt * Implement interaction with smtp upstream (with support of XCLIENT)
* * Fix strict aliasing while compiling with optimizationVsevolod Stakhov2010-05-311-10/+8
| | | | | * Fix tanhl detection for platforms that have not implementation of it * Remove several compile warnings
* * Continue implementing smtp proxyVsevolod Stakhov2010-05-261-8/+186
|
* * Initial addition of smtp proxy moduleVsevolod Stakhov2010-05-111-0/+428