Re: [Dovecot] mdbox compression

2010-02-05 Thread Patrick Domack
It's the real question of where the file is stored. For me, using nfs, using compression given me several times the performance of nfs, vs not using compression, for html files. I would imagine the same benifits with email. I would say something very close to the same with mdbox, if it's goi

Re: [Dovecot] mdbox compression

2010-02-05 Thread Matt Reimer
On Fri, Feb 5, 2010 at 5:46 PM, Timo Sirainen wrote: > On 6.2.2010, at 3.23, Timo Sirainen wrote: > > > I was thinking that the compression would be delayed so that it would be > done only after mdbox already decided that it wouldn't write any more data > to it. > > Oh, and this is actually why I

Re: [Dovecot] mdbox compression

2010-02-05 Thread Timo Sirainen
On 6.2.2010, at 3.23, Timo Sirainen wrote: > I was thinking that the compression would be delayed so that it would be done > only after mdbox already decided that it wouldn't write any more data to it. Oh, and this is actually why I was thinking that maybe it could be a good idea. If it's only

Re: [Dovecot] mdbox compression

2010-02-05 Thread Stan Hoeppner
Timo Sirainen put forth on 2/5/2010 6:36 PM: > So, compressed mdboxes take 8.5% less space. This was with regular gzip > compression with default level. With bzip2 -9 compression the difference > was 10%. > > Any thoughts on if 8-10% is significant enough improvement to make > seeking performance

Re: [Dovecot] mdbox compression

2010-02-05 Thread Timo Sirainen
On 6.2.2010, at 3.03, Matt Reimer wrote: > Isn't the real difference even smaller? > > 15120350/28311552 = .534 > 16517320/28311552 = .583 > > So that's just under 5%. Well, sure, if you're comparing it to uncompressed data. :) But I think it made more sense to compare the two compression poss

Re: [Dovecot] mdbox compression

2010-02-05 Thread Matt Reimer
On Fri, Feb 5, 2010 at 4:36 PM, Timo Sirainen wrote: > I was wondering if I should add compression support to mdbox one mail at > a time or one file (~2MB) at a time. The tradeoffs are: > > * one mail at a time allows quickly seeking to wanted mail inside the > file, but it can't compress mails

[Dovecot] mdbox compression

2010-02-05 Thread Timo Sirainen
I was wondering if I should add compression support to mdbox one mail at a time or one file (~2MB) at a time. The tradeoffs are: * one mail at a time allows quickly seeking to wanted mail inside the file, but it can't compress mails as well * one file at a time compresses better, but seeking is

Re: [Dovecot] Compressing Maildir mails on delivery

2010-02-05 Thread Timo Sirainen
On Sat, 2010-02-06 at 01:32 +0200, Timo Sirainen wrote: > Now supported by v2.0. Also as a patch to v1.2: > http://dovecot.org/patches/1.2/zlib-compress.diff > > I'm not really sure if I should commit it to v1.2 code tree. The code > contains ugly copy&pasted io_stream_copy() and v1.2 is supposed

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Timo Sirainen
On Fri, 2010-02-05 at 20:28 +0100, Jean-Francois wrote: > Problem identified. If I put in dovecot-sql.conf the following it works > user=abcd password=efgh > > But I have a long password (a sentence) with spaces, how to put it correctly > ? > With quotes ' it does not work, neither with quotes "

[Dovecot] Compressing Maildir mails on delivery

2010-02-05 Thread Timo Sirainen
Now supported by v2.0. Also as a patch to v1.2: http://dovecot.org/patches/1.2/zlib-compress.diff I'm not really sure if I should commit it to v1.2 code tree. The code contains ugly copy&pasted io_stream_copy() and v1.2 is supposed to be feature complete.. signature.asc Description: This is a di

Re: [Dovecot] Forcibly emptying a POP3 mailbox

2010-02-05 Thread Dmitri V. Ivanov
On Fri, Feb 05, 2010 at 08:25:01PM +0200, Timo Sirainen wrote: > On Fri, 2010-02-05 at 19:37 +0300, Dmitri V. Ivanov wrote: > > Well-well-well. I don't know the situation with dovecot POP3 server, but > > look > > on RFC 2449 and especially "expire" extension. > > > > I think there is other quest

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Jean-Francois
Le vendredi 05 février 2010 20:15:14, vous avez écrit : > On Fri, 2010-02-05 at 20:09 +0100, Jean-Francois wrote: > > > > connect = host=/var/www/htdocs/local/sql/mysql.sock dbname=mail > > > > user=user > > > > passdb: > > driver: sql > > args: /etc/dovecot-sql.conf > > So the above con

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Jean-Francois
Le vendredi 05 février 2010 19:27:19, Timo Sirainen a écrit : > On Fri, 2010-02-05 at 17:47 +0100, Jean-Francois wrote: > > dovecot: Feb 05 17:39:37 Error: auth(default): mysql: Missing value in > > connect string: user > > .. > > > and here the dovecot-sql.conf > > .. > > > connect = host=/var

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Timo Sirainen
On Fri, 2010-02-05 at 20:09 +0100, Jean-Francois wrote: > > > connect = host=/var/www/htdocs/local/sql/mysql.sock dbname=mail user=user > passdb: > driver: sql > args: /etc/dovecot-sql.conf So the above connect string is exactly like that in /etc/dovecot-sql.conf? And there aren't multip

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Jean-Francois
Le vendredi 05 février 2010 19:27:19, Timo Sirainen a écrit : > On Fri, 2010-02-05 at 17:47 +0100, Jean-Francois wrote: > > dovecot: Feb 05 17:39:37 Error: auth(default): mysql: Missing value in > > connect string: user > > .. > > > and here the dovecot-sql.conf > > .. > > > connect = host=/var

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Timo Sirainen
On Fri, 2010-02-05 at 17:47 +0100, Jean-Francois wrote: > dovecot: Feb 05 17:39:37 Error: auth(default): mysql: Missing value in > connect > string: user .. > and here the dovecot-sql.conf .. > connect = host=/var/www/htdocs/local/sql/mysql.sock dbname=mail user=user The error message means tha

