[Dovecot] last login time and host

2008-06-07 Thread Dmitry Pryadko
Hi. How can I write login name, timestamp and remote host address to MySQL database every time user connects? Now I run a daemon, which "tails" log file and parses output, but maybe that can be done more simply ? -- Dmitry Pryadko http://www.hc.ru smime.p7s Description: S/MIME Cryptographi

Re: [Dovecot] assertion after upgrading to 1.1rc7 from 1.1rc3

2008-06-07 Thread Nuno Lopes
Hi, this seems to have done it! I've applied the former patch as well as these ones to all our servers and haven't seen that error for over an hour. Thanks, -- Nuno Lopes Timo Sirainen wrote: > On Thu, 2008-06-05 at 15:01 +0100, Nuno Lopes wrote: > >> Hi, >> I'm getting this assertion a

[Dovecot] question: auth_bind and userdb

2008-06-07 Thread Matthias Ĺ ubik
Hi, this is my first post to the list, I'm not a member, please cc me directly. I'm converting from courier imap, and want to bring a special problem to your attention: I would like to use auth_bind and prefetch, b/c due to data security restriction the user information is only visible to

Re: [Dovecot] last login time and host

2008-06-07 Thread Timo Sirainen
On Sat, 2008-06-07 at 14:33 +0400, Dmitry Pryadko wrote: > Hi. > > How can I write login name, timestamp and remote host address to MySQL > database every time user connects? > Now I run a daemon, which "tails" log file and parses output, but maybe > that can be done more simply ? http://wiki.d

Re: [Dovecot] typo in failures.c

2008-06-07 Thread Timo Sirainen
On Fri, 2008-06-06 at 22:55 -0700, Kenneth Porter wrote: > --On Saturday, June 07, 2008 5:11 AM +0300 Timo Sirainen <[EMAIL PROTECTED]> > wrote: > > > I wish gcc warned about bad enum usages, it would have caught this. > > Wow, that surprised me that it lacked that, as I'm so used to it on > Wi

Re: [Dovecot] typo in failures.c

2008-06-07 Thread Anders
Kenneth Porter wrote: Wow, that surprised me that it lacked that, as I'm so used to it on Windows. But I mostly code in C++ there, so perhaps the conversion in C is legal? Yes, implicit int->enum conversion is allowed in C, but not C++. (TC++PL p. 817) (And implicit cast from void* to an