[Dovecot] Dovecot 2.0beta3: Crash with mail_log plugin enabled

2010-03-13 Thread Thomas Leuxner
Latest from Mercurial. Dovecot crashes with 'mail_log' and 'notify' plugins enabled when deleting a message: [08:22] root spectre:~# gdb /usr/lib/dovecot/imap /tmp/core GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: [Dovecot] Dovecot 2.0beta3: Auth changes in Mercurial

2010-03-13 Thread Thomas Leuxner
Core dump with all the latest changes: Mar 14 07:22:57 spectre dovecot: master: service(auth): child 1841 killed with signal 11 (core dumped) GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is

Re: [Dovecot] I need IMAP stress testing tool with SEARCH command

2010-03-13 Thread Charles Sprickman
On Fri, 12 Mar 2010, Ernesto Revilla wrote: Hi. Does anyone know of a good imap stress testing tool? And one which supports SEARCH commands? I have to compare Courier and Dovecot. I already did some tests using a modified postal/rabid package. I would be thankfully for any hints. "mstone" is

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-13 Thread Frank Cusack
On 3/14/10 4:48 AM +0200 Timo Sirainen wrote: On 14.3.2010, at 4.40, Frank Cusack wrote: Just playing devil's advocate since you haven't presented the advantage of async I/O. I don't want to guess at the reasoning, but e.g. I hope you're not planning to return success results before I/O actual

Re: [Dovecot] IMAP proxy configuration

