On Fri, 20 May 2011 14:13:02 +0200, Stevan Bajić wrote: > On Fri, 20 May 2011 04:45:35 -0700 (PDT), Colin Brace wrote: >> Hi all, >> > Hello Colin,
Hi there, mind if I join ? :) >> One thing that was mucking things up for me was the default >> configuration >> file for the mark-as-junk button plugin for Roundcube mail supplied >> a >> broken >> parameter to pass the signature of a message to dspam for >> retraining. >> dspam >> accordingly generated errors and was unable to reprocess the >> message. >> Simply >> deleting "--signature=%xds" from its config file fixed things. Why >> it >> was >> doing this in the first place perplexed me, as the current version >> of >> dspam >> can obtain the signature from the header without the --signature= >> parameter. >> > That is true but the point is that if you configure the Roundcube > Anti-Spam plugin to use the signature then you save yourself a lot > of > processing time by extracting the signature from the header before > calling DSPAM and then calling DSPAM with just the signature instead > of > passing the whole message back to DSPAM and let DSPAM extract the > signature for you. > When I wrote the modification to markasjunk2 (and when Stevan fixed my code because I really suck at coding :p), the initial idea was to use the dspam command line for retraining. In my particular need, the DSPAM system is on a different machine than roundcube. So I use a dspam command wrapped into a SSH call with a public key that connects from the Roundcube machine to the Dspam server and execute the retraining command with the signature. In this case, it is a hell of a lot easier to just have Roundcube parse the headers, get the signature, put that in a command line and send it to Dspam. And it's been working flawlessly on my systems for a few months now :) Julien ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user