On Wednesday 24 June 2009 22:41:00 Steven W. Orr wrote: > On 06/24/09 16:15, quoth René Berber: > > Steven W. Orr wrote: > > > > [snip] > > There is something close: have you seen the Habu plugin? > > > > Its used to report spam (to SpamCop for instance), it works by sending > > anything you marked as spam as attachments in a report. I don't know if > > it is open source so changing it, adding the report back to your own > > program, would be possible. > > I saw that but what's missing is the ability to run sa-learn to get the > retraining to work. > > I'm also looking at an alias in sendmail to pipe the message to a script. > That script can do what I already do, i.e., sa-learn plus the forward > operation. To accomplish this, I found an addon to TB called Mail Redirect > that will allow me to "bounce" the message to the alias (instead of > forwarding it.
You may try sal-wrapper.pl (see: https://po2.uni-stuttgart.de/~rusjako/sal- wrapper) as the pipe Script. You forward a message as an attachment to the alias and the script will unpack the message and feed it to sa-learn. Greetings Stefan