aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 17:18:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-06-13 17:31:29 +0100
commitd07fb53df082a1008d90891cd00fe08579acbeb7 (patch)
tree6bdefce0507138b024907d602e2de40f701b7662 /doc
parent0c5266d324b0e80d1606b9cf49af0ca34799ad5c (diff)
downloadrspamd-d07fb53df082a1008d90891cd00fe08579acbeb7.tar.gz
rspamd-d07fb53df082a1008d90891cd00fe08579acbeb7.zip
[Doc] Remove legacy protocol description
Diffstat (limited to 'doc')
-rw-r--r--doc/markdown/architecture/protocol.md44
1 files changed, 1 insertions, 43 deletions
diff --git a/doc/markdown/architecture/protocol.md b/doc/markdown/architecture/protocol.md
index b3f94a7e3..56e1da1d4 100644
--- a/doc/markdown/architecture/protocol.md
+++ b/doc/markdown/architecture/protocol.md
@@ -151,46 +151,4 @@ Here is an example of a JSON control block:
}
~~~
-Moreover, [UCL](https://github.com/vstakhov/libucl) json extensions and syntax conventions are also supported inside the control block.
-
-## Legacy RSPAMC protocol
-
-For compatibility, rspamd supports legacy `RSPAMC` and also SpamAssassin `SPAMC` protocols. Though their usage is discouraged, these protocols can still be used as a last resort to communicate with rspamd from legacy applications.
-
-The RSPAMC dialog looks as follows:
-
-~~~
-SYMBOLS RSPAMC/1.1
-Content-Length: 2200
-
-<message octets>
-
-RSPAMD/1.1 0 OK
-Metric: default; True; 10.40 / 10.00 / 0.00
-Symbol: R_UNDISC_RCPT
-Symbol: ONCE_RECEIVED
-Symbol: R_MISSING_CHARSET
-Urls:
-~~~
-
-The RSPAMC protocol also supports different commands:
-
-| Command | Description |
-| :-------| :----- |
-| CHECK | Check a message and output results for each metric, but do not output symbols. |
-| SYMBOLS | Same as `CHECK`, but output symbols. |
-| PROCESS | Same as `SYMBOLS` but also output the original message with inserted X-Spam headers. |
-| PING | Do not do any processing, just check rspamd state. |
-
-
-After the command, there should be one mandatory header - `Content-Length` - which defines a message's length in bytes, and optional headers (same as for HTTP).
-
-rspamd supports SpamAssassin's `spamc` protocol, and you can even pass rspamc headers in spamc mode, but the reply of rspamd in `spamc` mode is truncated to the "default" metric only with no options for symbols being displayed. Rspamc reply looks as follows:
-
- RSPAMD/1.1 0 OK
- Metric: default; True; 10.40 / 10.00 / 0.00
- Symbol: R_UNDISC_RCPT
- Symbol: ONCE_RECEIVED
- Symbol: R_MISSING_CHARSET
- Urls:
-
+Moreover, [UCL](https://github.com/vstakhov/libucl) json extensions and syntax conventions are also supported inside the control block. \ No newline at end of file