aboutsummaryrefslogtreecommitdiffstats
path: root/mailtrain.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rename mailtrain to pipeJohannes Berg2011-02-271-364/+0
|
* add an API version to the backend structJohannes Berg2011-02-271-6/+7
| | | | | | Just to make sure nobody loads a backend plugin that isn't suitable for the version of antispam itself.
* make backend selection at runtimeDaniel Hokka Zakrisson2011-02-271-9/+18
|
* mailtrain: redirect stdout/stderr to /dev/null for execvJohannes Berg2011-02-271-3/+5
| | | | | | This fixes a bug where sa-learn and similar tools fail because they cannot write to stdout or stderr at all, and propagate the error (EBADF or such).
* fix mbox "From " removal code for not-present caseJohannes Berg2009-06-151-10/+1
| | | | | | | Timo explained it to me here: http://mid.gmane.org/1245092921.21624.739.camel@timo-desktop It's been broken forever.
* mailtrain: send correct 5 bytes if message doesn't start with "From "Johannes Berg2009-04-111-1/+1
|
* clean up dovecot compat code a bitJohannes Berg2008-05-311-11/+2
|
* backend preparations for 1.1Johannes Berg2008-04-261-0/+19
|
* mailtrain: fix bug with stripping "From " lineJohannes Berg2008-04-241-4/+16
|
* add debug output to mailtrainJohannes Berg2008-03-201-0/+2
|
* Properly log return value of sendmail invocation if it fails.Steffen Kaiser2008-03-061-1/+1
|
* Fix file descriptor leak in mailtrain backendSteffen Kaiser2008-03-051-2/+3
|
* Leaked a t_pop() call in I/O handler 0x805b350Steffen Kaiser2008-03-051-2/+5
| | | | | | | | | | | | | | | Raw backtrace: imap [0x80ad741] -> imap [0x80ad65c] -> imap(io_loop_handler _run+0x1ce) [0x80b35ce] -> imap(io_loop_run+0x28) [0x80b29a8] -> imap(main+0x5a0) [0x8063590] -> /lib/tls/i686/cmov/libc.so.6(__lib c_start_main+0xc8) [0xb7e37ea8] -> imap [0x8055e31] child 18478 (imap) killed with signal 6 Cause is, if sendmail fails with an exit code != 0, the function returns with -1 immediately skipping the t_pop() before the end of the function. This fixes it.
* allow arbitrary command line arguments for mailtrain backendJohannes Berg2008-02-021-9/+38
|
* use -WextraJohannes Berg2007-10-151-2/+3
|
* make settings per-pluginJohannes Berg2007-10-141-9/+9
|
* use 'enum classification' instead of 'bool from_spam'Johannes Berg2007-10-011-8/+17
|
* add mailtrain backend and docsJohannes Berg2007-10-011-0/+294