[Dovecot] Problem with INTERNALDATE when the year in localtime and GMT different

2009-07-21 Thread 도원철
In my thought utc_offset function in src/lib/utc-offset.c returns wrong offset value when the year in localtime and GMT different. /* max offset of 24 hours */ if (ltm.tm_yday gtm.tm_yday) offset = -24 * 60; else if (ltm.tm_yday gtm.tm_yday) offset = 24 * 60; else offset = 0; I think

Re: [Dovecot] quota bug

2009-07-21 Thread Amr Shahin
oh, my bad the user has unlimited quota that's why the response is different from what im used to get ( but it still complies to the RFC ) thanks for the help On Mon, Jul 20, 2009 at 9:33 AM, Amr Shahin amrnab...@gmail.com wrote: Hello, please find this log from dovecot server * OK Dovecot

Re: [Dovecot] [Bug] dovecot deliver v1.2.1 segfaults

2009-07-21 Thread Stephan Bosch
Nikita Koshikov wrote: On Mon, 20 Jul 2009 15:24:40 -0400 Timo Sirainen t...@iki.fi wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7ec4713 in strlen () from /lib/libc.so.6 (gdb) bt #0 0xb7ec4713 in strlen () from /lib/libc.so.6 #1 0xb7e0d742 in

Re: [Dovecot] [Bug] dovecot deliver v1.2.1 segfaults

2009-07-21 Thread Nikita Koshikov
On Tue, 21 Jul 2009 12:50:05 +0200 Stephan Bosch step...@rename-it.nl wrote: Nikita Koshikov wrote: On Mon, 20 Jul 2009 15:24:40 -0400 Timo Sirainen t...@iki.fi wrote: Program received signal SIGSEGV, Segmentation fault. 0xb7ec4713 in strlen () from /lib/libc.so.6 (gdb) bt #0

[Dovecot] plugin devel

2009-07-21 Thread fernando
Hi, I´m planning to change our maildrop lda to deliver, but I need to devel a plugin in order to have some custom filtering. Are there any documentation regarding how to develop a dovecot plugin - tips, tricks, etc ? Thanks, Fernando

Re: [Dovecot] plugin devel

2009-07-21 Thread Marcus Rueckert
On 2009-07-21 10:13:23 -0300, ferna...@dfcom.com.br wrote: I´m planning to change our maildrop lda to deliver, but I need to devel a plugin in order to have some custom filtering. Are there any documentation regarding how to develop a dovecot plugin - tips, tricks, etc ? you need anything

[Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Chris O'Regan
I have limited information at the moment (currently distracted by other projects) but I'm hoping that someone has already found and solved this problem. I have a v1.2.1 installed on my development box waiting for me to tinker with the configuration. On several occasions, I have noticed that all

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Timo Sirainen
On Tue, 2009-07-21 at 14:45 -0400, Chris O'Regan wrote: I have a v1.2.1 installed on my development box waiting for me to tinker with the configuration. On several occasions, I have noticed that all the dovecot processes are listed as defunct. I don't recall seeing anything significant in the

Re: [Dovecot] Problem with INTERNALDATE when the year in localtime and GMT different

2009-07-21 Thread Timo Sirainen
On Tue, 2009-07-21 at 16:08 +0900, 도원철 wrote: In my thought utc_offset function in src/lib/utc-offset.c returns wrong offset value when the year in localtime and GMT different. .. I think this code should be modified as followings. Thanks, committed to hg. And I forgot to mention your name

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Chris O'Regan
On Tue, 2009-07-21 at 15:08 -0400, Timo Sirainen wrote: On Tue, 2009-07-21 at 14:45 -0400, Chris O'Regan wrote: I have a v1.2.1 installed on my development box waiting for me to tinker with the configuration. On several occasions, I have noticed that all the dovecot processes are listed as

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Timo Sirainen
On Tue, 2009-07-21 at 15:32 -0400, Chris O'Regan wrote: What exactly is all? Do you mean just dovecot-auth processes, or do you really mean everything, including imap-login, dovecot-auth, imap, pop3, ..? If it's only dovecot-auth processes, it's probably a PAM issue. If it's more than

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Timo Sirainen
On Tue, 2009-07-21 at 16:25 -0400, Chris O'Regan wrote: # parent dovecot process Process 2904 attached - interrupt to quit write(9, \21\0\0\0\0\0\0\0\1\0\0\0\253\33\0\0\1\1\0\0\0\0\0\0\2..., 128 unfinished ... Process 2904 detached Interesting. The dovecot master process is stuck. What fd is

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Timo Sirainen
On Tue, 2009-07-21 at 16:28 -0400, Timo Sirainen wrote: On Tue, 2009-07-21 at 16:25 -0400, Chris O'Regan wrote: # parent dovecot process Process 2904 attached - interrupt to quit write(9, \21\0\0\0\0\0\0\0\1\0\0\0\253\33\0\0\1\1\0\0\0\0\0\0\2..., 128 unfinished ... Process 2904 detached

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Timo Sirainen
On Tue, 2009-07-21 at 16:25 -0400, Chris O'Regan wrote: # parent dovecot process Process 2904 attached - interrupt to quit write(9, \21\0\0\0\0\0\0\0\1\0\0\0\253\33\0\0\1\1\0\0\0\0\0\0\2..., 128 unfinished ... Process 2904 detached This should fix it:

Re: [Dovecot] Defunct processes w/ v1.2.1

2009-07-21 Thread Chris O'Regan
On Tue, 2009-07-21 at 17:16 -0400, Timo Sirainen wrote: On Tue, 2009-07-21 at 16:25 -0400, Chris O'Regan wrote: # parent dovecot process Process 2904 attached - interrupt to quit write(9, \21\0\0\0\0\0\0\0\1\0\0\0\253\33\0\0\1\1\0\0\0\0\0\0\2..., 128 unfinished ... Process 2904 detached

[Dovecot] Newbie: unable to access mailbox more than once

2009-07-21 Thread Matt Petoe
Hello, I'm using dovecot as a mail relay so that I can back up my providers IMAP mail locally. I'm impressed how easy this was to set up, but I'm having a quirk that I would like help with, if possible. There are many weak links in my set-up chain, if you will, but I think I've narrowed the