[imp] Sieve filtering ... any progress? (YES)

Atif Ghaffar aghaffar@developer.ch
Sat, 30 Mar 2002 20:49:46 +0100


Mathieu Arnold wrote:
> 
> --On vendredi 29 mars 2002 16:55 -0400 "Marc G. Fournier" 
> <scrappy@hub.org> wrote:
> 
>>
>> I'm following -HEAD here also, but am definitely eager to see sieve
>> filtering available through a 'clean' interface ...
>>
> 
> yup, and an interface which allows editing the script directly, because 
> I can't find anything that can do things like :
> 
> elsif header :contains "Sender" "@sunroof.eng.sun.com" {
>  if header :contains "Sender" "owner-mobile-ip@sunroof.eng.sun.com" {
>    fileinto "INBOX.Lists.sunroof-eng-sun-com.mobile-ip";
>    stop;
>  }
>  elsif header :contains "Sender" "ipng@sunroof.eng.sun.com" {
>    fileinto "INBOX.Lists.sunroof-eng-sun-com.ipng";
>    stop;
>  }
>  stop;
> }
> 
Whats the difference between that and

if header :contains "Sender" "owner-mobile-ip@sunroof.eng.sun.com" {
	fileinto "INBOX.list1";
		stop;
}
elseif header :contains "Sender" "ipng@...." {
	fileinto "INBOX.listx";
		stop
}

This is what the current version does.


> :)
> 



-- 
Atif Ghaffar
---------------------------.
           +41 78 845 31 64 ¦ tel
     aghaffar@developer.ch  ¦ email
     http://atifghaffar.com ¦ www
                    8206786 ¦ icq