[Dovecot-news] v2.0.17 released

2012-01-06 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.17.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.17.tar.gz.sig Among other changes: + Proxying now supports sending SSL client certificate to server with ssl_client_cert/key settings. + doveadm dump: Added support for

[Dovecot-news] v2.1.rc3 released

2012-01-06 Thread Timo Sirainen
http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc3.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc3.tar.gz.sig Whops, rc2 was missing a file. I always run make distcheck, which should catch these, but recently it has always failed due to clang static checking giving one error that I

[Dovecot] Deduplication active - but how good does it perform?

2012-01-06 Thread Ralf Hildebrandt
I have deduplication active in my first mdbox: type mailbox, but how do I find out how well the deduplication works? Is there a way of finding out how much disk space I saved (if I saved some :) )? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Nick Rosier
Yubao Liu wrote: Hi all, I have no idea about that message, here is my configuration, what's wrong? You have 2 passdb entries; 1 with a file and 1 with pam. I'm pretty sure PAM doesn't support DIGEST-MD5 authentication. Could be the cause of the problem. Debian testing, Dovecot 2.0.15 $

Re: [Dovecot] Deduplication active - but how good does it perform?

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 12.09, Ralf Hildebrandt wrote: I have deduplication active in my first mdbox: type mailbox, but how do I find out how well the deduplication works? Is there a way of finding out how much disk space I saved (if I saved some :) )? You could look at the files in the attachments

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On 5.1.2012, at 2.24, Daniel L. Miller wrote: I thought I had cleared out the corruption I had before - perhaps I was mistaken. What steps should I take to help locate these issues? Currently using 2.1rc1. I see the following errors in my logs, including out of memory and message size

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 12.55, Timo Sirainen wrote: Jan 4 05:17:17 bubba dovecot: master: Error: service(indexer-worker): child 10896 returned error 83 (Out of memory (vsz_limit=256 MB, you may need to increase it)) Jan 4 06:17:17 bubba dovecot: indexer-worker(us...@domain.com): Fatal:

Re: [Dovecot] Deduplication active - but how good does it perform?

