Re: [Dovecot] quick question

2010-02-06 Thread Timo Sirainen
On Sat, 2010-02-06 at 14:28 -0500, David Halik wrote: > On 2/6/2010 2:06 PM, Timo Sirainen wrote: > > > > ab9e0, st=0x7fffc949d4b0) at maildir-uidlist.c:382 > > > > Oh, interesting. An infinite loop. Looks like this could have happened > > ever since v1.1. Wonder why it hasn't shown up before.

Re: [Dovecot] quick question

2010-02-06 Thread David Halik
On 2/6/2010 2:06 PM, Timo Sirainen wrote: ab9e0, st=0x7fffc949d4b0) at maildir-uidlist.c:382 Oh, interesting. An infinite loop. Looks like this could have happened ever since v1.1. Wonder why it hasn't shown up before. Anyway, fixed: http://hg.dovecot.org/dovecot-1.2/rev/a9710cb350c0

Re: [Dovecot] quick question

2010-02-06 Thread Timo Sirainen
On Mon, 2010-01-25 at 20:28 -0500, David Halik wrote: > #5 0x00440bb5 in maildir_uidlist_update_hdr > (uidlist=0x2b656f5ab9e0, st=0x7fffc949d360) at maildir-uidlist.c:382 > mhdr = (struct maildir_index_header *) 0x139cdc40 > #6 0x0043 in maildir_uidlist_refresh (uidlist

Re: [Dovecot] blocked for xx secs

2010-02-06 Thread Timo Sirainen
On Mon, 2010-01-25 at 13:16 +, Andrew Hearn wrote: > dovecot: Warning: chdir(/maildir/x.co.uk/users/y) blocked for 18 secs > This tends to last a minute or so for different users. > > /maildir is a NFS mount, and I'm suspecting it's the NFS server being > busy and dovecot having to wait. Rig

Re: [Dovecot] Compressing Maildir mails on delivery

2010-02-06 Thread Timo Sirainen
On Sat, 2010-02-06 at 19:33 +0100, Amon Ott wrote: > On Saturday 06 February 2010 wrote Timo Sirainen: > > Now supported by v2.0. Also as a patch to v1.2: > > http://dovecot.org/patches/1.2/zlib-compress.diff > > > > I'm not really sure if I should commit it to v1.2 code tree. The code > > contains

Re: [Dovecot] Also - is there a reliable way for TB to know it is connecting to a dovecot server?

2010-02-06 Thread Timo Sirainen
On Thu, 2010-02-04 at 07:32 -0500, Charles Marcus wrote: > Yeah, I didn't word my request very good... I meant of course if > there was a reliable way for TB to detect it is connecting to a DC > server that had full text search capability enabled... I think clients should only care about server ca

Re: [Dovecot] Also - is there a reliable way for TB to know it is connecting to a dovecot server?

2010-02-06 Thread Timo Sirainen
On Thu, 2010-02-04 at 07:39 -0500, Charles Marcus wrote: > Would it be possible for a standalone IMAP client like TB to somehow > download dovecot's indexes and make use of them locally? > > So, for example, instead of downloading the headers for 1 > messages in a folder, it could simply downl

Re: [Dovecot] Compressing Maildir mails on delivery

2010-02-06 Thread Amon Ott
On Saturday 06 February 2010 wrote Timo Sirainen: > Now supported by v2.0. Also as a patch to v1.2: > http://dovecot.org/patches/1.2/zlib-compress.diff > > I'm not really sure if I should commit it to v1.2 code tree. The code > contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be >

Re: [Dovecot] Messages marked as unread - Dovecot 1.2.10 - Thunderbird 2.0.0.23

2010-02-06 Thread Timo Sirainen
On Thu, 2010-02-04 at 14:28 +0100, Thorsten Habich wrote: > Hi! > I downgraded again and found the same result. Seems that this problem > occurs after > version change after first access the problem seems to be gone. > > But there is still the disconnecting problem with mutt. Are you using mbox

