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 [EMAIL PROTECTED]
#Generated by [EMAIL PROTECTED] using SmartSieve 0.5.2 2006/02/27
16:10:24
require ["fileinto"];
redirect "[EMAIL PROTECTED]";
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&&[EMAIL PROTECTED]&&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
----
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