Re: [Dovecot] distributed mdbox

2012-03-23 Thread Stan Hoeppner
On 3/22/2012 11:17 AM, Jim Lawson wrote: On 03/22/2012 12:11 AM, Stan Hoeppner wrote: On 3/21/2012 12:04 PM, Timo Sirainen wrote: The problem is most likely the same as with NFS: Server A caches data - server B modifies data - server A modifies data using stale cached state - corruption.

[Dovecot] Dovecot v2.1.3 (f30437ed63dc) Auth/Login Issues

2012-03-23 Thread Thomas Leuxner
Hi, some change between ff5c341f8838 and f30437ed63dc seems to have broken auth: = Bad Login Mar 23 09:01:46 spectre dovecot: master: Dovecot v2.1.3 (f30437ed63dc) starting up [...] Mar 23 10:25:44 spectre dovecot: auth: Debug: auth client connected (pid=7266) Mar 23 10:25:45 spectre dovecot:

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Timo Sirainen
On 22.3.2012, at 10.30, Noel Butler wrote: On Thu, 2012-03-22 at 07:28 +0100, Andraž 'ruskie' Levstik wrote: :2012-03-22T11:55:Noel Butler: perhaps it should be renamed then, given it violates the known normal for SYSCONF dir, you've just created another form of --datadir Not really.

[Dovecot] quota ldap

2012-03-23 Thread Alain DEFRANCE
hello all, i'm using quota + ldap with dovecot 2 in dovecot-ldap.conf.ext file i have the line : user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,quota=quota_rule=*:storage=%$B how can i add Trash:storage= to have more place for deleting messages like in 90-quota.conf file ?

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Miguel Tormo
El Miércoles, 21 de Marzo de 2012 15:43:14 Luca Lesinigo escribió: Hello list. Hello, I'm planning a new mail servers for our company's customers to replace the oldish Courier-IMAP based one, we already started to deploy some mail accounts on a dovecot-2.0 server as an early test. I'd

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Heiko Schlichting
Timo wrote: So the only way I can think of how to change this is to add another option to optionally remove the dovecot/ suffix from the directory, but is this really worth the trouble? I would appreciate such option too. For large dedicated installations other schemes than /etc/dovecot are

Re: [Dovecot] quota ldap

2012-03-23 Thread Nikolaos Milas
On 23/3/2012 12:20 μμ, Alain DEFRANCE wrote: how can i add Trash:storage= to have more place for deleting messages like in See, for example, my setup: http://old.nabble.com/ldap-userdb-warning-in-v2.1.1-td33544211.html I use a single conf file (because it's small and it's more intuitive

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Timo Sirainen
On 21.3.2012, at 16.43, Luca Lesinigo wrote: The issue I'm investigating right now is how to manage a single IMAP / POP / SMTP / webmail entry point for multiple mail servers... in other words an IMAP proxy. Are you thinking about actual dummy proxying (which is normally what Dovecot

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 12.44, Heiko Schlichting wrote: Timo wrote: So the only way I can think of how to change this is to add another option to optionally remove the dovecot/ suffix from the directory, but is this really worth the trouble? I would appreciate such option too. For large dedicated

Re: [Dovecot] quota ldap

2012-03-23 Thread Alain DEFRANCE
thanks Nick so if i understand correctly i can mix the 2 quota_rule ? the one who came from ldap user_attrs (quota_rule=*:bytes=%$) and the other which from quota_rule2 = Trash:storage=+3%% in your case you add 3% quota more for Trash ? Am i write ? regards On 23/3/2012 12:20 μμ, Alain

[Dovecot] Problems with upgrade 2.0.16 - 2.1.3

2012-03-23 Thread Joseph Tam
I ran into two issues trying to upgrade our dovecot installation (Solaris 10). 1) Does not compile with OpenSSL 0.9.7 Not a big deal, as I was able to successfully against OpenSSL 0.9.8, but does dovecot require OpenSSL = 0.9.8 now? libtool: compile: gcc

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Joseph Tam
On Fri, 23 Mar 2012, dovecot-requ...@dovecot.org wrote: See http://dovecot.org/list/dovecot/2009-January/036131.html Yes, I was also thinking about that, but it's about removing the dovecot/ suffix from other directories as well. That might be something worth doing (--without-package-suffix

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Rainer Frey
On Mar 23, 2012, at 10:51 AM, Timo Sirainen wrote: :2012-03-22T11:55:Noel Butler: perhaps it should be renamed then, given it violates the known normal for SYSCONF dir, you've just created another form of --datadir Not really. The way I see it works as expected. The directory for

Re: [Dovecot] Problems with upgrade 2.0.16 - 2.1.3

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 12.58, Joseph Tam wrote: I ran into two issues trying to upgrade our dovecot installation (Solaris 10). 1) Does not compile with OpenSSL 0.9.7 Not a big deal, as I was able to successfully against OpenSSL 0.9.8, but does dovecot require OpenSSL = 0.9.8 now?

