>I would like to write a script that will 'pick" all the messages in a given >range of a given folder having a component like: > >X-Spam-Status: No, score=3.8 required=5.0 tests=HTML_MESSAGE,MIME_HTML_ONLY, > RAZOR2_CHECK,SPF_FAIL,SPF_HELO_PASS,T_REMOTE_IMAGE autolearn=disabled > version=3.3.1
David has already given you a complete answer ... but just FYI, at my workplace we get spam scores like: X-Mywork-Spam-Score: (*******) hits=7.5 And it makes it easy to match on a particular number of '*'. If you can modify your email server, that might be easier to deal with. --Ken _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
