[Dovecot] General performance of RC5

2009-06-07 Thread Joan

Hi all,

Switiching to RC5, there is a visible decrease in performance to access 
via IMAP large accounts (>1G) with mutiple mailboxes per accounts.


In RC4, there was no delay visible by a human when accessing locally. 
Now it takes up to 4 or 5 secs.


(running on OpenSuse, mysql 5.1.35 for auth, dbox as back end)

Anybody experienced also this ?

Thanks

Joan


[Dovecot] Mailbox isn't a valid mbox file

2009-06-07 Thread Kenneth Porter
Getting "Mailbox isn't a valid mbox file" on 1.2rc2 after transferring mail 
from an ancient 0.99.13 system. The first line of the file looks ok. 
Curiously, it's one of my archival folders of this list. Here's the first 
header from the top of the file:



From tss at iki.fi  Sat May  1 21:48:17 2004

From: tss at iki.fi (Timo Sirainen)
Date: Sat May  1 21:54:18 2004
Subject: [Dovecot] 1.0-test2 released
Message-ID: <1083437297.21296.19.ca...@hurina>
X-IMAPbase: 108532 20128
Status: RO
X-UID: 14065
Content-Length: 226989
X-Keywords:

It would be nice if the code that verified the mailbox format would log 
details about what it disliked.


Re: [Dovecot] Dovecot + FreeBSD-7.2 + ZFS ?

2009-06-07 Thread Dillon Kass
We use this at work on a fairly busy server with about 1300 email 
accounts. I also use this configuration for my personal server.


It works great, I don't know if you've been using ZFS on 7.0 or 7.1 but 
with 7.2 a lot of nasty things are fixed and it is very stable. On 
earlier versions of FreeBSD with ZFS you needed mmap_disable = yes in 
your dovecot.conf or the index files would get corrupted but that has 
long since been fixed.


I don't know how comfortable you are with FreeBSD but if the answer is 
very you should seriously look in to either checking out RELENG_7 
(optimal) or grabbing this source 
http://svn.freebsd.org/base/user/kmacy/releng_7_2_zfs/ (use 
subversion-freebsd port, keep in mind you wont be able to update your 
source with csup to patch 7.2 because you will end up with an older 
zpool version, you'll need to apply future patches to 7.2 manually).


The ladder is 7.2-RELEASE with the special ZFS v13 code that was 
recently committed. I can tell you with confidence this runs much better 
than the ZFS v6 stuff in the stock 7.2-RELEASE. We have moved almost 
everything over to it and it is absolutely beautiful. You also get all 
the newer zfs dataset features in the v13 stuff (like being able to 
assign l2 arc cache devices, say a really fast ssd to cache maildirs).


Cheers,
Dillon

On 6/7/09 12:03 PM, Geoffroy Desvernay wrote:

Frank Bonnet a écrit :
   

Hello

Anyons has tested this configuration with success ?

I'll test it in few days and I am wondering if I am alone :-)

 

Not ZFS, but various combinations of dovecot 1.1.15+FreeBSD(7.1 and
7.2)+(NFS and UFS). No problem for us® ;)

   




Re: [Dovecot] Multiple mail locations for a single user

2009-06-07 Thread Karsten Bräckelmann
Heya, Ross :)

On Sun, 2009-06-07 at 22:01 +0100, Ross Burton wrote:
> Is there any way to let me access all three maildirs through dovecot?
> I'm guessing that I can do this with namespaces but I'm not sure.  Any
> suggestions and pointers?

Personally, I use different system users on the IMAP server with similar
setups. Since in your case there is no local MTA involved, which is part
of the picture here...

The best thing about different accounts is, that (per-account) default
sender addresses and options just work.


-- 
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



[Dovecot] Multiple mail locations for a single user

2009-06-07 Thread Ross Burton
Hi,

I use offlineimap to cache my remote IMAP mail for my multiple accounts
(personal, work, etc) to several maildirs locally.  At the moment in my
mail client I'm using Dovecot to access one of the maildirs via IMAP,
and then direct maildir access for the others.  This is suboptimal
however because my clients direct maildir support isn't great.

Is there any way to let me access all three maildirs through dovecot?
I'm guessing that I can do this with namespaces but I'm not sure.  Any
suggestions and pointers?

Cheers,
Ross
-- 
Ross Burton mail: r...@burtonini.com
  jabber: r...@burtonini.com
   www: http://burtonini.com



Re: [Dovecot] Dovecot + FreeBSD-7.2 + ZFS ?

2009-06-07 Thread Geoffroy Desvernay
Frank Bonnet a écrit :
> Hello
> 
> Anyons has tested this configuration with success ?
> 
> I'll test it in few days and I am wondering if I am alone :-)
> 
Not ZFS, but various combinations of dovecot 1.1.15+FreeBSD(7.1 and
7.2)+(NFS and UFS). No problem for us® ;)

-- 
Geoffroy Desvernay



signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Password environment variable - logging the password

2009-06-07 Thread Donovan Craig
Timo Sirainen wrote:

> Hmm. I guess it's possible that the password is lost by then.. Then
> another possibility would be to use passdb sql + userdb prefetch and:
>
> password_query = SELECT .., '%w' as userdb_plain_pass, ..

That did the trick.

Thanks so much for your help.






Re: [Dovecot] Password environment variable - logging the password

2009-06-07 Thread Timo Sirainen

On Jun 6, 2009, at 4:04 PM, Donovan Craig wrote:


user_query = SELECT '%w' as plain_pass, ...
then it should be in $PLAIN_PASS environment in post-login script.


This would be great if it worked, but unfortunately this %w is empty  
when I

try to use it.


Hmm. I guess it's possible that the password is lost by then.. Then  
another possibility would be to use passdb sql + userdb prefetch and:


password_query = SELECT .., '%w' as userdb_plain_pass, ..



[Dovecot] Dovecot + FreeBSD-7.2 + ZFS ?

2009-06-07 Thread Frank Bonnet

Hello

Anyons has tested this configuration with success ?

I'll test it in few days and I am wondering if I am alone :-)

Thanks