[Dovecot] delivering with maildrop

2012-03-23 Thread Radim Kolar
Can somebody provide maildrop syntax for using deliver-lda as final delivery program during sorting mail in user mailfilter? i mean replacement for to statement if ( /^(To|Cc):.*dovecot@dovecot.org/:h ) { to $MAIL/.dovecot/ }

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Jim Lawson
On 3/23/12 3:13 AM, Stan Hoeppner wrote: Speaking as an admin who has run Dovecot on top of GFS both with and without the director, I would never go back to a cluster without the director. The cluster performs *so* much better when glocks can be cached on a single node, and this can't happen

Re: [Dovecot] dovecot-auth restaring and caching

2012-03-23 Thread Angel L. Mateo
El 22/03/12 19:57, Timo Sirainen escribió: On 22.3.2012, at 11.55, Angel L. Mateo wrote: The problem I'm having is that if I have no activity in the server, dovecot stops its auth process and when another message is received, it restarted it, but with an empty cache. service auth {

Re: [Dovecot] distributed mdbox

2012-03-23 Thread list
On Wed, 21 Mar 2012 09:56:12 -0600, James Devine fxmul...@gmail.com wrote: Anyone know how to setup dovecot with mdbox so that it can be used through shared storage from multiple hosts? I've setup a gluster volume and am sharing it between 2 test clients. I'm using postfix/dovecot LDA for

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Eliezer Croitoru
On 23/03/2012 12:53, Timo Sirainen wrote: On 23.3.2012, at 12.44, Heiko Schlichting wrote: Timo wrote: So the only way I can think of how to change this is to add another option to optionally remove the dovecot/ suffix from the directory, but is this really worth the trouble? I would

Re: [Dovecot] delivering with maildrop

2012-03-23 Thread Stan Hoeppner
On 3/23/2012 6:41 AM, Radim Kolar wrote: Can somebody provide maildrop syntax for using deliver-lda as final delivery program during sorting mail in user mailfilter? i mean replacement for to statement if ( /^(To|Cc):.*dovecot@dovecot.org/:h ) { to $MAIL/.dovecot/ } Dovecot's local

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 15.39, l...@airstreamcomm.net l...@airstreamcomm.net wrote: I was able to get dovecot working across a gluster cluster a few weeks ago and it worked just fine. I would recommend using the native gluster mount option (need to install gluster software on clients), and using

Re: [Dovecot] dovecot 2.1.3 dsync Unexpected finish reply

2012-03-23 Thread Micah Anderson
Micah Anderson mi...@riseup.net writes: dsync-local(u...@example.com): Error: Unexpected finish reply: by ims-d13.mx.aol.com (8.14.1/8.14.1) with ESMTP id q2LEhqXZ017169; dsync-local(u...@example.com): Error: Unexpected reply from server:Wed, 21 Mar 2012 10:43:52 -0400

[Dovecot] doveadm user -f index

2012-03-23 Thread Micah Anderson
I've configured my mail_location to have a different location for performance reasons so they aren't in the same location as the mail_location. The 'doveadm user -f home' is useful to find where a user's home directory is for various scripting purposes, but I can't seem to find a way to

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Stan Hoeppner
On 3/23/2012 7:13 AM, Jim Lawson wrote: On 3/23/12 3:13 AM, Stan Hoeppner wrote: Speaking as an admin who has run Dovecot on top of GFS both with and without the director, I would never go back to a cluster without the director. The cluster performs *so* much better when glocks can be

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 19.11, Stan Hoeppner wrote: I assume you do still have some minor locking/performance issues with the INBOX, even with Director, when LDA and the user MUA are both hitting the INBOX index and mbox files. You'll still see this with mdbox, but probably to a lesser degree if

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Andraž 'ruskie' Levstik
:2012-03-23T12:53:Timo Sirainen: Yes, I was also thinking about that, but it's about removing the dovecot/ suffix from other directories as well. That might be something worth doing (--without-package-suffix or something?). I would suggest to have a --layout=gnu|opt That would either do

Re: [Dovecot] distributed mdbox

