On Sun, 2006-02-26 at 06:37 +0300, Oleg Lapshin wrote:

> As I said, problems begun with revision 1992
> For me, revision 1991 works fine.
> Revision 1993 has problem:
> 
> I run dbmail-imapd. In my kmail there are two accounts.
> I check mail for 1st account - good
> then, I check mail for 2nd account - and dbmail-imapd hangs
> (check mail for two accounts at the same time)
> 
> I did some experiments, resilts:
> 
> I have sources tree with revisions 1991 and 1993
> then, I copy files acinclude.m4 and configure.in from 1991 tree to 1993 tree
> then, run (for 1993 tree):
> 
> autoreconf -f -i
> configure --with-mysql --with-sieve
> make install
> 
> and run daemons:
> dbmail-imapd
> dbmail-lmtpd
> dbmail-timsieved
> 
> and they work!
> So, I think, that problem in autotools...

The changes I made were to default to shared builds, and to make shared
and static mutually exclusive. See if the most recent checkout has
different behavior for you if you use ./configure --enable-shared
vs. ./configure --enable-static.

[snip]
> OK.
> I comment lines 625 and 680 (db_free_result(); in both) in db.c, then
> make && make install
> and timsieved begin to update scripts.
>
> b_free_result(); before db_get_result_int(0,0) - I think, this is incorrect

Yep, stupid me. Fixed.

> PS. Aaron. sorry, but I didn't do my tests with libsieve from cvs.
> But now I run dbmail-revision-1993 and libsieve from cvs
> 
> As I notice at this moment:
> mail from: <>
> mail from: <test>
> don't work:

I just put libSieve 2.1.10 out. I kept checking that libSieve would
handle a NULL value from the getenvelope callback. But it's not NULL,
it's "" (zero length string). It was exploding the parser. Fixed.

Aaron

Reply via email to