Re: [Dovecot] Authentication cache, failure to login after changed password

2009-05-15 Thread Tom Sommer
Tom Sommer wrote: > Timo Sirainen wrote: >> On Tue, 2009-01-20 at 09:53 +0100, Tom Sommer wrote: >> >>> sql(u...@example.com,127.0.0.1): query: SELECT username as user, >>> plainpassword as password, nopassword FROM cyrususers WHERE username >>> = 'u...@example.com' AND password = PASSWORD('SECRE

Re: [Dovecot] Migration questions...

2009-05-15 Thread Richard Hobbs
Curtis Maloney wrote: > Phillip Macey wrote: >>> Oh, we serve Maildir via Dovecot IMAP and 5000 messages per folder >>> are a wimp. Problems start if the user: > >> We are having some performancec issues on our server at the moment - >> all I can put it down to is the large size of some maildirs.

Re: [Dovecot] Migration questions...

2009-05-15 Thread Seth Mattinen
Richard Hobbs wrote: > Curtis Maloney wrote: >> Phillip Macey wrote: Oh, we serve Maildir via Dovecot IMAP and 5000 messages per folder are a wimp. Problems start if the user: >>> We are having some performancec issues on our server at the moment - >>> all I can put it down to is the larg

Re: [Dovecot] Migration questions...

2009-05-15 Thread Richard Hobbs
Seth Mattinen wrote: > Phillip Macey wrote: >> On 14/05/2009 5:11 PM, Steffen Kaiser wrote: >>> On Wed, 13 May 2009, Richard Hobbs wrote: The main complaint we have from users is that their IMAP Inbox, with 5000 emails in it takes ages to appear, and no amount of coaxing will convinc

Re: [Dovecot] Migration questions...

2009-05-15 Thread Seth Mattinen
Richard Hobbs wrote: > Seth Mattinen wrote: >> Phillip Macey wrote: >>> On 14/05/2009 5:11 PM, Steffen Kaiser wrote: On Wed, 13 May 2009, Richard Hobbs wrote: > The main complaint we have from users is that their IMAP Inbox, with > 5000 emails in it takes ages to appear, and no amount

[Dovecot] migration and conversion from courier

2009-05-15 Thread Giuliano Gavazzi
Dear all, back in January I posted about migration from courier and in particular on the script courier-dovecot-migrate.pl. That script had a bug on BSD (or should I say not-Linux?) type systems*. On FreeBSD (6.1) and MacOSX (10.5) it appended a lot of binary garbage at the end of dovecot-k

Re: [Dovecot] Migration questions...

2009-05-15 Thread Giuliano Gavazzi
On F 15 May, 2009, at 09:39 , Seth Mattinen wrote: This raises an interesting question for me actually... given that we've now decided dovecot and maildir is the way forward for us, which delivery method should we use in exim? exim can support maildir, (right?) and so can dovecot, so should i

Re: [Dovecot] Possibly dumb questions about DC and user/system limits

2009-05-15 Thread Jonathan Siegle
On May 14, 2009, at 2:17 PM, Stewart Dean wrote: Warning: fd limit 2000 is lower than what Dovecot can use under full load (more than 2054). Either grow the limit or change login_max_processes_count and max_mail_processes settings So I changed the no_size and no_size_hard to 3500 and 4000

Re: [Dovecot] Migration questions...

2009-05-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 15 May 2009, Giuliano Gavazzi wrote: well, using an LDA makes a little more cumbersome to check the local recipient at RCPT time. Huh? exim won't try local deliver unless it has decided it is a local recipient. You won't get overquota sta

Re: [Dovecot] Migration questions...

2009-05-15 Thread Richard Hobbs
Seth Mattinen wrote: > Richard Hobbs wrote: >> Curtis Maloney wrote: >>> Phillip Macey wrote: > Oh, we serve Maildir via Dovecot IMAP and 5000 messages per folder > are a wimp. Problems start if the user: We are having some performancec issues on our server at the moment - all I c

Re: [Dovecot] Migration questions...

2009-05-15 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, May 15, 2009 at 11:28:42AM +, Richard Hobbs wrote: [...] > > Only dovecot 'deliver' will update the index on delivery. > > Do does this mean that it's slightly slower to actually deliver the mail > with dovecot (because it's writing two

Re: [Dovecot] Migration questions...

2009-05-15 Thread Richard Hobbs
Seth Mattinen wrote: > Richard Hobbs wrote: >> Seth Mattinen wrote: >>> Phillip Macey wrote: On 14/05/2009 5:11 PM, Steffen Kaiser wrote: > On Wed, 13 May 2009, Richard Hobbs wrote: >> The main complaint we have from users is that their IMAP Inbox, with >> 5000 emails in it takes a

Re: [Dovecot] Migration questions...

2009-05-15 Thread Jakob Hirsch
Seth Mattinen, 2009-05-15 09:39: (right?) and so can dovecot, so should i use dovecot's "deliver" mechanism, or exim's own internal mechanism? Only dovecot 'deliver' will update the index on delivery. That's obvious. But dovecot (AFAIK) updates (not rebuilds) indexes when it sees new message

[Dovecot] Unable to delete folder in public namespace

2009-05-15 Thread Max Ivanov
I use public namespace for group mailboxes. Users are able to create subfolders , but its impossible to delete them. thunderbird 2.0.0.21 complains: "Cant' rename mailbox to another storage type", both namespaces (private and public) use same storage type, so I believe that it's a namespace problem

[Dovecot] Filesystem experience question was Migration questions

2009-05-15 Thread Stewart Dean
Doing a cursory Google scan on journaled Linux filesystems, it seems that the three ground-up journaled FSes: XFS, reiser and JFS all have their separate strong points but all compare favorably. Reiser does a better job with many small files...which would seem to be the reality of maildir for

Re: [Dovecot] Migration questions...

2009-05-15 Thread Giuliano Gavazzi
On F 15 May, 2009, at 12:30 , Steffen Kaiser wrote: On Fri, 15 May 2009, Giuliano Gavazzi wrote: well, using an LDA makes a little more cumbersome to check the local recipient at RCPT time. Huh? exim won't try local deliver unless it has decided it is a local recipient. You won't get ove

[Dovecot] namespace list not working in dovecot 1.2 revision 9027:421393827a81

2009-05-15 Thread Jonathan Siegle
In my config that has worked for some time I have: namespace private { separator = / prefix = ~/ hidden = yes list = no # for v1.1+ } 1 list "~/" * 1 OK List completed. 2 list "~/" % 2 OK List completed. I _think_ that the last time I tested this was 2 weeks ago but it might have be

Re: [Dovecot] Filesystem experience question was Migration questions

2009-05-15 Thread Charles Marcus
On 5/15/2009, Stewart Dean (sd...@bard.edu) wrote: > Reiser does a better job with many small files...which would seem to > be the reality of maildir formatted inboxes. > Any comments on that? I have been using Reiserfs3 on my mail server (maildir format) for 4 years, with zero problems, even afte

Re: [Dovecot] FTS Plugin design

2009-05-15 Thread Rui Carneiro
Citando Timo Sirainen : > 1. You notice a non-text/* content-type and initialize text extraction > for the MIME part. Like: > > struct attachment_extract_context * > attachment_extract_init(const char *content_type); > > 2. After this you feed all the input belonging to that MIME part to: > > in

[Dovecot] Filesystems (was Re: Migration questions...)

2009-05-15 Thread Seth Mattinen
Richard Hobbs wrote: > > Trouble is... i've been googling this as well, just now, and loads of > people say XFS has the better performance, but loads of other people say > ReiserFS has the better performance. It starts to become a religious argument at some point. > We have battery backed up RAI

[Dovecot] cmd_append_continue_parsing assertion failure

2009-05-15 Thread Mike Abbott
Dovecot-1.1.14 on Mac OS X. Panic: IMAP(user): file cmd-append.c: line 266 (cmd_append_continue_parsing): assertion failed: (ctx->count == uid2 - uid1 + 1) Trivially reproducible: $ telnet mailserver 143 a login user password b append inbox Backtrace: 0 libSystem.B.dylib

Re: [Dovecot] cmd_append_continue_parsing assertion failure

2009-05-15 Thread Timo Sirainen
On Fri, 2009-05-15 at 12:00 -0500, Mike Abbott wrote: > Dovecot-1.1.14 on Mac OS X. > Panic: IMAP(user): file cmd-append.c: line 266 > (cmd_append_continue_parsing): assertion failed: (ctx->count == uid2 - > uid1 + 1) > > Trivially reproducible: > $ telnet mailserver 143 > a login user passwor

Re: [Dovecot] Possibly dumb questions about DC and user/system limits

2009-05-15 Thread Jonathan Siegle
On May 14, 2009, at 2:17 PM, Stewart Dean wrote: The only changes was that max_mail_processes went from 1024 to 1280. Now I get a error message when I start DC: Warning: fd limit 2000 is lower than what Dovecot can use under full load (more than 2054). Either grow the limit or change

Re: [Dovecot] Possibly dumb questions about DC and user/system limits

2009-05-15 Thread Stewart Dean
Maybe it's a D'uh for everyone else, but the reason I wasn't getting anywhere when I increased the no_size and no_size_hard (and confirmed that it had changed using the lsuser cmd) was that a) it needed to be done against root, not dovecot and b) I had to exit root and re-login for that to be p

[Dovecot] ext3/ext4 performance issue

2009-05-15 Thread Timo Sirainen
Wonder if anyone else has actually noticed this and has some kind of statistics? http://marc.info/?t=12423400331&r=1&w=2 signature.asc Description: This is a digitally signed message part

[Dovecot] LDAP auth_bind fails to process certain LDAP server responses (Windows AD)

2009-05-15 Thread Konstantin Khomoutov
LDAP auth backend in Dovecot 1.1.5 seemingly fails to handle certain paths of interaction with LDAP server, which is Windows AD running Windows 2003 server machine in my case. The symptoms I observe look exactly as were already reported in [1]: authentication backend "hangs" after logging the

Re: [Dovecot] ext3/ext4 performance issue

2009-05-15 Thread Ralf Hildebrandt
* Timo Sirainen : > Wonder if anyone else has actually noticed this and has some kind of > statistics? > > http://marc.info/?t=12423400331&r=1&w=2 I could run stats here, with 12.000 users to see what the average size is... -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung

Re: [Dovecot] ext3/ext4 performance issue

2009-05-15 Thread Timo Sirainen
On Fri, 2009-05-15 at 22:58 +0200, Ralf Hildebrandt wrote: > * Timo Sirainen : > > Wonder if anyone else has actually noticed this and has some kind of > > statistics? > > > > http://marc.info/?t=12423400331&r=1&w=2 > > I could run stats here, with 12.000 users to see what the average size >

Re: [Dovecot] ext3/ext4 performance issue

2009-05-15 Thread Scott Silva
on 5-15-2009 11:59 AM Timo Sirainen spake the following: > Wonder if anyone else has actually noticed this and has some kind of > statistics? > > http://marc.info/?t=12423400331&r=1&w=2 > One could always run the mailstore on LVM and then you could snapshot the mount and then fsck it while st

Re: [Dovecot] ext3/ext4 performance issue

2009-05-15 Thread Timo Sirainen
On Fri, 2009-05-15 at 17:13 -0400, Timo Sirainen wrote: > > I could run stats here, with 12.000 users to see what the average size > > is... > > It would be interesting to have some kind of statistics for cur/ > directories and get divided by cur> and then see how many users have values that are