2012-03-23 Thread list
On Fri, 23 Mar 2012 16:06:25 +0200, Timo Sirainen t...@iki.fi wrote: On 23.3.2012, at 15.39, l...@airstreamcomm.net l...@airstreamcomm.net wrote: I was able to get dovecot working across a gluster cluster a few weeks ago and it worked just fine. I would recommend using the native gluster

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-23 Thread Christoph Bußenius
Hi, maybe try dsync -o mail_fsync=never. Cheers, Christoph -- Christoph Bußenius Rechnerbetriebsgruppe der Fakultäten Informatik und Mathematik Technische Universität München +49 89-289-18519 Raum 00.05.055 Boltzmannstr. 3 Garching

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Luca Lesinigo
Il giorno 23/mar/2012, alle ore 11:50, Timo Sirainen ha scritto: Are you thinking about actual dummy proxying (which is normally what Dovecot proxying is about) or about the imapc backend (http://www.dovecot.fi/products/105-dovecot-imap-adaptor.html)? If you're using Dovecot as backend

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Gedalya
On 03/23/2012 02:12 PM, Luca Lesinigo wrote: Il giorno 23/mar/2012, alle ore 11:50, Timo Sirainen ha scritto: Are you thinking about actual dummy proxying (which is normally what Dovecot proxying is about) or about the imapc backend

Re: [Dovecot] Dovecot 2.1.3 Proxy creates mailbox on proxy

2012-03-23 Thread Ed Nitido
I've compared doveconf -n from both Dovecot 2.0.17 and 2.1.3 and they are the same Everything works when I go back to 2.0.17, but doesn't when I use 2.1.3

Re: [Dovecot] Dovecot 2.1.3 Proxy creates mailbox on proxy

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 21.44, Ed Nitido wrote: I've compared doveconf -n from both Dovecot 2.0.17 and 2.1.3 and they are the same Everything works when I go back to 2.0.17, but doesn't when I use 2.1.3 Set auth_debug=yes. What does it log with v2.1.3? Also what's in your dovecot-ldap.conf.ext?

Re: [Dovecot] Advice for new dovecot / imap proxy? setup

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 20.24, Gedalya wrote: On 03/23/2012 02:12 PM, Luca Lesinigo wrote: Il giorno 23/mar/2012, alle ore 11:50, Timo Sirainen ha scritto: Are you thinking about actual dummy proxying (which is normally what Dovecot proxying is about) or about the imapc backend

Re: [Dovecot] Dovecot 2.1.3 Proxy creates mailbox on proxy

2012-03-23 Thread Ed Nitido
Ooops, didn't email the list... it working now thanks to Timo, solution below On Fri, Mar 23, 2012 at 4:14 PM, Timo Sirainen t...@iki.fi wrote: On 23.3.2012, at 22.01, Ed Nitido wrote: pass_attrs = uid=user,userPassword=password,=proxy,=master=doveadmin,=pass=xx I guess it doesn't

Re: [Dovecot] dsync is SLOW compared to rsync

2012-03-23 Thread Jeff Gustafson
On Fri, 2012-03-23 at 19:02 +0100, Christoph Bußenius wrote: Hi, maybe try dsync -o mail_fsync=never. That didn't seem to make much of a difference. On a 3.1GB backup it shaved off 5 seconds. dsync's time was over 6 minutes with or without the mail_fsync=never. rsync copied the same

[Dovecot] Dovecot IMAP is broken after upgrade from 2.1.2 to 2.1.3

2012-03-23 Thread Michael Neubert
Hello, I just upgraded my servers from Dovecot 2.1.2 to Dovecot 2.1.3-0~auto+5 by using Debian binaries from http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main. The config was not touched but now IMAP connections are not possible anymore (LMTP works fine). When I try to connect to

Re: [Dovecot] distributed mdbox

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 19.43, l...@airstreamcomm.net l...@airstreamcomm.net wrote: Have you tried stress testing it with imaptest? Run in parallel for both servers: I did stress test it, but we have developed a mail bot net tool for the purpose. I should mention this was tested using dovecot 1.2,

[Dovecot] dsync redesign

2012-03-23 Thread Timo Sirainen
In case anyone is interested in reading (and maybe helping!) with a dsync redesign that's intended to fix all of its current problems, here are some possibly incoherent ramblings about it: http://dovecot.org/tmp/dsync-redesign.txt and even if you don't understand that, here's another document

Re: [Dovecot] distributed mdbox

2012-03-23 Thread list
On Fri, 23 Mar 2012 23:03:01 +0200, Timo Sirainen t...@iki.fi wrote: On 23.3.2012, at 19.43, l...@airstreamcomm.net l...@airstreamcomm.net wrote: Have you tried stress testing it with imaptest? Run in parallel for both servers: I did stress test it, but we have developed a mail bot net tool

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Noel Butler
On Fri, 2012-03-23 at 12:53 +0200, Timo Sirainen wrote: On 23.3.2012, at 12.44, Heiko Schlichting wrote: Timo wrote: So the only way I can think of how to change this is to add another option to optionally remove the dovecot/ suffix from the directory, but is this really worth the

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Timo Sirainen
On 24.3.2012, at 3.19, Noel Butler wrote: Yes, I was also thinking about that, but it's about removing the dovecot/ suffix from other directories as well. That might be something worth doing (--without-package-suffix or something?). it is very easy to have a search path for config file, it

Re: [Dovecot] sysconfdir depreacted

2012-03-23 Thread Timo Sirainen
On 23.3.2012, at 19.22, Andraž 'ruskie' Levstik wrote: :2012-03-23T12:53:Timo Sirainen: Yes, I was also thinking about that, but it's about removing the dovecot/ suffix from other directories as well. That might be something worth doing (--without-package-suffix or something?). I would