Re: [Dovecot] Getting duplicates despite trying hard to match lock styles

2012-06-11 Thread Richard Walker
On 12/06/2012, Richard Walker wrote: > 1. Output of "doveconf -n" and a note about how I modified locking >from the Fedora default. Oops, I can send more of the config if necessary -- again, I was trying to be "helpful" by cutting out the default settings. The output of "doveconf | grep lock

[Dovecot] Getting duplicates despite trying hard to match lock styles

2012-06-11 Thread Richard Walker
I'm attempting to replace (a) a very old setup that has POP (qpopper) access to inboxes and a separate UW IMAP server that provides folders, with (b) a shiny new mail setup with dovecot providing both inboxes and IMAP support. For the new mail server I created a virtual machine running a minimal F

[Dovecot] Sieve: Mailbox doesn't exist

2012-06-11 Thread Stefan Fricke
I have just set up a mail server on Ubuntu, using Postfix and Dovecot 2.0.19. It works well but I can't get Sieve working. I always get the error that the target mailbox doesn't exist. In fact it doesn't but isn'r Dovecot supposed to create it? Here is my doveconf -n: # 2.0.19: /etc/dovecot/do

Re: [Dovecot] Very High Load on Dovecot 2 and Errors in mail.err.

2012-06-11 Thread Timo Sirainen
On 12.6.2012, at 0.37, Jesper Dahl Nyerup wrote: >> Yeah. Looks like a kernel bug. You could try if it goes away by disabling >> inotify in Dovecot. Either recompile with "configure --with-notify=none" or >> maybe you can disable inotify globally with: >> >> echo 0 > /proc/sys/fs/inotify/max_us

Re: [Dovecot] 2.1.7 shared folder index issued

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 23.35, Alex Crow wrote: >>> Jun 11 19:57:43 alsace dovecot: imap(sharedvie...@integrafin.co.uk): Error: >>> mdbox map >>> /home/indexes/integrafin.co.uk/t/sharedviewer/shared/sharedvie...@integrafin.co.uk/storage/dovecot.map.index >>> corrupted: U >>> nexpectedly lost shared/vi

[Dovecot] v2.0.21 released

2012-06-11 Thread Timo Sirainen
http://dovecot.org/releases/2.0/dovecot-2.0.21.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.21.tar.gz.sig + dict: file backend supports now also fcntl/flock locking optionally - imap-login: Memory leak fixed - imap: Non-UTF8 input on SEARCH command parameters could ha

Re: [Dovecot] Very High Load on Dovecot 2 and Errors in mail.err.

2012-06-11 Thread Jesper Dahl Nyerup
On Jun 11 14:51, Timo Sirainen wrote: > On 11.6.2012, at 11.09, Jesper Dahl Nyerup wrote: > > > In short, as far as we can tell, all the processes in D state appear to > > be waiting to close the file handle they got from their inotify_init(), > > and eventually all these close()s go through almos

Re: [Dovecot] 2.1.7 shared folder index issued

2012-06-11 Thread Alex Crow
On 11/06/12 20:58, Timo Sirainen wrote: On 11.6.2012, at 22.05, Alex Crow wrote: Sorry to bother the list again so soon after fixing my own problem, but I now have this issue when clients try to view shared folders in Thunderbird (v12). They can see the shared folder, but the first time they

Re: [Dovecot] 2.1.7 shared folder index issued

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 22.05, Alex Crow wrote: > Sorry to bother the list again so soon after fixing my own problem, but I now > have this issue when clients try to view shared folders in Thunderbird (v12). > They can see the shared folder, but the first time they click on in nothing > happens. The s

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 19.39, SATOH Fumiyasu wrote: > At Mon, 11 Jun 2012 18:32:35 +0300, > Timo Sirainen wrote: >>> If an auth client remains a connection to dovecot/auth, >>> dovecot/auth does NOT exit immediately when dovecot master exits. >> >> Ah, now we're getting somewhere :) Yes, this is correc

Re: [Dovecot] question about changing certificate

2012-06-11 Thread Gedalya
On 06/11/2012 08:28 AM, oni-n...@gmx.net wrote: Good day! I'm having trouble changing certificate/keys for my dovecot(version 1.2.9). When I set up the server (unbuntu lts 10.4.4) I did it with a self-signed certificate. I can't remember exactly what I did, just that I followed the wiki and it

[Dovecot] 2.1.7 shared folder index issued

2012-06-11 Thread Alex Crow
Hi, Sorry to bother the list again so soon after fixing my own problem, but I now have this issue when clients try to view shared folders in Thunderbird (v12). They can see the shared folder, but the first time they click on in nothing happens. The second time they get an authentication failu

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread SATOH Fumiyasu
At Mon, 11 Jun 2012 18:32:35 +0300, Timo Sirainen wrote: > > If an auth client remains a connection to dovecot/auth, > > dovecot/auth does NOT exit immediately when dovecot master exits. > > Ah, now we're getting somewhere :) Yes, this is correct and intentional. But > it should still close the l