2012-01-06 Thread Nick Rosier
Ralf Hildebrandt wrote: I have deduplication active in my first mdbox: type mailbox, but how do I find out how well the deduplication works? Is there a way of finding out how much disk space I saved (if I saved some :) )? You could check how much diskspace all the mail uses (or the mail of a

[Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Adrian Minta
Hello, is it possible to disable indexing on dovecot-lda ? Right now postfix delivers the mail directly to the nfs server without any problems. If I switch to dovecot-lda the system crashes do to the high I/O and locking. Indexing on lda is not very useful because the number of of imap logins

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 12:57 +0200, Timo Sirainen wrote: On 6.1.2012, at 12.55, Timo Sirainen wrote: Jan 4 05:17:17 bubba dovecot: master: Error: service(indexer-worker): child 10896 returned error 83 (Out of memory (vsz_limit=256 MB, you may need to increase it)) Jan 4 06:17:17

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 13:07 +0200, Adrian Minta wrote: Hello, is it possible to disable indexing on dovecot-lda ? protocol lda { mail_location = whatever-you-have-now:INDEX=MEMORY } Right now postfix delivers the mail directly to the nfs server without any problems. If I switch to

[Dovecot] ACL with IMAP proxying

2012-01-06 Thread Alexis Lelion
Hello, I'm trying to use ACLs to restrict subscription on public mailboxes, but I went into trouble. My setup is made of two servers, and users are shared between them via a proxy. User authentication is done with LDAP, and credentials aren't shared between the mailservers. Instead, the proxies

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 12:36 +0100, Alexis Lelion wrote: The thing is that when the ACLs are checked, it actually doesn't give the user login, but the master login, which is useless. Yes, this is intentional. Is there a way to use the first part of destuser as it is done when fetching info

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Stan Hoeppner
On 1/6/2012 5:07 AM, Adrian Minta wrote: Hello, is it possible to disable indexing on dovecot-lda ? Right now postfix delivers the mail directly to the nfs server without any problems. If I switch to dovecot-lda the system crashes do to the high I/O and locking. Indexing on lda is not very

Re: [Dovecot] Deduplication active - but how good does it perform?

2012-01-06 Thread Charles Marcus
On 2012-01-06 5:54 AM, Timo Sirainen t...@iki.fi wrote: On 6.1.2012, at 12.09, Ralf Hildebrandt wrote: I have deduplication active in my first mdbox: type mailbox, but how do I find out how well the deduplication works? Is there a way of finding out how much disk space I saved (if I saved some

Re: [Dovecot] Deduplication active - but how good does it perform?

2012-01-06 Thread Charles Marcus
On 2012-01-06 6:58 AM, Charles Marcus cmar...@media-brokers.com wrote: On 2012-01-06 5:54 AM, Timo Sirainen t...@iki.fi wrote: On 6.1.2012, at 12.09, Ralf Hildebrandt wrote: I have deduplication active in my first mdbox: type mailbox, but how do I find out how well the deduplication works? Is

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Alexis Lelion
Hi Timo, Thanks for your prompt answer, I wasn't expecting an answer that soon ;-) I just tried your workaround, and actually, master_user is properly set to the username, but then is overriden with the proxy login again : Jan 6 13:14:19 mail01 dovecot: imap: Debug: Added userdb setting:

Re: [Dovecot] doveadm + dsync merging

2012-01-06 Thread Timo Sirainen
On Thu, 2011-12-29 at 15:19 +0100, Pascal Volk wrote: b) Don't have the dsync prefix: dsync mirror - doveadm mirror dsync backup - doveadm backup dsync server - doveadm dsync-server (could be hidden from the doveadm commands list) I did this now, with mirror - sync. I'd prefer

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 13:22 +0100, Alexis Lelion wrote: Thanks for your prompt answer, I wasn't expecting an answer that soon ;-) I just tried your workaround, and actually, master_user is properly set to the username, but then is overriden with the proxy login again : Jan 6 13:14:19

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Timo Sirainen
Another possibility: http://wiki2.dovecot.org/PostLoginScripting and set MASTER_USER environment. On Fri, 2012-01-06 at 13:55 +0100, Alexis Lelion wrote: Thanks Timo. I'm actually using a packaged version of Dovecot 2.0 from Debian, so I can't apply the patch easily right now. I'll try do

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Adrian Minta
On 01/06/12 13:39, Timo Sirainen wrote: On Fri, 2012-01-06 at 13:07 +0200, Adrian Minta wrote: Hello, is it possible to disable indexing on dovecot-lda ? protocol lda { mail_location = whatever-you-have-now:INDEX=MEMORY } Right now postfix delivers the mail directly to the nfs server

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Adrian Minta
On 01/06/12 13:50, Stan Hoeppner wrote: On 1/6/2012 5:07 AM, Adrian Minta wrote: Hello, is it possible to disable indexing on dovecot-lda ? Right now postfix delivers the mail directly to the nfs server without any problems. If I switch to dovecot-lda the system crashes do to the high I/O and

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Timo Sirainen
On Fri, 2012-01-06 at 15:01 +0200, Adrian Minta wrote: protocol lda { mail_location = whatever-you-have-now:INDEX=MEMORY } I don't have mail_location under protocol lda: Just add it there.

Re: [Dovecot] ACL with IMAP proxying

2012-01-06 Thread Alexis Lelion
It worked! Thanks a lot for your help and have a wonderful day! On Fri, Jan 6, 2012 at 1:57 PM, Timo Sirainen t...@iki.fi wrote: Another possibility: http://wiki2.dovecot.org/PostLoginScripting and set MASTER_USER environment. On Fri, 2012-01-06 at 13:55 +0100, Alexis Lelion wrote: Thanks

Re: [Dovecot] howto disable indexing on dovecot-lda ?

2012-01-06 Thread Adrian Minta
On 01/06/12 15:08, Timo Sirainen wrote: On Fri, 2012-01-06 at 15:01 +0200, Adrian Minta wrote: protocol lda { mail_location = whatever-you-have-now:INDEX=MEMORY } I don't have mail_location under protocol lda: Just add it there. Thank you ! Dovecot didn't complain after restart and

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/06/2012 06:52 PM, Nick Rosier wrote: Yubao Liu wrote: Hi all, I have no idea about that message, here is my configuration, what's wrong? You have 2 passdb entries; 1 with a file and 1 with pam. I'm pretty sure PAM doesn't support DIGEST-MD5 authentication. Could be the cause of the

Re: [Dovecot] v2.1.rc2 released

2012-01-06 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Timo Sirainen said the following on 06/01/12 17:42: http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz Making all in doveadm make[3]: Entering directory `/usr/src/dovecot-2.1.rc2/src/doveadm' Making all in dsync make[4]: Entering directory

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error goes away, and dovecot's imap-login process happily does DIGEST-MD5 authentication

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Daniel L. Miller
On 1/6/2012 2:57 AM, Timo Sirainen wrote: On 6.1.2012, at 12.55, Timo Sirainen wrote: Jan 4 05:17:17 bubba dovecot: master: Error: service(indexer-worker): child 10896 returned error 83 (Out of memory (vsz_limit=256 MB, you may need to increase it)) Jan 4 06:17:17 bubba dovecot:

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 19.30, Daniel L. Miller wrote: Jan 6 09:22:42 bubba dovecot: indexer-worker(us...@domain.com): Error: fts_solr: Indexing failed: 400 Illegal character ((CTRL-CHAR, code 18)) at [row,col {unknown-source}]: [482765,16] Jan 6 09:22:42 bubba dovecot: indexer-worker: Error:

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error goes away, and dovecot's imap-login process happily does DIGEST-MD5 authentication

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 19.45, Yubao Liu wrote: On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error goes away, and dovecot's imap-login

[Dovecot] v2.1.rc3 released

2012-01-06 Thread Timo Sirainen
http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc3.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc3.tar.gz.sig Whops, rc2 was missing a file. I always run make distcheck, which should catch these, but recently it has always failed due to clang static checking giving one error that I

[Dovecot] change initial permissions on creation of mail folder

2012-01-06 Thread mailinglist
Installed dovcot from Debian .deb file. Creating a new account for system users sets permission for user-only. Where to change initial permissions on creation of mail folder and other subdirectories. Installed dovecot using apt-get install dovecot-imapd dovecot-pop3d. Any time when I create a

Re: [Dovecot] v2.1.rc2 released

2012-01-06 Thread The Doctor
On Fri, Jan 06, 2012 at 06:42:07PM +0200, Timo Sirainen wrote: http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz.sig Lots of fixes since rc1. Some of the changes were larger than I wanted at RC stage, but they had to be done

Re: [Dovecot] v2.1.rc2 released

2012-01-06 Thread The Doctor
On Fri, Jan 06, 2012 at 01:12:56PM -0700, The Doctor wrote: On Fri, Jan 06, 2012 at 06:42:07PM +0200, Timo Sirainen wrote: http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz http://dovecot.org/releases/2.1/rc/dovecot-2.1.rc2.tar.gz.sig Lots of fixes since rc1. Some of the changes

Re: [Dovecot] v2.1.rc2 released

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 22.19, The Doctor wrote: doveadm-dsync.c:17:27: doveadm-dsync.h: No such file or directory doveadm-dsync.c:386: warning: no previous prototype for `doveadm_dsync_main' *** Error code 1 Looks like rc3 needed . Just noted your rc3 notice. Can you get an rc4 going where

Re: [Dovecot] Possible mdbox corruption

2012-01-06 Thread Daniel L. Miller
On 1/6/2012 9:36 AM, Timo Sirainen wrote: On 6.1.2012, at 19.30, Daniel L. Miller wrote: Jan 6 09:22:42 bubba dovecot: indexer-worker(us...@domain.com): Error: fts_solr: Indexing failed: 400 Illegal character ((CTRL-CHAR, code 18)) at [row,col {unknown-source}]: [482765,16] Jan 6 09:22:42

[Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread David Egbert
All, My dovecot install works great except for one error I keep seeing this in my logs. The folder has 7138 messages in it. I am informed the user they needed to reduce the number of messages in the folder and believe this will fix the problem. My question is about where the problem lies.

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 22.44, David Egbert wrote: dovecot: imap(xx...@x.com): Error: readdir(///X/X/XXX/XXX/XXX) failed: Too many levels of symbolic links You have a symlink loop. Either a symlink that points to itself or one of the parent directories.

Re: [Dovecot] 2.1.rc1 (056934abd2ef): virtual plugin mailbox search pattern

2012-01-06 Thread e-frog
ON 23.12.2011 18:33, wrote e-frog: Hello Timo, With dovecot 2.1.rc1 (056934abd2ef) there seems to be something wrong with virtual plugin mailbox search patterns. I'm using a virtual mailbox 'unread' with the following dovecot-virtual file $ cat dovecot-virtual * unseen For testing propose I

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread David Egbert
On 1/6/2012 2:16 PM, Timo Sirainen wrote: On 6.1.2012, at 22.44, David Egbert wrote: dovecot: imap(xx...@x.com): Error: readdir(///X/X/XXX/XXX/XXX) failed: Too many levels of symbolic links You have a symlink loop. Either a symlink that points to

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread Timo Sirainen
On 6.1.2012, at 23.41, David Egbert wrote: On 1/6/2012 2:16 PM, Timo Sirainen wrote: On 6.1.2012, at 22.44, David Egbert wrote: dovecot: imap(xx...@x.com): Error: readdir(///X/X/XXX/XXX/XXX) failed: Too many levels of symbolic links You have a

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread David Egbert
On 1/6/2012 2:51 PM, Timo Sirainen wrote: On 6.1.2012, at 23.41, David Egbert wrote: On 1/6/2012 2:16 PM, Timo Sirainen wrote: On 6.1.2012, at 22.44, David Egbert wrote: dovecot: imap(xx...@x.com): Error: readdir(///X/X/XXX/XXX/XXX) failed: Too

Re: [Dovecot] failed: Too many levels of symbolic links

2012-01-06 Thread Timo Sirainen
On 7.1.2012, at 0.10, David Egbert wrote: Anyway, readdir() is failing with ELOOP. Does it always fail with Too many levels of symbolic links or is it sometimes different? This sounds like a bug in Linux NFS client code. You can reproduce this always with this one user's Maildir? Can you

Re: [Dovecot] Strange error: DIGEST-MD5 mechanism can't be supported with given passdbs

2012-01-06 Thread Yubao Liu
On 01/07/2012 01:51 AM, Timo Sirainen wrote: On 6.1.2012, at 19.45, Yubao Liu wrote: On 01/07/2012 12:44 AM, Timo Sirainen wrote: On Sat, 2012-01-07 at 00:15 +0800, Yubao Liu wrote: I don't know why this function doesn't check auth-masterdbs, if I insert these lines after line 128, that error