[Dovecot-news] v2.0.rc3 released

2010-07-20 Thread Timo Sirainen
http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc3.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc3.tar.gz.sig A lot of dsync fixes. I think I've fixed now all of the bugs ever reported about dsync and I'm hopeful that it's now stable. All the rest of Dovecot looks pretty good too. Maybe

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Thomas Leuxner
On Mon, Jul 19, 2010 at 07:53:49PM +0100, Timo Sirainen wrote: But .. I don't really get it. I guess it has to be related to http://hg.dovecot.org/dovecot-2.0/rev/6b66aad2a997 change. Does reverting that fix it? Reverting this commit fixes it.

[Dovecot] about variables

2010-07-20 Thread alex
Hi In http://wiki.dovecot.org/Variables I found: %s service imap, pop3, smtp, deliver and that can be use in userdb and SQL query string. How exactly can I use %s in the query string if I want for ex to disable a service (just one service - ex pop3) for a specific user. Alex

Re: [Dovecot] about variables

2010-07-20 Thread Arne K. Haje
Tirsdag 20. juli 2010 09.31.51 skrev alex : Hi In http://wiki.dovecot.org/Variables I found: %s service imap, pop3, smtp, deliver and that can be use in userdb and SQL query string. How exactly can I use %s in the query string if I want for ex to disable a service (just one service -

Re: [Dovecot] Problem with hard links in lda - please help

2010-07-20 Thread Fabio Ferrari
Yes, I tried in many ways, the deliver -p FILE -d USER1 -d USER2 is only one of the ways I tried to hardlink a message. I tried even to do deliver -p FILE -d USER1 deliver -p FILE -d USER2 ... deliver -p FILE -d USERN but all commands have the same result, that is the message is copied and not

Re: [Dovecot] Unknown column username in where clause

2010-07-20 Thread Daniel Luttermann
Timo Sirainen wrote on 20.07.2010: On 19.7.2010, at 22.59, Daniel Luttermann wrote: The queries uses only userid instead of username so I think if one sql field were missing it should report that userid could not be found because the query is FROM users WHERE userid = '%u'. I've not

Re: [Dovecot] Problem with hard links in lda - please help

2010-07-20 Thread Timo Sirainen
On 20.7.2010, at 11.03, Fabio Ferrari wrote: deliver -p FILE -d USER1 deliver -p FILE -d USER2 ... deliver -p FILE -d USERN This is how it should be done. The file was exactly the same between all the calls? Did you try running this manually from command line instead of via MTA? Do you

Re: [Dovecot] Problem with hard links in lda - please help

2010-07-20 Thread Fabio Ferrari
On 20.7.2010, at 11.03, Fabio Ferrari wrote: deliver -p FILE -d USER1 deliver -p FILE -d USER2 ... deliver -p FILE -d USERN This is how it should be done. The file was exactly the same between all the calls? Did you try running this manually from command line instead of via MTA? Do you

Re: [Dovecot] Problem with hard links in lda - please help

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 12:53 +0200, Fabio Ferrari wrote: deliver -p FILE -d USER1 deliver -p FILE -d USER2 ... deliver -p FILE -d USERN I noticed one thing: The created file's permissions must be the same as the destination maildir's. So typically the file needs to be 0600 mode. Also all

Re: [Dovecot] about variables

2010-07-20 Thread alex
On 07/20/2010 11:31 AM, Arne K. Haje wrote: Tirsdag 20. juli 2010 09.31.51 skrev alex : Hi In http://wiki.dovecot.org/Variables I found: %s service imap, pop3, smtp, deliver and that can be use in userdb and SQL query string. How exactly can I use %s in the query string if I want for ex

Re: [Dovecot] Mbox corruption - Inbox beginning with 'FFrom' or 'FrFrom'

2010-07-20 Thread Erik Kratzenberg
I experienced this today with my own IMAP folder, so maybe being able to offer a more specific order of events will help. Also not sure if I previously mentioned that this is occasionally happening with IMAP folders even though it's much more common under POP3. 1) I had just cleaned out my

