diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-10-02 20:23:16 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-10-02 20:23:16 +0400 |
commit | ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977 (patch) | |
tree | aa9db8b8c40ce43d504750f03f781652c16ea727 /src/protocol.h | |
parent | f3ad9c6f1e91c9912dbe730fdec350b5fc908672 (diff) | |
download | rspamd-ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977.tar.gz rspamd-ce482fbf8e2c1b9bf0cdba0ab61bc26985ee8977.zip |
* Add reject score setting for hard rejecting of mail (by Anton Nekhoroshin)
* Add rspamc protocol 1.1 (3 marks instead of 2)
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/protocol.h b/src/protocol.h index b4783cb30..4c12cc481 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -13,11 +13,14 @@ #define RSPAMD_PROTOCOL_ERROR 3 #define RSPAMD_LENGTH_ERROR 4 +#define RSPAMC_PROTO_1_0 "1.0" +#define RSPAMC_PROTO_1_1 "1.1" + /* * Reply messages */ -#define RSPAMD_REPLY_BANNER "RSPAMD/1.0" -#define SPAMD_REPLY_BANNER "SPAMD/1.1" +#define RSPAMD_REPLY_BANNER "RSPAMD" +#define SPAMD_REPLY_BANNER "SPAMD" #define SPAMD_OK "EX_OK" /* XXX: try to convert rspamd errors to spamd errors */ #define SPAMD_ERROR "EX_ERROR" |