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/05/05 19:27:43 UTC
svn commit: r1099882 - /spamassassin/branches/3.3/spamd/PROTOCOL
Author: mmartinec
Date: Thu May 5 17:27:43 2011
New Revision: 1099882
URL: http://svn.apache.org/viewvc?rev=1099882&view=rev
Log:
Bug 6548: spamd protocol examples are wrong
Modified:
spamassassin/branches/3.3/spamd/PROTOCOL
Modified: spamassassin/branches/3.3/spamd/PROTOCOL
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.3/spamd/PROTOCOL?rev=1099882&r1=1099881&r2=1099882&view=diff
==============================================================================
--- spamassassin/branches/3.3/spamd/PROTOCOL (original)
+++ spamassassin/branches/3.3/spamd/PROTOCOL Thu May 5 17:27:43 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