Re: [Dovecot] Maildir locking

2011-09-15 Thread Timo Sirainen
On Wed, 2011-09-14 at 13:32 +0200, Attila Nagy wrote: Hello, I'm looking for the alternative of qmail's chmod -t (sticky bit on the maildir root) for Dovecot. What I'm trying to achieve with this lock: - Dovecot lmtp should give back a temporary error (so the email will be deferred and

Re: [Dovecot] Maildir locking

2011-09-15 Thread Attila Nagy
On 09/15/11 10:19, Timo Sirainen wrote: On Wed, 2011-09-14 at 13:32 +0200, Attila Nagy wrote: Hello, I'm looking for the alternative of qmail's chmod -t (sticky bit on the maildir root) for Dovecot. What I'm trying to achieve with this lock: - Dovecot lmtp should give back a temporary error

Re: [Dovecot] Maildir locking

2011-09-15 Thread Timo Sirainen
On Thu, 2011-09-15 at 10:25 +0200, Attila Nagy wrote: What is the best way to do this? If there is no such thing currently, would it be hard to implement the sticky bit checking on the root? dovecot-uidlist.lock basically does this. Dovecot comes with maildirlock utility to properly create

Re: [Dovecot] Maildir locking

2011-09-15 Thread Attila Nagy
On 09/15/11 10:39, Timo Sirainen wrote: On Thu, 2011-09-15 at 10:25 +0200, Attila Nagy wrote: What is the best way to do this? If there is no such thing currently, would it be hard to implement the sticky bit checking on the root? dovecot-uidlist.lock basically does this. Dovecot comes with

Re: [Dovecot] Maildir locking

2011-09-15 Thread Timo Sirainen
On Thu, 2011-09-15 at 11:37 +0200, Attila Nagy wrote: So you have a proxy that decides what backend server the connections are redirected to? How about you do it completely without locking with dsync? Moving between servers works basically the same as converting a mailbox format, with the

Re: [Dovecot] Maildir locking

2011-09-15 Thread Attila Nagy
On 09/15/11 11:43, Timo Sirainen wrote: On Thu, 2011-09-15 at 11:37 +0200, Attila Nagy wrote: So you have a proxy that decides what backend server the connections are redirected to? How about you do it completely without locking with dsync? Moving between servers works basically the same as

[Dovecot] Maildir locking

2011-09-14 Thread Attila Nagy
Hello, I'm looking for the alternative of qmail's chmod -t (sticky bit on the maildir root) for Dovecot. What I'm trying to achieve with this lock: - Dovecot lmtp should give back a temporary error (so the email will be deferred and re-delivered later) - all other Dovecot daemons (pop, imap)

Re: [Dovecot] Maildir locking by LDA of dovecot

2008-05-24 Thread Timo Sirainen
On Thu, 2008-05-22 at 10:14 +0400, Mike Grozak wrote: dovecot.log:deliver([EMAIL PROTECTED]): May 16 04:18:48 Info: msgid=[EMAIL PROTECTED]: save failed to INBOX: Timeout while waiting for lock You can't really do much about these on Dovecot's side, but you could try reducing the max. number

[Dovecot] Maildir locking by LDA of dovecot

2008-05-22 Thread Mike Grozak
Hi all! First of all, I want ti thank the whole Dovecot community (developers for developing and fast responses, users for populating and responses too). Dovecot is a really good and fast IMAP server - it serves near 3000 in our installation. Now I have a problem and request community's help

Re: [Dovecot] Maildir locking by LDA of dovecot

2008-05-22 Thread Charles Marcus
On 5/22/2008, Mike Grozak ([EMAIL PROTECTED]) wrote: First of all, I want ti thank the whole Dovecot community (developers for developing and fast responses, users for populating and responses too). Dovecot is a really good and fast IMAP server - it serves near 3000 in our installation. What

Re: [Dovecot] Maildir locking by LDA of dovecot

2008-05-22 Thread Mike Grozak
Charles Marcus wrote: On 5/22/2008, Mike Grozak ([EMAIL PROTECTED]) wrote: First of all, I want ti thank the whole Dovecot community (developers for developing and fast responses, users for populating and responses too). Dovecot is a really good and fast IMAP server - it serves near 3000 in

Re: [Dovecot] Maildir locking by LDA of dovecot

2008-05-22 Thread Charles Marcus
On 5/22/2008 7:06 AM, Mike Grozak wrote: First of all, I want ti thank the whole Dovecot community (developers for developing and fast responses, users for populating and responses too). Dovecot is a really good and fast IMAP server - it serves near 3000 in our installation. What filesystem

[Dovecot] Maildir locking by LDA of dovecot

2008-05-21 Thread Mike Grozak
Hi all! First of all, I want ti thank the whole Dovecot community (developers for developing and fast responses, users for populating and responses too). Dovecot is a really good and fast IMAP server - it serves near 3000 in our installation. Now I have a problem and request community's