On 05/27/2010 05:23 PM, Bradley Giesbrecht wrote:
> On May 27, 2010, at 8:45 AM, Nathanael D. Noblet wrote:
>
>    
>> On 05/27/2010 09:11 AM, Bradley Giesbrecht 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?
>>>        
>> This would entirely depend on what is processing the forwarded mail. I
>> have a dspam-retrain script and it was had from a howto loooong ago. I
>> noticed that it stopped processing once it found one signature. It
>> would
>> be reacting the same way you describe. It would be trivial to make
>> sure
>> it goes over the entire message and processes each signature it finds.
>> What does your system use to process reclassification mail?
>>      
>
> Postfix pipe to dspamc.
>
> I use this postfix transport:
> dspam-retrain    unix    -    n    n    -    -    pipe
>       flags=Rhq user=_vmail:_vmail argv=/opt/local/bin/dspamc
>       --mode=toe
>       --class=${nexthop}
>       --source=error
>       --user ${sender}
>
>
> // Brad
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
>    


You might be able to pull what you want by piping the incoming message 
through grepmail* and then feeding each message/signature to dspam.


R's,

Hugo Monteiro.

* http://grepmail.sourceforge.net

-- 
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : hugo.monte...@fct.unl.pt
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                ap...@fct.unl.pt

fct.unl.pt:~# _


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

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

Reply via email to