Re: [Dbmail-dev] libsieve-2.1.8

2006-02-19 Thread Aaron Stone
On Fri, 2006-02-17 at 22:21 +0300, Oleg Lapshin wrote: > Then, sort_getenvelope function returns correct value to libsieve. > But nothing happened. > I think, that libsieve don't execute > if envelope :detail "to" "spam1" { > command in sieve-script. This is a bug in libSieve. I'll work

Re: [Dbmail-dev] libsieve-2.1.8

2006-02-17 Thread Aaron Stone
On Fri, 2006-02-17 at 22:21 +0300, Oleg Lapshin wrote: > - dbmail_message_set_header(msg, "Return-Path", from->data); > + dbmail_message_set_header(msg, "Return-Path", (char *) > (dm_list_getstart(&from)->data)); That's a correct fix. > Then, sort_getenvelope function returns correct value to li

Re: [Dbmail-dev] libsieve-2.1.8

2006-02-17 Thread Aaron Stone
On Fri, 2006-02-17 at 09:18 -0800, Aaron Stone wrote: > On Fri, 2006-02-17 at 19:51 +0300, Oleg Lapshin wrote: > > I found in sv_parser/sieve.c: > > > > } else if (!strcmp("envelope", req)) { > > if (c->callbacks.getenvelope) > > c->support.envelope = 1; > > return

Re: [Dbmail-dev] libsieve-2.1.8

2006-02-17 Thread Aaron Stone
On Fri, 2006-02-17 at 19:51 +0300, Oleg Lapshin wrote: > I found in sv_parser/sieve.c: > > } else if (!strcmp("envelope", req)) { > if (c->callbacks.getenvelope) > c->support.envelope = 1; > return c->support.reject; > > May be there must be: > return c->su