Re: [Dovecot] auth_krb5_keytab ignored ?

2012-06-11 Thread Leon Meßner
On Mon, Jun 11, 2012 at 06:26:57PM +0300, Timo Sirainen wrote: > On 11.6.2012, at 17.43, Leon Meßner wrote: > > >> Try if this works: > >> > >> import_environment = TZ GDB DEBUG_SILENT KRB5_KTNAME > >> > >> Then start Dovecot with: > >> > >> KRB5_KTNAME=/etc/mail3.krb5.keytab dovecot > >> > >

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 18.24, SATOH Fumiyasu wrote: > If an auth client remains a connection to dovecot/auth, > dovecot/auth does NOT exit immediately when dovecot master exits. Ah, now we're getting somewhere :) Yes, this is correct and intentional. But it should still close the listeners, so this sh

Re: [Dovecot] auth_krb5_keytab ignored ?

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 17.43, Leon Meßner wrote: >> Try if this works: >> >> import_environment = TZ GDB DEBUG_SILENT KRB5_KTNAME >> >> Then start Dovecot with: >> >> KRB5_KTNAME=/etc/mail3.krb5.keytab dovecot >> >> I'm wondering if the code in mech-gssapi.c that sets KRB5_KTNAME >> environment is

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread SATOH Fumiyasu
At Mon, 11 Jun 2012 15:30:59 +0300, Timo Sirainen wrote: > Dovecot auth process has a problem > that Dovecot auth delays exiting about between 20 and > 60 seconds when Dovecot dovecot (master) process is already > terminated by an administrator. > > > > Yes. I can reproduce wit

Re: [Dovecot] fts_lucene crashing

2012-06-11 Thread Joe Beaubien
Thank you sir for the fix. On Mon, Jun 11, 2012 at 9:16 AM, Timo Sirainen wrote: > On 30.5.2012, at 22.13, Joe Beaubien wrote: > > >> May 22 14:51:51 mba dovecot: imap(formulaire): Panic: file > >> lucene-wrapper.cc: line 196: unreached > > > > Thanks for the new release. Unfortunately,

