Re: Getting a message's current score and status using only the sfid?

Paolo <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <20090227082937.GF8801@localhost>
On Fri, Feb 27, 2009 at 02:35:54AM +0000, Lloyd Zusman wrote:
> I'm using 20080326-BlameSentansoken, and I'm wondering if there's a way
> for me to get a message's current score and status using only the sfid
> as input.
> 
> I assume that there's a way to do this, because I can retrain a message
> using only its sfid. However, I couldn't find anything which describes
> how to query a previously classified message's status using only its sfid.

apparently mailreaver.crm implements these commands:

#
#       spam            - this is spam.  Treat appropriately.[*]
#       good            - this is good.  Treat appropriately.[*]
#       cache           - pretend the email starts on the following line.
#                         process it normally and put it in the cache.
#       dontstore         - do NOT store this text into the cache.  Use
#                         this for text that you never want to train.
#       stats_only      - output ONLY the status.  Nothing else.
#                       Since this means there's no output of the
#                       CacheIDs, we don't store the text for later training.
#       report_only     - output ONLY the headers that would have
#                       been added, not the entire text.
#       outbound        - this is an "outbound" message and hence can
#                       assumed to be nonspam.  Train if necessary.
#       undo            - the message was mis-trained as type X.  Undo that.
#       verbose         - tell me more.
#       maxprio +/-     - add a maximum priority entry
#       minprio +/-     - add a minimum priority entry
#       delprio         - delete a prio list entry.
#       fileprefix=dir  - look in the dir for the .css and .cf files
#       config=filename - use filename as the .cf file
#

so stats_only or report_only should already do what you want, unless I've
missed your point.

-- 
paolo

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.