Sieve and regex (or sieve for specific folder)

Jukka Salmi j+asg at 2004.salmi.ch
Fri Aug 27 12:23:25 EDT 2004


Paul Dekkers --> info-cyrus (2004-08-27 16:39:40 +0200):
> if envelope :regex :detail "to" "(.*)" {
>        fileinto "archief.$1";
>        }

When I checked the last time (draft 7 IIRC), backreferences were not
supported by the regex extension. Unfortunately.
Yes, backreferences can be performance killers, but not if they save
many lines in a sieve script...


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list