[ sieve ] - script activated but not processed.

Ken Murchison murch at andrew.cmu.edu
Mon Feb 27 13:23:30 EST 2006


Joel CARNAT wrote:
> Hi,
> 
> I have enable sieve on my Cyrus-IMAP 2.2.12 server.
> I can create and activate script via sieveshell, squirrelmail/sieve
> plugin and smartsieve, but thoses script seem no to be processed by the
> cyrus delivery agent :( The mail is delivered in INBOX.
> 
> In the logs, I can see "sieve login" when using sieveshell or PHP editor
> but nothing when delivering emails.
> 
> As a example, here my "test script" :
> ########################################################################
> #Mail filter rules for joel.carnat at here.com
> #Generated by joel.carnat at here.com using SmartSieve 0.5.2 2006/02/27
> 16:10:24
> require ["fileinto"];
> 
> redirect "jcarnat at here.net";
> 
> if anyof (header :contains "subject" "test") {
>         fileinto "INBOX/test";
> }
                     ^^^^^^^^^^^

Unless you have unixhierarchysep enabled in imapd.conf, the mailbox 
should be "INBOX.test".  Also, make sure that "INBOX.test" exists.


> 
> ##PSEUDO script start
> #rule&&1&&ENABLED&&&&&&&&address&&jcarnat at here.net&&0&&&&&&
> #rule&&3&&ENABLED&&&&&&test&&folder&&INBOX/test&&4&&&&&&
> #mode&&basic
> ########################################################################
> 
> sieveshell says :
> ########################################################################
> 
>>list
> 
> phpscript
> test  <- active script
> 
> ########################################################################
> 
> my imapd.conf has:
> ########################################################################
> sievedir: /home/sieve
> sieveusehomedir: false
> sieve_maxscriptsize: 32
> sieve_maxscripts: 5
> sievenotifier: log
> ########################################################################
> 
> my cyrus.conf has:
> ########################################################################
>   # add or remove based on preferences
>   imap          cmd="imapd" listen="imap" prefork=0
>   imaps         cmd="imapd -s" listen="imaps" prefork=0
>   pop3          cmd="pop3d" listen="pop3" prefork=0
>   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve         cmd="timsieved" listen="sieve" prefork=0
> ########################################################################
> 
> Anyone thinks of something I forgot ?
> 
> TIA,
> 	Jo
> 
> 
> ------------------------------------------------------------------------
> 
> ----
> 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


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list