Bug 128 - Spam cache?
Summary: Spam cache?
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 2.11
Hardware: PC Linux
: P2 enhancement
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-25 16:10 UTC by Daniel Rogers
Modified: 2002-03-25 22:05 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Rogers 2002-03-25 16:10:19 UTC
Would anyone see any value in having spamd cache checksums and scores for the
last however many (say, 500?) spams?  That way, if the same message comes
through twice in that many messages, it doesn't have to run all the tests again.

I probably couldn't implement it myself, but it thought of it, so I figured I'd
see if anyone thought it was a good idea and wanted to run with it.

Dan.
Comment 1 Craig Hughes 2002-03-25 17:03:58 UTC
I think this will be so trivial it's not funny, once razor lets people run 
their own razor servers.  Then you could easily set up your own razor server to 
do this for you.  I don't see any real point in adding this functionality to SA.
Comment 2 Sean Harding 2002-03-25 20:16:40 UTC
It's likely not going to be as easy for people to run a Razor server as it is to
run Spamassassin. If folks feel that this is significantly helpful functionality
(I'm not sure whether or not it is), I don't think it's reasonable to require
people to set up and run a razor server to get it. This would be especially
difficult for people who want to run Spamassassin on their ISP's server.

If we really believe that this is only going to be useful for a small minority
of users, then I have no problem with relegating it to Razor. Otherwise, I think
that's a bad solution.
Comment 3 Charlie Watts 2002-03-26 03:32:43 UTC
I was in favor of client-side caching for SA and RAZOR for a while, but I'm 
mostly over it, unless somebody can show actual benchmarks that make it worth 
the complexity.

I agree with Craig, though. RAZOR is -exactly- what you've asked for - a way to 
checksum certain messages. What I might like to see when the razord source is 
available would be a way to specify -multiple- RAZOR servers and submit-
thresholds from SA.

If you are running spamassassin as `spamassassin`, a cache is a waste of time. 
The perl startup delay is what kills you.

If you are running spamc/spamd, then you probably have decent perms on the box, 
and running a RAZOR server wouldn't be difficult.

I'm curious to hear other thoughts, though.
Comment 4 Daniel Rogers 2002-03-26 07:05:10 UTC
While I agree that razor would do this, how long will it be before razord is
released?  I've been waiting since December, but for all I know, it could be out
tomorrow.

So, I guess the question is whether it's worth having this in spamd in the
meanwhile.

Dan.
Comment 5 Craig Hughes 2002-03-26 10:06:17 UTC
Subject: Re: [SAtalk]  Spam cache?

Well, you're going to have to use razor to calculate the message hash
anyway, why not use razor as the cache too?

Comment 6 Craig Hughes 2002-03-26 10:32:47 UTC
Subject: Re: [SAtalk]  Spam cache?

Best place to ask about how long till razord is on the razor-users
mailing list :)  Sorry Vipul

C