nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Selecting messages with a range of Spam scores


From: Andy Bradford
Subject: Re: [Nmh-workers] Selecting messages with a range of Spam scores
Date: 21 Feb 2015 11:11:18 -0700

Thus said address@hidden on Sat, 21 Feb 2015 07:22:25 -0800:

> Your  reply strong  suggests that  there is  presently no  nmh way  of
> extracting the content of a component, taking account of multi-lined ,
> MIME stuff, etc.

For  this, I  typically rely  on 822field  (from mess822[1])  which will
easily handle multi-line headers:

$ pick --X-Spam-Status score= | xargs mhpath | head -1 | while read x; do 
printf '%s\t%s\n' "$x" "`822field X-Spam-Status < $x`"; done
/home/amb/Mail/inbox/884         No, score=5.5 required=8.0 
tests=ALL_TRUSTED,BAYES_50, 
DCC_CHECK_NEGATIVE,HTML_MESSAGE,TVD_RCVD_IP,T_XMDrugObfuBody_08,TooManyTo_001,  
TooManyTo_002,TooManyTo_003,TooManyTo_004,TooManyTo_005,XMBlogspot,    
XMSolicitRefs_0,XMSubMetaSx_00 autolearn=disabled version=3.3.2

[1] http://cr.yp.to/mess822.html

Andy
-- 
TAI64 timestamp: 4000000054e8ca69





reply via email to

[Prev in Thread] Current Thread [Next in Thread]