You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2011/03/23 03:10:02 UTC
svn commit: r1084457 - /spamassassin/trunk/spamd/PROTOCOL
Author: mmartinec
Date: Wed Mar 23 02:10:01 2011
New Revision: 1084457
URL: http://svn.apache.org/viewvc?rev=1084457&view=rev
Log:
[doc] Bug 6548: spamd protocol examples are wrong
Modified:
spamassassin/trunk/spamd/PROTOCOL
Modified: spamassassin/trunk/spamd/PROTOCOL
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/PROTOCOL?rev=1084457&r1=1084456&r2=1084457&view=diff
==============================================================================
--- spamassassin/trunk/spamd/PROTOCOL (original)
+++ spamassassin/trunk/spamd/PROTOCOL Wed Mar 23 02:10:01 2011
@@ -140,8 +140,8 @@ for consistency with other commands (fix
TELL accepts three new headers, Message-class, Set and Remove and will return
two possible headers, DidSet and DidRemove which indicate which action was
-taken. It is up to the caller to determine if the proper action happened. Here
-are some examples:
+taken. It is up to the caller to determine if the proper action happened.
+Here are some examples:
To learn a message as spam:
TELL SPAMC/1.3\r\n
@@ -155,13 +155,13 @@ Remove: local\r\n
To report a spam message:
TELL SPAMC/1.3\r\n
Message-class: spam\r\n
-Set: local, remove\r\n
+Set: local, remote\r\n
To revoke a ham message:
TELL SPAMC/1.3\r\n
-Message-class: spam\r\n
+Message-class: ham\r\n
Set: local\r\n
-Remove: remove\r\n
+Remove: remote\r\n
HEADERS returns the same as PROCESS, up to and including the double-newline
separator between message headers and body -- but stops there. It was
@@ -200,4 +200,3 @@ Compress
As-yet-undefined headers should not be treated as errors, and instead
should be ignored. Multiple headers can appear in requests and responses
(this was not clearly defined until protocol version 1.3).
-