2010-03-13 Thread Leonardo Rodrigues
Em 13/03/2010 23:12, Leonardo Rodrigues escreveu: Timo i've tried JOINs, but i've never really understood those crazy things (i'm really very far from being a SQL expert). but seems i got the expected results using UNION and adjusting queries to have the same number of columns. First

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-13 Thread Timo Sirainen
On 14.3.2010, at 4.40, Frank Cusack wrote: > Just playing devil's advocate since you haven't presented the advantage > of async I/O. I don't want to guess at the reasoning, but e.g. I hope > you're not planning to return success results before I/O actually > completes. The idea was that a single

Re: [Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-13 Thread Frank Cusack
On 3/14/10 1:59 AM +0200 Timo Sirainen wrote: The long term plan is to get all of Dovecot disk I/O asynchronous. The first step to that direction would be to make dbox/mdbox I/O asynchronous. This might also allow mbox/maildir to become partially asynchronous. Does it really need to be? Sure,

Re: [Dovecot] IMAP proxy configuration

2010-03-13 Thread Leonardo Rodrigues
Em 13/03/2010 21:23, Timo Sirainen escreveu: So are you saying that the users table contains only local users, while some domain table contains all domains and their destination servers? Then you'll just need to do outer join. Something like: .., domains.host as host, 'Y' as proxy_maybe, .. from

Re: [Dovecot] IMAP proxy configuration

2010-03-13 Thread Timo Sirainen
On Sat, 2010-03-13 at 21:19 -0300, Leonardo Rodrigues wrote: > > > > .., domains.host as host, 'Y' as proxy_maybe, .. > > from emails, domains where domains.domain = '%d', .. > > > > So it's really exactly the same as per-user quota, except you're just > > returning it per-domain in the query. > >

Re: [Dovecot] IMAP proxy configuration

2010-03-13 Thread Leonardo Rodrigues
Em 13/03/2010 18:17, Timo Sirainen escreveu: Basically add to your password_query something like: .., domains.host as host, 'Y' as proxy_maybe, .. from emails, domains where domains.domain = '%d', .. So it's really exactly the same as per-user quota, except you're just returning it per-domain

[Dovecot] Design: Asynchronous I/O for single/multi-dbox

2010-03-13 Thread Timo Sirainen
The long term plan is to get all of Dovecot disk I/O asynchronous. The first step to that direction would be to make dbox/mdbox I/O asynchronous. This might also allow mbox/maildir to become partially asynchronous. http://www.dovecot.org/list/dovecot/2009-December/045481.html already started descr

Re: [Dovecot] Bug in driver-mysql.c + fix

2010-03-13 Thread Timo Sirainen
On Wed, 2010-03-10 at 17:03 +, Alain Williams wrote: > > The problem with doing that is that 1) it's not normally necessary and > > more importantly 2) doing that makes any potential SQL injection > > security holes a lot easier to exploit. So I'm not all that eager in > > adding such code, esp

Re: [Dovecot] IMAP proxy configuration

2010-03-13 Thread Timo Sirainen
On Thu, 2010-03-11 at 09:27 -0300, Leonardo Rodrigues wrote: > # Get the password > password_query = select endereco as user, password, '/var/spool/mail/%u' > as userdb_home, 'maildir:/var/spool/mail/%u' as userdb_mail, 8 as > userdb_uid, 12 as userdb_gid, concat('*:storage=', quota) as > userd

Re: [Dovecot] Plugin like zlib

2010-03-13 Thread Timo Sirainen
On Thu, 2010-03-11 at 19:33 -0300, Alex Baule wrote: > do { > ret = read(zstream->fd ,crypttext, size); > fprintf(zstream->debug,"DENTRO DA READ RET = %d -- ERRNO = %d -- STR > = |%s|\n", ret, errno, strerror(errno)); > if(ret > 0){ > EVP_DecryptUpdate(&ctx,

Re: [Dovecot] Dovecot 2.0beta3: Auth changes in Mercurial

2010-03-13 Thread Thomas Leuxner
Am 13.03.2010 um 18:39 schrieb Timo Sirainen: > I was running mdbox stress testing so I didn't bother to stop that and > test auth commits. :) Fixed now. That does the trick. Thanks.

Re: [Dovecot] Dovecot 2.0beta3: Auth changes in Mercurial

2010-03-13 Thread Timo Sirainen
On Sat, 2010-03-13 at 18:07 +0100, Thomas Leuxner wrote: > are the latest 'Auth-Changes' supposed to be complete? They break > 'al...@domain.tld' logins for me. I was running mdbox stress testing so I didn't bother to stop that and test auth commits. :) Fixed now. signature.asc Description: T

[Dovecot] Dovecot 2.0beta3: Auth changes in Mercurial

2010-03-13 Thread Thomas Leuxner
Hi Timo, are the latest 'Auth-Changes' supposed to be complete? They break 'al...@domain.tld' logins for me. Regards Thomas

Re: [Dovecot] imap support for attachement deletion?

2010-03-13 Thread Louis-David Mitterrand
On Sat, Mar 13, 2010 at 12:25:49PM +0100, Oliver Eales wrote: > > Am 13.03.2010 um 11:26 schrieb Louis-David Mitterrand: > > > Hi, > > > > Does dovecot support in-place attachement deletion? > > > > Mutt currently uploads a new message after deleting attachements. Is > > there a better, imap wa

[Dovecot] extraneous mail folder created

2010-03-13 Thread John Moorhouse
I'm trying to set up dovecot on a Fedora box for about 5 users, I have a raid 5 array that is used for home folders etc mounted on /home, and I've created a directory /home/mail, which I have used a sym link to map /var/mail to. I've created folders for each of the users with relevant permissions a

Re: [Dovecot] Sendmail / Dovecot Config

2010-03-13 Thread John Moorhouse
I've tried this and failed I found a really good article on using postfix with dovecot, so went that route and all is bow well. Thanks for the help. John On 11 Mar 2010, at 17:21, Dennis Guhl wrote: > On Thu, Mar 11, 2010 at 04:40:27PM +, John Moorhouse wrote: > > [..] > >> My only prob

[Dovecot] imap support for attachement deletion?

2010-03-13 Thread Louis-David Mitterrand
Hi, Does dovecot support in-place attachement deletion? Mutt currently uploads a new message after deleting attachements. Is there a better, imap way to do it?