diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-15 19:42:28 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-06-15 19:42:28 +0400 |
commit | c76bd2e9ab2506ef06cc291c3e4b6b57ae08ea65 (patch) | |
tree | deb00c3ceb9659a1d8b80845a7218b93cea4cbab /src/worker.c | |
parent | c9d11a65b5c801a27f154091aebe86cbd08fd319 (diff) | |
download | rspamd-c76bd2e9ab2506ef06cc291c3e4b6b57ae08ea65.tar.gz rspamd-c76bd2e9ab2506ef06cc291c3e4b6b57ae08ea65.zip |
* Add module for blacklisting emails (self documented in sample config)
* Add command 'emails' for extracting emails from a message
* Rework protocol layout to allow expanding rspamd protocol by custom commands that can be added from anywhere in code
* Allow rspamc to work without strictly parameter 'command'. Command by default is 'symbols'.
* Update version to 0.1.8
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c index 99c311e1f..2da9383e9 100644 --- a/src/worker.c +++ b/src/worker.c @@ -180,6 +180,12 @@ read_socket (f_str_t *in, void *arg) task->state = WRITE_ERROR; write_socket (task); } + if (task->cmd == CMD_URLS || task->cmd == CMD_OTHER) { + /* Skip filters */ + task->state = WRITE_REPLY; + write_socket (task); + return; + } r = process_filters (task); if (r == -1) { task->last_error = "Filter processing error"; |