Hello,

I'm using dovecot 1.0.3 and Dovecot Sieve plugin 1.0.2. Sieve script works
fine with normal addresses, like [EMAIL PROTECTED], and messages marked with
"X-Spam-Flag: YES" are delivered directly to INBOX.Spam.

To make deliver understand recipient_delimiter I tried two methods, the
first one as per wiki (tweaking postfix master.cf), and the second one by
tweaking dovecot-sql.conf (the main idea is to use
concat(substring_index('%n',"+',1),'@','%d') for the username). Both
methods work good.

However when deliver processes sieve script for the addresses with a
delimiter, [EMAIL PROTECTED], there is an error:

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
deliver([EMAIL PROTECTED]): Error:
sieve_execute_bytecode(/home/vmail/.dovecot.sievec) failed
deliver([EMAIL PROTECTED]): Info: msgid=<[EMAIL PROTECTED]>: saved mail to INBOX

In that case message is delivered to INBOX, not to INBOX.Spam

Regards,
Gregory

Reply via email to