http://bugzilla.spamassassin.org/show_bug.cgi?id=1201





------- Additional Comments From [EMAIL PROTECTED]  2004-06-11 14:41 -------
Subject: Re:  RFE: add learning support to spamd/spamc 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>1) Does adding a new command mean that we need to bump the protocol version?

nope IMO.  it should be possible to detect the "protocol error" returned
when a new verb is attempted against an older spamd, and fail with an
error.

>2) My thinking is to add a LEARN command to the protocol and then a Learn-Type
>header that can contain ham/spam/forget (more likely some numerical value that
>represents each of them).

+1

>3) You can call spamc with -L <type> (ie spamc -L ham < hammsg.txt, spamc -L
>spam < spammsg.txt or spamc -L forget < somemsg.txt). -L == learner, but I'm
>open to better options.

hmm.  what about emulation of sa-learn somehow?  I suppose we'd
need long options...

>4) What should the LEARN command return to spamc to indicate
>success/failure/already learned/etc?

Header: value pairs, I'd suggest.  more extensible.  Also
use the HTTP-style status line and status code.

- --j.

>------- You are receiving this mail because: -------
>You are the assignee for the bug, or are watching the assignee.
>You are on the CC list for the bug, or are watching someone who is.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFAyicIQTcbUG5Y7woRAqejAKDLZvEoIpuV9XPmBDHLQmZu8a5kDQCg2CV3
S/n4uQddWLTULE6tlI81Y0M=
=AhxA
-----END PGP SIGNATURE-----





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to