> I guess it depends on what your Sieve code looks like? Or does it give
> the same error even if your script is only "keep;"?

It doesn't depend on the script. Even the simplest script "stop;" gives
this error. I added two debug strings to cmusieve_deliver_mail in
cmusieve-plugin.c:

if (getenv("DEBUG") != NULL) {
  i_info("cmusieve: Using mailbox: %s", mailbox);
  i_info("cmusieve: Using username: %s", username);
  i_info("cmusieve: Using sieve path: %s", script_path);
}

and here are some more details:

deliver([EMAIL PROTECTED]): Info: cmusieve: Using mailbox: test
deliver([EMAIL PROTECTED]): Info: cmusieve: Using username: [EMAIL PROTECTED]
deliver([EMAIL PROTECTED]): Info: cmusieve: Using sieve path:
/home/vmail/.dovecot.sieve
deliver([EMAIL PROTECTED]): Info: cmusieve: Executing script
/home/vmail/.dovecot.sievec
deliver([EMAIL PROTECTED]): Info: sieve runtime error: Keep: Generic Error

That is, if I send a message to [EMAIL PROTECTED], in cmusieve_deliver_mail()
the name of the mailbox is test. For normal address [EMAIL PROTECTED] it is 
INBOX:

deliver([EMAIL PROTECTED]): Info: cmusieve: Using mailbox: INBOX
deliver([EMAIL PROTECTED]): Info: cmusieve: Using username: [EMAIL PROTECTED]

Tested with dovecot 1.0.3 and dovecot-sieve 1.0.2.

Regards,
Gregory

Reply via email to