Re: [Dovecot] Problem with created ~/mail directory

2010-02-06 Thread Timo Sirainen
On Fri, 2010-02-05 at 11:20 -0600, Chris Adams wrote: > If a user doesn't have a ~/mail directory and logs in, the directory is > created for them. However, it is created with insecure permissions, > 0770 (full group access). > > The problem is this bit in src/lib-storage/index/mbox/mbox-storage.

Re: [Dovecot] Dovecot design-question

2010-02-06 Thread Timo Sirainen
On Thu, 2010-02-04 at 17:19 +0100, Werner wrote: > Hi, > > > - It's probably the best idea to direct SMTP and POP/IMAP always to > > the same server behind the loadbalancer (because dovecot-deliver is > > used which updates indexes?) > > like mentioned on the website, but "would it be possible wi

Re: [Dovecot] upgrade 1.0.x -> 1.2.x

2010-02-06 Thread Timo Sirainen
On Thu, 2010-02-04 at 15:19 -0200, maximatt wrote: > its posible upgrade from dovecot 1.0.x to 1.2.x? http://wiki.dovecot.org/Upgrading Read both v1.0 -> v1.1 and v1.1 -> v1.2 things to see if any of it affects you. But in short: yeah, it's possible. signature.asc Description: This is a digita

[Dovecot] v2.0: tcp-wrappers support

2010-02-06 Thread Timo Sirainen
Some people have been requesting this forever. So finally this works: service tcpwrap { unix_listener login/tcpwrap { mode = 0666 } } login_access_sockets = tcpwrap There can also be more sockets listed, in case someone wants to build their own access checking service. signature.asc De

Re: [Dovecot] pop3 quick question

2010-02-06 Thread Nikita Koshikov
On Sat, 06 Feb 2010 17:15:09 +0200 Timo Sirainen wrote: > There's no such option in Dovecot. If you mean from > http://wiki.dovecot.org/Authentication/RestrictAccess : > > password_query = SELECT password FROM users WHERE userid = '%u' and > (imap_allowed = true or '%Ls' = 'pop3') > > You can

Re: [Dovecot] pop3 quick question

2010-02-06 Thread Timo Sirainen
On Sat, 2010-02-06 at 16:00 +0200, Nikita Koshikov wrote: > I have found imap_allowed option in dovecot There's no such option in Dovecot. If you mean from http://wiki.dovecot.org/Authentication/RestrictAccess : password_query = SELECT password FROM users WHERE userid = '%u' and (imap_allowed =

Re: [Dovecot] mdbox compression

2010-02-06 Thread Damon Atkins
ZFS has support for compression on the file system ( lzjb | gzip | gzip-N | zle ). gzip eats CPU even at levels as low as 3. From the zfs man page The lzjb compression algorithm is optimized for performance while providing decent data compression. You can specify the gzip level by using th

[Dovecot] pop3 quick question

2010-02-06 Thread Nikita Koshikov
Hello list, I have found imap_allowed option in dovecot which do exactly what I need, for imap. Is there something similar for pop3 protocol? The main goal for it - is to enable pop3 access to specific users. Or maybe dovecot have some 'pop3=yes' or 'imap=no' args to userdb/passdb sections ?

Re: [Dovecot] Compressing Maildir mails on delivery

2010-02-06 Thread Timo Sirainen
On 6.2.2010, at 12.07, Leonardo Rodrigues wrote: > >OK, patching is fine ... but how am i supposed to enable that ? is there > some new config option, or applying the patch will automatically and > irreversible enabling it ? > >How to choose between gzip and bzip2 compression ? > >

Re: [Dovecot] Compressing Maildir mails on delivery

2010-02-06 Thread Leonardo Rodrigues
Hi Timo, OK, patching is fine ... but how am i supposed to enable that ? is there some new config option, or applying the patch will automatically and irreversible enabling it ? How to choose between gzip and bzip2 compression ? is there anything special to configure on LDA