On Mon, 27 Feb 2006, Ken Murchison wrote:
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.
Additionally, if you have "altnamespace: 1", then it should be "test"
instead of "INBOX/test".
Andy
----
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