Lars, that's not quite valid. Try replacing the %u with %llu instead of %d
Lars Kneschke wrote: > "Paul J Stevens" schrieb: >> Lars, >> >> it works again. >> >> Paul J Stevens wrote: >>> Oops. something wrong with the envelope response. I'm on it. >>> >>> Paul J Stevens wrote: >>>> Lars, >>>> >>>> I'm unable to reproduce this on rev 2484. > > Hello Paul! > > It still did not work for us. Maybe it has something todo with running > dbmail on solaris. > > Following patch did solve the problem for us: > > --- dbmail-imapsession.c-org 2007-03-27 13:38:33.000000000 +0200 > +++ dbmail-imapsession.c 2007-03-27 13:38:54.000000000 +0200 > @@ -1632,7 +1632,7 @@ > > mailbox_t mb; > GTree *oldmsginfo, *msginfo = NULL; > - u64_t exists, recent; > + int exists, recent; > imap_userdata_t *ud = (imap_userdata_t *) self->ci->userData; > if (update) { > memset(&mb, 0, sizeof (mailbox_t)); > @@ -1657,9 +1658,9 @@ > } > /* msg counts */ > if ((!update) || (ud->mailbox.exists < mb.exists)) // only increments > - dbmail_imap_session_printf(self, "* %u EXISTS\r\n", exists); > + dbmail_imap_session_printf(self, "* %d EXISTS\r\n", exists); > if ((!update) || (ud->mailbox.recent != mb.recent)) > - dbmail_imap_session_printf(self, "* %u RECENT\r\n", recent); > + dbmail_imap_session_printf(self, "* %d RECENT\r\n", recent); > > if (msginfo) { > oldmsginfo = self->msginfo; > > > > -- > Lars Kneschke > Metaways Infosystems GmbH > Pickhuben 2-4, D-20457 > Hamburg > > eGroupWare Training & Support ==> > http://www.egroupware-support.net > > E-Mail: > mailto:[EMAIL PROTECTED] > Web: http://www.metaways.de > Tel: +49 (0)40 > 317031-21 > Fax: +49 (0)40 317031-81 > Mobile: +49 (0)175 9304324 > > Metaways > Infosystems GmbH - Sitz: D-22967 Tremsbüttel > Handelsregister: Amtsgericht > Ahrensburg HRB 4508 > Geschäftsführung: Hermann Thaele, Lüder-H.Thaele > > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > -- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://twister.fastxs.net/mailman/listinfo/dbmail-dev