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/main.h | |
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/main.h')
-rw-r--r-- | src/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 924fe13ed..c80efc494 100644 --- a/src/main.h +++ b/src/main.h @@ -166,6 +166,7 @@ struct worker_task { size_t content_length; /**< length of user's input */ enum rspamd_protocol proto; /**< protocol (rspamc or spamc) */ enum rspamd_command cmd; /**< command */ + struct custom_command *custom_cmd; /**< custom command if any */ int sock; /**< socket descriptor */ char *helo; /**< helo header value */ char *from; /**< from header value */ |