summaryrefslogtreecommitdiffstats
path: root/src/smtp.c
Commit message (Collapse)AuthorAgeFilesLines
* * 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