Re: [Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-11 Thread Michael Orlitzky
On 06/11/12 07:23, Krzysztof Trybowski wrote: > Hello all, > it is strange, but Dovecot 2.x still didn't make it into Debian (not > even backports). It exists in testing, but that's still a long wait. > OTOH there are official packages built every day (referenced from the > download page). This puz

Re: [Dovecot] auth_krb5_keytab ignored ?

2012-06-11 Thread Leon Meßner
On Mon, Jun 11, 2012 at 03:16:16PM +0300, Timo Sirainen wrote: > On Fri, 2012-06-08 at 18:59 +0200, Leon Meßner wrote: > > Hi list, > > > > i noticed that when doing imap gssapi authentication with kerberos, > > dovecot (here 2.1.7) always searches /etc/krb5.keytab although i have > > auth_krb5_ke

Re: [Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-11 Thread Nerijus Kislauskas
On 06/11/2012 05:03 PM, Tomislav Mihalicek wrote: > > Here you go... > > cat /etc/apt/sources.list > > # latest dovecot > # apt-get install debian-dovecot-auto-keyring > deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main > deb-src http://xi.rename-it.nl/debian/ stable-auto/dovecot-2

Re: [Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-11 Thread Gedalya
On 6/11/2012 10:31 AM, Krzysztof Trybowski wrote: On Mon, Jun 11, 2012 at 4:03 PM, Tomislav Mihalicek wrote: Here you go... cat /etc/apt/sources.list # latest dovecot # apt-get install debian-dovecot-auto-keyring deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main deb-src http://x

Re: [Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-11 Thread Krzysztof Trybowski
On Mon, Jun 11, 2012 at 4:03 PM, Tomislav Mihalicek wrote: > > Here you go... > > cat /etc/apt/sources.list > > # latest dovecot > # apt-get install debian-dovecot-auto-keyring > deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main > deb-src http://xi.rename-it.nl/debian/ stable-auto/do

Re: [Dovecot] Director problems

2012-06-11 Thread Joseba Torre
Second problem: if I try to add/remove/modify one of the dovecot servers, the output of doveadm director map/status seems to be ok, but any new user connection fails with this log: Jun 6 14:51:59 director dovecot: director: Warning: Delaying new user requests until ring is synced Looks li

Re: [Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-11 Thread Tomislav Mihalicek
Here you go... cat /etc/apt/sources.list # latest dovecot # apt-get install debian-dovecot-auto-keyring deb http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main deb-src http://xi.rename-it.nl/debian/ stable-auto/dovecot-2.1 main Krzysztof Trybowski wrote: > > Hello all, > it is strange

Re: [Dovecot] Director problems

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 13.43, Joseba Torre wrote: >>> I've tried with 3 different users and ips to no change, users are always >>> directed to the same host. >> >> Perhaps you just managed to use such usernames that map to the same >> director.. You can try with "doveadm director status" to see where

Re: [Dovecot] multi-instance doveadm user -m woes

2012-06-11 Thread Timo Sirainen
On 11.5.2012, at 18.06, David Warden wrote: > I'm having difficulty with the doveadm who command on a multi-instance setup > of dovecot. When I run the who command on the non-standard instance with the > -m flag (to see their mail location), this happens: > > [root@wardentest3 dovecot]# doveadm

Re: [Dovecot] dsync migration with preserving pop3 uidl

2012-06-11 Thread Timo Sirainen
On 24.5.2012, at 13.17, Tomáš Herceg wrote: > I'm trying to migrate messages from icewarp (merak) mailserver to dovecot via > dsync, IMAP migration is looking fine, but I'm unable to migrate pop3 uidls > from > originating server, probably is something wrong with configuration, but I > don't > k

Re: [Dovecot] fts_lucene crashing

2012-06-11 Thread Timo Sirainen
On 30.5.2012, at 22.13, Joe Beaubien wrote: >> May 22 14:51:51 mba dovecot: imap(formulaire): Panic: file >> lucene-wrapper.cc: line 196: unreached > > Thanks for the new release. Unfortunately, it doesn't seem to have fixed my > specific issue. I got you a gdb trace like you asked in a p

Re: [Dovecot] director: non standart ports at backends

2012-06-11 Thread Timo Sirainen
Looking at your old mails, you seem to be using passdb static for director, but userdb sql? So you could switch to: passdb { driver = sql args = /etc/dovecot/dovecot-sql.conf } password_query = select 'y' as proxy, 'y' as nopassword, if('%a'=143, 1430, 9930) as port where you'd change the if

Re: [Dovecot] Different but probably related issue

2012-06-11 Thread Timo Sirainen
On 5.6.2012, at 11.09, Johannes Berg wrote: > Unfortunately, I don't. I can only suggest, as a test, trying with some > other storage format -- I only use Maildir -- to see if the problem is > really in the interaction with mdbox. I'm fairly sure that's likely the > problem, maybe the plugin doesn

Re: [Dovecot] director: non standart ports at backends

2012-06-11 Thread Костырев Александр Алексеевич
thanks Timo, for you time but I still don't get it) should I return "port" with just "port_num1,port_num2" value or how? I've tried to google an example but with no success. -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] Sent: Monday, June 11, 2012 11:01 PM To: Костырев Алекс

Re: [Dovecot] Accessing maildir snapshots through dovecot / namespace

2012-06-11 Thread Timo Sirainen
On 7.6.2012, at 18.26, Karl Oulmi wrote: > namespace snap { > prefix = INBOX.snapshot.h0. > hidden = no > inbox = no > list = yes > location = > maildir:/da1/%u/Maildir:INDEX=/da1/dovecot/indexes/%u:CONTROL=/da1/dovecot/control/%u > type = private > } > > > The problem is that I don't see the c

Re: [Dovecot] Dovecot auth process delays exiting if LDAPS passdb used

2012-06-11 Thread Timo Sirainen
On 7.6.2012, at 6.06, SATOH Fumiyasu wrote: Dovecot auth process has a problem that Dovecot auth delays exiting about between 20 and 60 seconds when Dovecot dovecot (master) process is already terminated by an administrator. > > Yes. I can reproduce with dovecot 1:2.1.7-1 (Deb

[Dovecot] question about changing certificate

2012-06-11 Thread oni-neko
Good day! I'm having trouble changing certificate/keys for my dovecot(version 1.2.9). When I set up the server (unbuntu lts 10.4.4) I did it with a self-signed certificate. I can't remember exactly what I did, just that I followed the wiki and it worked fine =) Now I have to change the certific

Re: [Dovecot] how to announce shared folders to clients using non-default mail prefix

2012-06-11 Thread Timo Sirainen
On 8.6.2012, at 3.34, Tom Lieuallen wrote: > Note that if I change the prefix for that shared namespace to 'iphonemail/', > it does present my shared folders as well as anything in a personal > iphonemail directory. However, 'select' didn't work with the personal > folders. My guess is it's m

Re: [Dovecot] auth_krb5_keytab ignored ?

2012-06-11 Thread Timo Sirainen
On Fri, 2012-06-08 at 18:59 +0200, Leon Meßner wrote: > Hi list, > > i noticed that when doing imap gssapi authentication with kerberos, > dovecot (here 2.1.7) always searches /etc/krb5.keytab although i have > auth_krb5_keytab = /etc/mail3.krb5.keytab in my etc/dovecot/dovecot.conf > and doveconf

Re: [Dovecot] Error: doveadm client attempted non-PLAIN authentication

2012-06-11 Thread Timo Sirainen
On 10.6.2012, at 2.56, Daniel Parthey wrote: > doveadm search -u u...@example.org -S localhost:19000 all > produces the following error in the logs: > dovecot: doveadm: Error: doveadm client attempted non-PLAIN authentication > > What am I missing? It's possible that this is just broken in v2.0.

Re: [Dovecot] director: non standart ports at backends

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 12.27, Костырев Александр Алексеевич wrote: > hello, > I'm trying to figure out how to proxy pop3 and pop3s that listens on > non-standart ports at backends. > For example, pop3 is at 1110 and pop3s at 1995 (on backend side). > is it possible? > how should I separate this ports

Re: [Dovecot] dovecot does not find libpam when compiling with customized prefix

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 8.20, Roland wrote: > I try to compile dovecot 2.1.7 with a customized --prefix setting and > --with-pam . Although I installed libpam into the same --prefix, dovecot does > not find it: > > checking for pam_start in -lpam... no > configure: error: Can't build with PAM support:

Re: [Dovecot] Dovecot over NFS

2012-06-11 Thread Timo Sirainen
On 7.6.2012, at 1.07, James Devine wrote: > I'm playing with running dovecot over NFS and I am running into some > issues. I have followed the guide at http://wiki2.dovecot.org/NFS and my > setup includes 1 nfs server and 1 client running postfix/dovecot. Which NFS server? Which NFS client (Lin

Re: [Dovecot] Very High Load on Dovecot 2 and Errors in mail.err.

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 11.09, Jesper Dahl Nyerup wrote: > Stracing the processes in D state from before they hang has just > revealed something interesting, however, pointing to an issue with > inotify rather than epoll. > > [snip] > [...] > 15414 23:27:36 inotify_init() = 12 <0.24> > [..

Re: [Dovecot] Frequently login problem

2012-06-11 Thread Timo Sirainen
On 4.6.2012, at 13.20, Jitendra Bhaskar wrote: > I am using dovecot 2.1.3 on centos 5.7. It was working fine but last few > days I need to restart or reload dovecot service because at that time users > are not able to login. > > Each time I am getting information from doveco.log is as : > Jun 04

Re: [Dovecot] difference between client_limit and process_limit

2012-06-11 Thread Timo Sirainen
On 11.6.2012, at 13.19, Angel L. Mateo wrote: >> Proxying is done by imap-login process, not imap process. For login >> processes there are different recommendations. >> > What are those recommendations? The ones at > http://wiki2.dovecot.org/LoginProcess? Yes. > Let's suppose...

[Dovecot] Dovecot 2.1 stable packages for Debian?

2012-06-11 Thread Krzysztof Trybowski
Hello all, it is strange, but Dovecot 2.x still didn't make it into Debian (not even backports). It exists in testing, but that's still a long wait. OTOH there are official packages built every day (referenced from the download page). This puzzles me: why isn't there a build created from each stabl

Re: [Dovecot] Director problems

2012-06-11 Thread Joseba Torre
El 09/06/12 23:17, Timo Sirainen escribió: On 6.6.2012, at 16.01, Joseba Torre wrote: I've just setup a testing enviroment for director, and it's not working as expected. I have just 1 director (called director) and 2 dovecot servers (dovecot1 and dovecot2); these are exact copies. First pro

Re: [Dovecot] difference between client_limit and process_limit

2012-06-11 Thread Angel L. Mateo
El 08/06/12 18:43, Timo Sirainen escribió: On 8.6.2012, at 19.33, Reindl Harald wrote: Yes, but like the wiki page also says, it's not a good idea increase client_limit for imap/pop3 processes. depends on the usecase / workload having dovecot as proxy for other imap-backends and 1 process p

[Dovecot] director: non standart ports at backends

2012-06-11 Thread Костырев Александр Алексеевич
hello, I'm trying to figure out how to proxy pop3 and pop3s that listens on non-standart ports at backends. For example, pop3 is at 1110 and pop3s at 1995 (on backend side). is it possible? how should I separate this ports in director's config? it's easy for one port: for example lmtp - you just

Re: [Dovecot] Very High Load on Dovecot 2 and Errors in mail.err.

2012-06-11 Thread Jesper Dahl Nyerup
On May 20 16:29, Urban Loesch wrote: > I checked my kernel and the patch mentioned in > https://bugzilla.redhat.com/show_bug.cgi?id=681578 > > (comment 31) is not applied. It comes in version 3.0.30 and 3.2.17. > > I will see what tomorrow happens under more load. > If I have the problem again,