[Dovecot] Dovecot 2.0beta5 Quota/Dict

Henrique Fernandes sf.rique at gmail.com
Sat May 15 17:56:20 EEST 2010


To get mny server to work i have to change de permissions like this,

     sleep 1
     chmod 777 /var/run/dovecot/auth-userdb
     chmod 777 /var/run/dovecot/dict


But about this i guess is just miss configuration

i am gonna test the new code today! I dowloaded from mercurial!


[]'sf.rique


On Sat, May 15, 2010 at 7:53 AM, Robert Schetterer <robert at schetterer.org>wrote:

> Am 15.05.2010 01:48, schrieb Henrique Fernandes:
> > thanks, i will see!
> >
> > I am using beta5 not the trunk one!
> >
> > I am already testing for a production envirement, cause i guess the
> realese
> > will be at same time i need to go production!
>
> same situation here, i upgraded my test server to dove2  ( trunks
> version ) yesterday, hoping use dove2 in production servers soon
> found same Problem here, caused by lmtp transport with quota sql dict
> looks like permission problem reading dict socket,
> it worked with lda deliver and virtual user ,
> but lmtp comes with user postfix, no i found no solution with changing
> dict setup ( mode user etc )
>
> your patch does not match clean to trunk
> so perhaps Timo should include it in the trunk after revision
>
> >
> >
> > []'sf.rique
> >
> >
> > On Fri, May 14, 2010 at 6:51 PM, Robert Schetterer <
> robert at schetterer.org>wrote:
> >
> >> Am 14.05.2010 23:05, schrieb e-frog:
> >>
> >>  On 14.05.2010 22:54, wrote Andrey Melnikoff:
> >>>
> >>>> In article<4BEDB367.8030004 at gmx.de>  you wrote:
> >>>>
> >>>>> On 14.05.2010 22:12, wrote Henrique Fernandes:
> >>>>>
> >>>>
> >>>>  May 14 17:03:40 dict: Panic: file driver-mysql.c: line 482
> >>>>>>> (transaction_send_query): assertion failed: (rows !=
> (my_ulonglong)-1)
> >>>>>>>
> >>>>>>
> >>>>  The patch in
> >>>>>         http://www.dovecot.org/list/dovecot/2010-May/048705.html
> >>>>> fixed this for me.
> >>>>>
> >>>>
> >>>> For 2.0.b5 need slightly other patch:
> >>>> --- dovecot-2.0.beta5/src/lib-sql/driver-mysql.c~       2010-05-05
> >>>> 21:20:17.000000000 +0400
> >>>> +++ dovecot-2.0.beta5/src/lib-sql/driver-mysql.c        2010-05-05
> >>>> 21:20:17.000000000 +0400
> >>>> @@ -479,7 +479,9 @@
> >>>>                 struct mysql_db *db = (struct mysql_db *)result->db;
> >>>>
> >>>>                 rows = mysql_affected_rows(db->mysql);
> >>>> -               i_assert(rows != (my_ulonglong)-1);
> >>>> +               if (mysql_errno(db->mysql))
> >>>> +                       i_assert(rows != (my_ulonglong)-1);
> >>>> +               else rows = 0;
> >>>>                 *ctx->ctx.head->affected_rows = rows;
> >>>>         }
> >>>>         sql_result_unref(result);
> >>>>
> >>>>
> >>> Oh, yes correct. Thanks!
> >>>
> >>
> >> hm does not look like its allready in
> http://hg.dovecot.org/dovecot-2.0/
> >> am i right ?
> >>
> >>
> >
>
>
> --
> Best Regards
>
> MfG Robert Schetterer
>
> Germany/Munich/Bavaria
>


More information about the dovecot mailing list