Re: Sieve and regex (or sieve for specific folder)

2004-08-28 Thread Ken Murchison
Paul Dekkers wrote: Hi, Ken Murchison wrote: For our (about 200) archive-folders we currently have a procmail-script (on our old server) that I want to migrate to sieve (for the new servers ;-)). Basicly, the functionality of the procmail-script comes down to: if envelope :detail "to" "blabla"

Re: Sieve and regex (or sieve for specific folder)

2004-08-28 Thread Paul Dekkers
Hi, Ken Murchison wrote: For our (about 200) archive-folders we currently have a procmail-script (on our old server) that I want to migrate to sieve (for the new servers ;-)). Basicly, the functionality of the procmail-script comes down to: if envelope :detail "to" "blabla" { fileinto "ar

Re: Sieve and regex (or sieve for specific folder)

2004-08-27 Thread Ken Murchison
Paul Dekkers wrote: Hi, For our (about 200) archive-folders we currently have a procmail-script (on our old server) that I want to migrate to sieve (for the new servers ;-)). Basicly, the functionality of the procmail-script comes down to: if envelope :detail "to" "blabla" { fileinto "arch

Re: Sieve and regex (or sieve for specific folder)

2004-08-27 Thread Jukka Salmi
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 performanc

Sieve and regex (or sieve for specific folder)

2004-08-27 Thread Paul Dekkers
Hi, For our (about 200) archive-folders we currently have a procmail-script (on our old server) that I want to migrate to sieve (for the new servers ;-)). Basicly, the functionality of the procmail-script comes down to: if envelope :detail "to" "blabla" { fileinto "archive.blabla"; }