[Dovecot] About Logging

2010-07-20 Thread Henrique Fernandes
It is possible to make dovecot do not log any request from a determined host? Because, we gonna use ldirectord for foward request and etc and the ldirectord makes an connecting every 2 seconds to find out if the server is ok, and also make a login in imap and pop3 to check this service as well.

Re: [Dovecot] About Logging

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 09:44 -0300, Henrique Fernandes wrote: It is possible to make dovecot do not log any request from a determined host? Log to syslog and configure it to filter out those lines you don't like. I think syslog-ng at least supports that..

Re: [Dovecot] About Logging

2010-07-20 Thread Henrique Fernandes
But still, you don't think it wil be implemented on dovecot code ? I will look for syslog to handle it. When i find the answer i post it here. []'sf.rique On Tue, Jul 20, 2010 at 10:36 AM, Timo Sirainen t...@iki.fi wrote: On Tue, 2010-07-20 at 09:44 -0300, Henrique Fernandes wrote: It is

Re: [Dovecot] About Logging

2010-07-20 Thread Timo Sirainen
Kind of a bloaty feature.. v2.0 has a separate log process, maybe it could be configured some day to do some filtering internally. On Tue, 2010-07-20 at 10:43 -0300, Henrique Fernandes wrote: But still, you don't think it wil be implemented on dovecot code ? I will look for syslog to handle

Re: [Dovecot] Doveadm director flush/remove

2010-07-20 Thread Brandon Davidson
Timo, On 7/19/10 9:38 AM, Timo Sirainen t...@iki.fi wrote: http://hg.dovecot.org/dovecot-2.0/rev/f178792fb820 fixes it? It makes it further before crashing. Trace attached. I still wonder why it's timing out in the first place. Didn't you change it to reset the timeout as long as it's still

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 09:10 +0200, Thomas Leuxner wrote: On Mon, Jul 19, 2010 at 07:53:49PM +0100, Timo Sirainen wrote: But .. I don't really get it. I guess it has to be related to http://hg.dovecot.org/dovecot-2.0/rev/6b66aad2a997 change. Does reverting that fix it? Reverting this

Re: [Dovecot] About Logging

2010-07-20 Thread Henrique Fernandes
Oh, sorry i forgot to mentioned I am testing you v2.0 version since beta releases. I am gonna start using it in a production envoriment. It will be couple servers balanced with ldirectord writing in same storage. We are having some trouble, but it is going well. Great Work =] []'sf.rique

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 14:56 +0100, Timo Sirainen wrote: On Tue, 2010-07-20 at 09:10 +0200, Thomas Leuxner wrote: On Mon, Jul 19, 2010 at 07:53:49PM +0100, Timo Sirainen wrote: But .. I don't really get it. I guess it has to be related to http://hg.dovecot.org/dovecot-2.0/rev/6b66aad2a997

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Thomas Leuxner
On Tue, Jul 20, 2010 at 02:56:44PM +0100, Timo Sirainen wrote: How are you compiling Dovecot? What gcc version? Do you give any special parameters? gcc (Debian 4.3.2-1.1) 4.3.2 Using 'dpkg-buildpackage -j4' with standard distro values and pulling sources from Stephan's repo.

Re: [Dovecot] Doveadm director flush/remove

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 06:56 -0700, Brandon Davidson wrote: Timo, On 7/19/10 9:38 AM, Timo Sirainen t...@iki.fi wrote: http://hg.dovecot.org/dovecot-2.0/rev/f178792fb820 fixes it? It makes it further before crashing. Trace attached. I still wonder why it's timing out in the first

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Thomas Leuxner
On Tue, Jul 20, 2010 at 03:02:32PM +0100, Timo Sirainen wrote: I found one bug, but I don't think it should cause the problem you're seeing..: http://hg.dovecot.org/dovecot-2.0/rev/5179e8f41cf4 Interesting. With this is does not crash on the INBOX (Global ACL) but on specific mailbox/folder

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Thomas Leuxner
On Tue, Jul 20, 2010 at 03:02:32PM +0100, Timo Sirainen wrote: I found one bug, but I don't think it should cause the problem you're seeing..: http://hg.dovecot.org/dovecot-2.0/rev/5179e8f41cf4 Even more interesting. It seems this patch prevents crashing the INBOX, but it still would crash on

