Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Timo Sirainen
On 2.8.2013, at 16.18, Axel Luttgens wrote: > Le 2 août 2013 à 14:13, Timo Sirainen a écrit : > >> I'd just do: >> >> 1) start quota-status service by e.g. connecting to it via telnet >> >> 2) gdb -p `pidof quota-status` >> b hook_mail_user_created >> cont >> >> 3) recipient=user >> >> 4) do

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Axel Luttgens
Le 2 août 2013 à 14:13, Timo Sirainen a écrit : > I'd just do: > > 1) start quota-status service by e.g. connecting to it via telnet > > 2) gdb -p `pidof quota-status` > b hook_mail_user_created > cont > > 3) recipient=user > > 4) does it stop?.. if yes, keep hitting "s" to see if it goes to q

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Timo Sirainen
On Fri, 2013-08-02 at 10:30 +0200, Axel Luttgens wrote: > Le 1 août 2013 à 18:05, Timo Sirainen a écrit : > > > On 1.8.2013, at 19.02, Axel Luttgens wrote: > > > >> [...] > >> If yes, could it be that it is never called in my case? > > > > If not, then there's definitely some problem :) > > > >

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-02 Thread Axel Luttgens
Le 1 août 2013 à 18:05, Timo Sirainen a écrit : > On 1.8.2013, at 19.02, Axel Luttgens wrote: > >> [...] >> If yes, could it be that it is never called in my case? > > If not, then there's definitely some problem :) > >> [...] >> Could I try to break somewhere earlier in the call chain? > > It

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Timo Sirainen
On 1.8.2013, at 19.02, Axel Luttgens wrote: > Le 1 août 2013 à 14:29, Timo Sirainen a écrit : > >> And if you're still stuck with this, set a breakpoint to >> quota_mail_user_created and step through it to figure out why >> MODULE_CONTEXT_SET() isn't being called. > > Yes, still stuck. :-( >

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Axel Luttgens
Le 1 août 2013 à 14:29, Timo Sirainen a écrit : > And if you're still stuck with this, set a breakpoint to > quota_mail_user_created and step through it to figure out why > MODULE_CONTEXT_SET() isn't being called. Yes, still stuck. :-( Did you mean function quota_mail_user_created from quota-s

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-08-01 Thread Timo Sirainen
On 19.7.2013, at 16.02, Axel Luttgens wrote: > Le 18 juil. 2013 à 11:25, Axel Luttgens a écrit : > >> [...] >> It is to be noted that no lines in the log are related to possible problems >> encountered for launching [the dict server]. It is a bit as if quota_check() >> in src/plugins/quota/quo

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-19 Thread Axel Luttgens
Le 18 juil. 2013 à 11:25, Axel Luttgens a écrit : > [...] > It is to be noted that no lines in the log are related to possible problems > encountered for launching [the dict server]. It is a bit as if quota_check() > in src/plugins/quota/quota-status.c always immediately returned with 1 at the

Re: [Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-18 Thread Axel Luttgens
Hello, I ended my previous message with : > [...] > Q3. What am I doing wrong? > [...] Given the details discussed in another thread (http://www.dovecot.org/list/dovecot/2013-July/091309.html), I tried by changing the user_query's SELECT from: user_query = \ SELECT DISTINCT \

[Dovecot] 2.2.4 - Some questions about and needing help with quota-status

2013-07-16 Thread Axel Luttgens
Help! I'm stuck. :-( The config of my experimental setup appears at the end of this message; I'm providing hereafter some more info that may not be immediately obvious. This is dovecot 2.2.4 with changesets 9091d0f2d971 and 2be295a0b64f. All involved databases are sqlite ones. passdb and userd