On May 28, 2010, at 10:25 AM, Stevan Bajić wrote:

> On Fri, 28 May 2010 06:23:16 -0700, Bradley Giesbrecht
> <bradley.giesbre...@gmail.com> wrote:
>> On May 27, 2010, at 12:16 PM, Stevan Bajić wrote:
>>
>>> On Thu, 27 May 2010 08:11:46 -0700
>>> Bradley Giesbrecht <bradley.giesbre...@gmail.com> wrote:
>>>
>>>> I do not have dspam signature in message body, only in header.
>>>>
>>>> Using Apple Mail.app I set my preferences to show "X-*" headers.
>>>>
>>>> If I forward normally to dspam for retraining the headers and body
>>>> are
>>>> quoted in the forward and sum(dspam_stats.spam_misclassified) does
>>>> not
>>>> change.
>>>> If I forward as an attachment to  
>>>> sum(dspam_stats.spam_misclassified)
>>>> is increased by 1.
>>>> If I select 10 messages and forward as attachments
>>>> sum(dspam_stats.spam_misclassified)  is increased by 1.
>>>>
>>>> Does anyone know if it works to forward multiple email as  
>>>> attachments
>>>> to dspam for retraining?
>>>>
>>> Some time ago I have coded for someone on the DSPAM mailing list a
>>> code in Perl that is able to extract multiple signatures and retrain
>>> all of them. If you want I can quickly search for the script or
>>> quickly write you one. It should be no big time investment creating
>>> such a retraining script. Let me know if you want one.
>>
>> That would be nice, please send one.
>>
> I sent you already the output I got when processing those  
> attachments you
> sent me. Is the result what you are expecting?

Yes, perfect.

>> Is the dspam signature the only info from the email that dspam need
>> for retraining?
>>
> Yes if you don't have set in dspam.conf to train in pristine format.

Ok, that's good to know.

>> I want to send the user a summery report of spam messages with links
>> for retraining and I wondering if I could just drop the dspam
>> signature in the body of a new message for retraining.
>>
> Have a look at src/tools/dspam_notify in DSPAM source or at  
> dspam_notify
> after you have installed DSPAM. You will see there that you could  
> just use
> the signature for retraining. The dspam_notify script however uses the
> DSPAM Web-UI for retraining. You could implement other methods for
> retraining. The possibilities are endless. Just some small coding/ 
> scripting
> and that's it. :)

Thanks, I will look at dspam_notify for ideas.

// Brad


------------------------------------------------------------------------------

_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to