Re: [Dovecot] Dinamic 'mail_location' for each user

2010-07-20 Thread Thiago Henrique
Hello, I understand your argument, although it's not good for me :) But you can do that yourself when storing the path to database. Build a script that hashes the username path in a way you want, and store that. I wouldn't like to do this. I have a lot of users and I can't to migrate

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 16:34 +0200, Thomas Leuxner wrote: On Tue, Jul 20, 2010 at 03:02:32PM +0100, Timo Sirainen wrote: I found one bug, but I don't think it should cause the problem you're seeing..: http://hg.dovecot.org/dovecot-2.0/rev/5179e8f41cf4 Even more interesting. It seems this

Re: [Dovecot] Mbox corruption - Inbox beginning with 'FFrom' or 'FrFrom'

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 08:42 -0400, Erik Kratzenberg wrote: I experienced this today with my own IMAP folder, so maybe being able to offer a more specific order of events will help. Also not sure if I previously mentioned that this is occasionally happening with IMAP folders even though

[Dovecot] Login process connection routing

2010-07-20 Thread Brandon Davidson
Timo, Just out of curiosity, how are incoming connections routed to login processes when run with: service imap-login { service_count = 0 } I've been playing with this on our test director, and the process connection counts look somewhat unbalanced. I'm wondering if there are any performance

Re: [Dovecot] Login process connection routing

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 09:57 -0700, Brandon Davidson wrote: Timo, Just out of curiosity, how are incoming connections routed to login processes when run with: service imap-login { service_count = 0 } I've been playing with this on our test director, and the process connection counts look

Re: [Dovecot] Dovecot v2.0.rc2 (875598cd7e26): Core dump upon client login

2010-07-20 Thread Thomas Leuxner
Am 20.07.2010 um 18:22 schrieb Timo Sirainen: http://hg.dovecot.org/dovecot-2.0/rev/5b3202a069fa fixes everything? Looks good so far, no crashes, flags working again. Thanks for tracking this down Timo.

Re: [Dovecot] [dovecot] Dovecot Migration so far

2010-07-20 Thread Mark Moseley
On Wed, Jul 7, 2010 at 12:22 PM, Timo Sirainen t...@iki.fi wrote: On Wed, 2010-07-07 at 10:19 -0700, Mark Moseley wrote: On Wed, Jul 7, 2010 at 8:08 AM, Timo Sirainen t...@iki.fi wrote: On Fri, 2010-04-02 at 11:35 -0700, Mark Moseley wrote: Apr 02 13:25:24 imap(m...@box): Error:

Re: [Dovecot] [dovecot] Dovecot Migration so far

2010-07-20 Thread Timo Sirainen
On Tue, 2010-07-20 at 10:55 -0700, Mark Moseley wrote: 1. Jul 20 12:17:30 imap-login: Info: Internal login failure (auth failed, 1 attempts): user=u...@mailbox.com, method=PLAIN, rip=x.x.x.x, lip=192.168.152.37, mpid=0, TLS This is Info message, so it should be accompanied with

Re: [Dovecot] Doveadm director flush/remove

2010-07-20 Thread Brad Davidson
Timo, -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] Did several fixes related to this in different parts of code. Now it should work? :) No more crashes! But it still does fail eventually: [r...@cc-popmap7 ~]# doveadm director map doveadm(root): Error: User listing

Re: [Dovecot] Login process connection routing

