james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ketanbparekh <tabho_2...@yahoo.com>
Subject Question regarding execution of sieve scripts
Date Tue, 03 Jul 2007 18:07:34 GMT

Hi all,

I have a question regarding execution of seive script. Below is an example
of sieve script.


if header :contains ["To"] ["user3@a3-ketanp"] 
{ 

        redirect "user2@a3-ketanp"; 
} 

if header :matches "Subject" ["*money*","*Viagra*"]{ 

        reject "Don't send Spam Mails."; 
        
} 

if header :contains "Subject" ["*gozilla*","*Viagra*","*spam*","*virus*"]{ 

        redirect "user4@a3-ketanp"; 
} 

if header :contains "Subject" ["*spiderman*","*Viagra*","*spam*","*virus*"]{ 

        forward "user4@a3-ketanp"; 
} 



1) I a mail contains subject Viagra then action reject is invoked since it
is first but sieve script also contains action redirect so if the subject
contains Viagara then Does sieve script should also invoke redirect after
reject action is invoked. ?

2) Can more than one actions be invoked for a mail. Eg if one action is
invoked then other actions are not invoked?





thanks, 
Ketan.B.Parekh 


-- 
View this message in context: http://www.nabble.com/Question-regarding-execution-of-sieve-scripts-tf4020019.html#a11417721
Sent from the James - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message