SA Bugzilla – Bug 128
Spam cache?
Last modified: 2002-03-25 22:05:10 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.
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.
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.
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.
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.
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?
Subject: Re: [SAtalk] Spam cache? Best place to ask about how long till razord is on the razor-users mailing list :) Sorry Vipul C