2010-07-20 Thread Brad Davidson
Timo, -Original Message- From: Timo Sirainen [mailto:t...@iki.fi] Dovecot lets kernel assign it. Whichever process grabs it first, handles it. Makes sense. You probably have too many login processes. process_min_avail should be set to about the same as the number of CPU cores.

[Dovecot] Sieve Installation

2010-07-20 Thread Carsten Laun-De Lellis
Hallo Versuche unter OpenSuse11.2, 64bit sieve zu installieren. Konfig: OpensSuse 11.2, dovecot 1.2.9, postfix , spamassassin, amavis, mysql Wenn ich versucht dovecot sieve zu übersetzen bekomme ich immer folgende Fehlermeldung: Mit freundlichem Gruß Carsten Laun-De Lellis Dipl.-Ing.

[Dovecot] Sieve Installation

2010-07-20 Thread Carsten Laun-De Lellis
Hallo Ich habe ein Problem bei der Installation von Sieve: Konfiguration: Opensuse 11.2 64bit, dovecot 1.2.9, postfix, amavis, spamassassin. Wenn ich versucht dovecot sieve zu übersetzen bekomme ich immer folgende Fehlermeldung. Making all in libsieve make[1]: Entering directory

[Dovecot] v2.0.rc3 released

2010-07-20 Thread Timo Sirainen
http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc3.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc3.tar.gz.sig A lot of dsync fixes. I think I've fixed now all of the bugs ever reported about dsync and I'm hopeful that it's now stable. All the rest of Dovecot looks pretty good too. Maybe

Re: [Dovecot] Sieve Installation

2010-07-20 Thread Pascal Volk
On 07/20/2010 10:43 PM Carsten Laun-De Lellis wrote: Hallo Ich habe ein Problem bei der Installation von Sieve: Konfiguration: Opensuse 11.2 64bit, dovecot 1.2.9, postfix, amavis, spamassassin. Wenn ich versucht dovecot sieve zu übersetzen bekomme ich immer folgende Fehlermeldung.

[Dovecot] imap core dumping on signal 10

2010-07-20 Thread Chris Hoogendyk
We are just trying to bring up a new server and chose to use Dovecot rather than the uw-imap from our previous servers. At this point I am just testing with some throw away accounts using squirrelmail. I can load my inbox, but then the imap connection is lost. I presume you need some real

Re: [Dovecot] v2.0.rc3 released

2010-07-20 Thread Brandon Lamb
On Tue, Jul 20, 2010 at 1:57 PM, Timo Sirainen t...@iki.fi wrote: http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc3.tar.gz http://dovecot.org/releases/2.0/rc/dovecot-2.0.rc3.tar.gz.sig A lot of dsync fixes. I think I've fixed now all of the bugs ever reported about dsync and I'm hopeful that

Re: [Dovecot] v2.0.rc3 released

2010-07-20 Thread Timo Sirainen
On 21.7.2010, at 0.07, Brandon Lamb wrote: Hey do you also want reports on ANY errors/output from dsync? I was hoping they'd all be gone in rc3. I have a couple mailboxes that I kept getting errors about virtual and/or physical sizes and indexes being corrupt but I just assumed it was a

Re: [Dovecot] v2.0.rc3 released

2010-07-20 Thread Brandon Lamb
On Tue, Jul 20, 2010 at 4:10 PM, Timo Sirainen t...@iki.fi wrote: On 21.7.2010, at 0.07, Brandon Lamb wrote: Hey do you also want reports on ANY errors/output from dsync? I was hoping they'd all be gone in rc3. I have a couple mailboxes that I kept getting errors about virtual and/or

Re: [Dovecot] namespaces

2010-07-20 Thread Pascal Volk
On 07/19/2010 07:09 PM jorge martinez wrote: Hello, i have an issue with vpopmail, this created a sub folder named 0 and all the new users created inside this folder into the domain folder. Weel i don understand why vpopmail do that, but i want to know if the option in dovecot.conf