3 Jul
2006
3 Jul
'06
8:36 a.m.
On 7/3/06, Peter Fern dovecot@obfusc8.org wrote:
Maildirs work fine, example:
require "fileinto";
# SPAM if header :comparator "i;ascii-casemap" :is "X-DSPAM-Result" "Spam" { fileinto "SPAM"; stop; }
Not sure if your doing more work than needed here...
if header :contains ["X-DSPAM-Result"] "Spam" { fileinto "Spam"; stop; }
This does exactly the same as what yours does, and I'm not sure how it would compare in resources or not, but it's certainly easier to write! ;-)
Tim
Linux Counter user #273956