Todd A. Jacobs wrote:
I was perusing the man pages for spamd in spamassassin 3.1.7, and came
across something that seems to imply that I can use spamc to tell spamd
to update a sitewide bayesian database:

    -l, --allow-tell
        Allow learning and forgetting (to a local Bayes database),
        reporting and revoking (to a remote database) by spamd. The
        client issues a TELL command to tell what type of message is
        being processed and whether local (learn/forget) or remote
        (report/revoke) databases should be updated.

However, I can't find any explanation of how to actually *do* this. What
am I missing here?


Look at the source code for spamc.. Its in there.

If you are writing your own `spamc' client, the header set up is:

TELL SPAMC/1.3
Message-class: spam|ham
Set: local|remote
*or*
Remove: local|remote

Followed by the usual 'user' and 'content-length' spamd headers.

For spamc:

spamc ... -L spam|ham|forget -C report|revoke ...

--
Craig

Reply via email to