Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: dev

Anybody ever use rspamd?

 

 

exim dev RSS feed   Index | Next | Previous | View Threaded


tlyons at ivenue

Aug 7, 2012, 6:31 AM

Post #1 of 4 (318 views)
Permalink
Anybody ever use rspamd?

So I saw on a Freecode daily email that a new release of rspamd was
available. It claims to have 10x better performance than spamassassin
with the same rules. Has anybody ever used it?

This patch is in their source to get it working with exim:
https://bitbucket.org/vstakhov/rspamd/src/649c61b89b43/contrib/exim/patch-exim-src_spam.c.diff

It looks like good code to me, so with a little bit of #ifdef we could
make rspam vs spamassassin a compile time setting. Or maybe add a new
"rspam" condition that calls this code instead of the existing "spam"
condition code.

Comments?

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


eximX0902w at linuxwan

Aug 7, 2012, 5:31 PM

Post #2 of 4 (315 views)
Permalink
Re: Anybody ever use rspamd? [In reply to]

On 07/08/12 23:31, Todd Lyons wrote:
> So I saw on a Freecode daily email that a new release of rspamd was
> available. It claims to have 10x better performance than spamassassin
> with the same rules. Has anybody ever used it?
>
> This patch is in their source to get it working with exim:
> https://bitbucket.org/vstakhov/rspamd/src/649c61b89b43/contrib/exim/patch-exim-src_spam.c.diff
>
> It looks like good code to me, so with a little bit of #ifdef we could
> make rspam vs spamassassin a compile time setting. Or maybe add a new
> "rspam" condition that calls this code instead of the existing "spam"
> condition code.
>
> Comments?
>
> ...Todd

Never used it, but it certainly looks interesting. I've added it to my
"test asap" list, but that's a loooong list ;)

The spamc protocol has been expanded to include a number of other
indicators that can be passed to the rspamd daemon like the ip and helo,
but for the most part looks to be a straight slot-in replacement.

Except for those added bits, and only at a casual glance, the existing
spamassassin would need very little modification as shown by their patch.

Their provided patch doesn't allow for side by side use as it replaces
the existing spamc implementation, including keyword. It also add a new
function "push_line" which doesn't seem to fit with how any of the other
strings or communications are handled in exim. I'd be more comfortable
with it using the current exim functions, but then again, perhaps their
method is more up to date and the rest of exim should be updated too.

The claim that it is 10 times faster than SpamAssassin would be an
awesome start. If it was equally memory efficient it would be even
better. I did find some concern voiced about whether the rspamd was able
to be using uncredited SA rules and be licensed differently than SA.
Those were from 2009 though and I haven't looked to see if anything has
changed.

Ted.

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


pdp at exim

Aug 7, 2012, 6:14 PM

Post #3 of 4 (315 views)
Permalink
Re: Anybody ever use rspamd? [In reply to]

On 2012-08-07 at 06:31 -0700, Todd Lyons wrote:
> So I saw on a Freecode daily email that a new release of rspamd was
> available. It claims to have 10x better performance than spamassassin
> with the same rules. Has anybody ever used it?

No.

> This patch is in their source to get it working with exim:
> https://bitbucket.org/vstakhov/rspamd/src/649c61b89b43/contrib/exim/patch-exim-src_spam.c.diff

It appears to be under a BSD-ish with-advertising license. Although the
changes are simple, it would be polite to drop a note to the author,
asking if it's okay to pull his changes into the GPL'd Exim (and then we
add to the ACKNOWLEDGMENTS file).

> It looks like good code to me, so with a little bit of #ifdef we could
> make rspam vs spamassassin a compile time setting. Or maybe add a new
> "rspam" condition that calls this code instead of the existing "spam"
> condition code.

Compile-time would be a last resort, IMO. rspam is nice, slightly nicer
is a protocol variant option. Either spamd_options in the main config
section, to go with spamd_address, or a /modifier for the spam ACL
condition, much like the /modifiers on malware checks, etc.

"variant=rspam"? Or just "rspam"?

I leave the decision on syntax to those doing the work.

-Phil

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##


eximusers at downhill

Aug 8, 2012, 10:06 AM

Post #4 of 4 (307 views)
Permalink
Re: Anybody ever use rspamd? [In reply to]

On 2012-08-08 Phil Pennock <pdp [at] exim> wrote:
[...]
> It appears to be under a BSD-ish with-advertising license.
[...]

Actually afaict it is BSD-2-clause, not the (GPL incompatible) version
with advertising clause. ;-)

cu andreas

--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##

exim dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.