Re: [Dovecot] recipient delimiter results in sieve errors

2007-09-22 Thread Gregory Mokhin
> Well, I'm confused. Did you want mok+test@ to deliver to "mok" user and > "test" mailbox? If not, what did you want the "+" delimiter to do then? > I wanted to use amavis feature to auto-add +spam, +badh etc. to the addresses, including those relayed to non-local recipients. The message to mok+t

Re: [Dovecot] recipient delimiter results in sieve errors

2007-09-22 Thread Timo Sirainen
On Sat, 2007-09-22 at 18:49 +0400, Gregory Mokhin wrote: > > On Sun, 2007-09-09 at 17:56 +0400, Gregory Mokhin wrote: > > > >> deliver([EMAIL PROTECTED]): Info: cmusieve: Using mailbox: test > >> deliver([EMAIL PROTECTED]): Info: cmusieve: Using username: [EMAIL > >> PROTECTED] > >> deliver([EMAIL

Re: [Dovecot] recipient delimiter results in sieve errors

2007-09-22 Thread Gregory Mokhin
> On Sun, 2007-09-09 at 17:56 +0400, Gregory Mokhin wrote: > >> 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.s

Re: [Dovecot] recipient delimiter results in sieve errors

2007-09-22 Thread Timo Sirainen
On Sun, 2007-09-09 at 17:56 +0400, Gregory Mokhin wrote: > > 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 st

Re: [Dovecot] recipient delimiter results in sieve errors

2007-09-09 Thread Gregory Mokhin
> 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("D

Re: [Dovecot] recipient delimiter results in sieve errors

2007-09-08 Thread Timo Sirainen
On Mon, 2007-09-03 at 05:53 +0400, Gregory Mokhin wrote: > 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]>: save

[Dovecot] recipient delimiter results in sieve errors

2007-09-02 Thread Gregory Mokhin
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