Re: [Dovecot] Forcibly emptying a POP3 mailbox

2010-02-05 Thread Timo Sirainen
On Fri, 2010-02-05 at 19:37 +0300, Dmitri V. Ivanov wrote: > Well-well-well. I don't know the situation with dovecot POP3 server, but look > on RFC 2449 and especially "expire" extension. > > I think there is other question and it is right one: > > Can dovecot pop3 server deal with pop3 extension

Re: [Dovecot] Bug#564633: dovecot bug: Next message unexpectedly corrupted in mbox file

2010-02-05 Thread Marco Nenciarini
Justin Piszcz ha scritto: > Package: dovecot-imapd > Version: 1.2.9-1 > Distribution: Debian Testing x86_64 > > Problem: See below. > > .. > > Looking further I found this (which is when the problem began to appear > in the logs): > > First time: > Jan 2 09:33:25 l1 dovecot: IMAP(user): Next m

Re: [Dovecot] Bug#564633: dovecot bug: Next message unexpectedly corrupted in mbox file

2010-02-05 Thread Justin Piszcz
On Fri, 5 Feb 2010, Marco Nenciarini wrote: Justin Piszcz ha scritto: Package: dovecot-imapd Version: 1.2.9-1 Distribution: Debian Testing x86_64 Problem: See below. .. Looking further I found this (which is when the problem began to appear in the logs): First time: Jan 2 09:33:25 l1 dov

[Dovecot] Problem with created ~/mail directory

2010-02-05 Thread Chris Adams
If a user doesn't have a ~/mail directory and logs in, the directory is created for them. However, it is created with insecure permissions, 0770 (full group access). The problem is this bit in src/lib-storage/index/mbox/mbox-storage.c: #define CREATE_MODE 0770 /* umask() should limit it more

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Jean-Francois
Le vendredi 05 février 2010 09:11:28, Steffen Kaiser a écrit : > On Thu, 4 Feb 2010, Jean-Francois wrote: > > Actually, I installed Dovecot on an OpenBSD server, however, after > > properly setting (assumed) the confs, Dovecot does'nt start. I don't know > > the reason but don't know how to debug.

Re: [Dovecot] Forcibly emptying a POP3 mailbox

2010-02-05 Thread Dmitri V. Ivanov
On Wed, Feb 03, 2010 at 06:41:34PM +0200, R??zvan Sandu wrote: > Please provide a suggestion for the following situation: > > - I am running a stock POP3 dovecot server, on Fedora 12 (dovecot > version 1.2.9) > .. .. > However, there are users that check the infamous ???Leave a copy on the

Re: [Dovecot] Forcibly emptying a POP3 mailbox

2010-02-05 Thread Charles Marcus
Stan Hoeppner wrote: > In my experience, the only (intelligent) users who "leave a copy > on the server" are those with multiple computers and a provider > who offers only POP, and not IMAP or webmail access to the > mailbox. Agree - and they also usually have *one* of those computers set to dele

Re: [Dovecot] postfix and dovecot on different systems - sasl request

2010-02-05 Thread Robert Schetterer
Am 05.02.2010 15:06, schrieb thomas polnik: > Hello, > > until now I have use postfix and dovecot on the same server. Now I > want/must split this both systems (server1 - postfix, server2 - dovecot). > > I used dovecot auth system for postfix > > ## snip ## > > smtpd_sasl_type = dovecot > smtpd

[Dovecot] postfix and dovecot on different systems - sasl request

2010-02-05 Thread thomas polnik
Hello, until now I have use postfix and dovecot on the same server. Now I want/must split this both systems (server1 - postfix, server2 - dovecot). I used dovecot auth system for postfix ## snip ## smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth ## snap ## but this does not work,

Re: [Dovecot] dovecot-auth stops responding

2010-02-05 Thread Jonathan Siegle
On Oct 28, 2009, at 10:29 AM, Jonathan Siegle wrote: > > On Oct 27, 2009, at 7:36 PM, Timo Sirainen wrote: > >> On Wed, 2009-09-16 at 13:50 -0400, Jonathan Siegle wrote: I found something in syslog today: local0.log.20090916:Sep 16 11:58:01 dovecot: auth(default): BUG: Work

Re: [Dovecot] Fatal: chdir( ) failed: Permission denied

2010-02-05 Thread Helga Mayer
Quoting Timo Sirainen : On Fri, 2009-10-09 at 20:02 +0300, Vallo Kallaste wrote: On Fri, Oct 09, 2009 at 12:14:25PM -0400, Timo Sirainen wrote: > >Oct 9 16:43:49 jura dovecot: dovecot: Fatal: chdir(/a/home/mina) > >failed: Permission denied (euid=1118 > >0(mina) egid=11332(devel) missing +x

Re: [Dovecot] Dovecote does'nt start - no log ?

2010-02-05 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 4 Feb 2010, Jean-Francois wrote: Actually, I installed Dovecot on an OpenBSD server, however, after properly setting (assumed) the confs, Dovecot does'nt start. I don't know the reason but don't know how to debug. Where is the log about reas