[Dovecot] v2.0.5 released
http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz.sig
See the "ACL handling bugs" message for more details about the ACL merging bug.
* acl: Fixed the logic of merging multiple ACL entries. Now it works as
documented, while previously it could have done slightly different
things depending on the order of the entries.
* virtual: Allow opening virtual mailboxes that refer to non-existing
mailboxes. It seems that the benefits of this outweigh the lack of
error message when typoing a mailbox name.
+ Added some disk I/O optimizations to Maildir and index code. They're
especially helpful with short-lived connections like POP3.
+ pop3: Added pop3_fast_size_lookups setting.
- doveconf sometimes failed with complaining about missing ssl_key
setting, causing e.g. dovecot-lda to fail.
- lda: If there's an error in configuration, doveconf didn't exit with
EX_TEMPFAIL as it should have.
- sdbox: Fixed memory leak when copying messages with hard links.
- zlib + sdbox combination didn't work
- zlib: Fixed several crashes, which mainly showed up with mbox.
- quota: Don't crash if user has quota disabled, but plugin loaded.
- doveadm fetch uid was actually returning sequence, not uid.
- v2.0.4's subscription listing ignored (and logged a warning about)
subscriptions=no namespaces' entries in some configurations.
(So listing shared mailboxes' subscriptions could have been broken.)
- acl: Fixed crashing when sometimes listing shared mailboxes via
dict proxy.
On Sat, Oct 2, 2010 at 12:30 AM, Timo Sirainen tss@iki.fi wrote:
http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz.sig
Hi Timo,
For those playing with SIS, is there a difference between 2.0.5 and the hg version?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"If you have nothing good to say about someone, just shut up!." -- Lucky Dube
On 2.10.2010, at 10.24, Odhiambo Washington wrote:
For those playing with SIS, is there a difference between 2.0.5 and the hg version?
I've now updated dovecot-2.0-sis to contain latest changes from 2.0.5. (Ugh, and if anyone wonders, I accidentally first pushed the SIS changes to dovecot-2.0. Reverted them now, hopefully correctly.)
The main problem with SIS is still how to handle single-dbox. I think I'll change it so that the files will be in hash-mailboxguid-imapuid format rather than hash-attachmentguid. The main annoying thing with that is that it then requires locking during saving and copying. I had been thinking about possibly making dbox entirely lockless some day in future, but with SIS it wouldn't be possible. But I guess that's not too bad..
Hi,
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4. (I haven't got more time to look after the issue, it may be obvious from the diffs)
# dovecot -n (after the downgrade) # 2.0.4: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.1-STABLE amd64 auth_cache_size = 104857600 auth_cache_ttl = 86400 s disable_plaintext_auth = no mail_fsync = never mail_gid = 999 mail_location = maildir:~/Maildir mail_plugins = $mail_plugins quota mail_uid = 999 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date passdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { autocreate = INBOX.Trash autocreate2 = INBOX.Drafts autocreate3 = INBOX.Sent autocreate4 = INBOX.Spam autosubscribe = INBOX.Trash autosubscribe2 = INBOX.Drafts autosubscribe3 = INBOX.Sent autosubscribe4 = INBOX.Spam mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename flag_change save mailbox_create mail_log_fields = uid box msgid size flags vsize from subject quota = maildir:User quota } protocols = pop3 imap lmtp service auth { unix_listener auth-userdb { mode = 0600 user = qmailldap } } service imap-login { process_min_avail = 16 service_count = 0 } service imap { client_limit = 8 process_min_avail = 16 service_count = 0 } service lmtp { inet_listener lmtp { port = 24 } user = qmailldap } service pop3-login { process_min_avail = 16 service_count = 0 } service pop3 { client_limit = 8 process_min_avail = 16 service_count = 0 } ssl = no userdb { driver = prefetch } userdb { args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext driver = ldap } protocol lmtp { mail_plugins = $mail_plugins mail_log notify } protocol imap { mail_max_userip_connections = 1024 mail_plugins = $mail_plugins imap_quota autocreate } protocol pop3 { mail_max_userip_connections = 1024 mail_plugins = $mail_plugins autocreate }
On 10/01/10 23:30, Timo Sirainen wrote:
http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.5.tar.gz.sig
See the "ACL handling bugs" message for more details about the ACL merging bug.
- acl: Fixed the logic of merging multiple ACL entries. Now it works as documented, while previously it could have done slightly different things depending on the order of the entries.
- virtual: Allow opening virtual mailboxes that refer to non-existing mailboxes. It seems that the benefits of this outweigh the lack of error message when typoing a mailbox name.
- Added some disk I/O optimizations to Maildir and index code. They're especially helpful with short-lived connections like POP3.
- pop3: Added pop3_fast_size_lookups setting.
- doveconf sometimes failed with complaining about missing ssl_key setting, causing e.g. dovecot-lda to fail.
- lda: If there's an error in configuration, doveconf didn't exit with EX_TEMPFAIL as it should have.
- sdbox: Fixed memory leak when copying messages with hard links.
- zlib + sdbox combination didn't work
- zlib: Fixed several crashes, which mainly showed up with mbox.
- quota: Don't crash if user has quota disabled, but plugin loaded.
- doveadm fetch uid was actually returning sequence, not uid.
- v2.0.4's subscription listing ignored (and logged a warning about) subscriptions=no namespaces' entries in some configurations. (So listing shared mailboxes' subscriptions could have been broken.)
- acl: Fixed crashing when sometimes listing shared mailboxes via dict proxy.
On 04/10/2010 14:27, Attila Nagy wrote:
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4. (I haven't got more time to look after the issue, it may be obvious from the diffs)
You may be probably ten steps ahead of me but I had a thought here which was to try using the "lsof" program to find out what object was associated with the leaked FDs, which might help finding where they are leaking from.
Bill
On Mon, 2010-10-04 at 15:27 +0200, Attila Nagy wrote:
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4.
In which process?
service imap { client_limit = 8
This might not be the best idea. Connections can sometimes block on locks and such for a while and it then causes the other connections in the same process to hang.
On 10/04/10 15:48, Timo Sirainen wrote:
On Mon, 2010-10-04 at 15:27 +0200, Attila Nagy wrote:
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4. In which process? Sorry, I had to quickly downgrade, dovecot ate more than 100k descriptors in some minutes... I just thought that there weren't too many changes between 4 and 5 and it's trivial from a diff where those descriptors can leak (maybe the pop optimization, that's what really spins here). Of course I will look after it in a more quiet time. service imap { client_limit = 8 This might not be the best idea. Connections can sometimes block on locks and such for a while and it then causes the other connections in the same process to hang. I was worried about it too, but so far it seems to handle the load nicely. BTW, it would be nice to have some basic or advanced statistics about service times, it would be great to monitor that, and would also help to size those settings in a real system (finding the balance between in-process parallelism and the number of worker processes).
On Mon, 2010-10-04 at 15:57 +0200, Attila Nagy wrote:
On 10/04/10 15:48, Timo Sirainen wrote:
On Mon, 2010-10-04 at 15:27 +0200, Attila Nagy wrote:
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4. In which process? Sorry, I had to quickly downgrade, dovecot ate more than 100k descriptors in some minutes... I just thought that there weren't too many changes between 4 and 5 and it's trivial from a diff where those descriptors can leak (maybe the pop optimization, that's what really spins here).
Here: http://hg.dovecot.org/dovecot-2.0/rev/2b8b2875af26
I guess it's because you had autocreate plugin enabled and autosubscribe entries. It shouldn't have been writing anything to logs then though, I'll fix that too.
On 10/04/2010 04:57 PM, Timo Sirainen wrote:
On Mon, 2010-10-04 at 15:57 +0200, Attila Nagy wrote:
On 10/04/10 15:48, Timo Sirainen wrote:
On Mon, 2010-10-04 at 15:27 +0200, Attila Nagy wrote:
It seems there is an FD leak in this version. The number of open file descriptors quickly raise after upgrading from 2.0.4. In which process? Sorry, I had to quickly downgrade, dovecot ate more than 100k descriptors in some minutes... I just thought that there weren't too many changes between 4 and 5 and it's trivial from a diff where those descriptors can leak (maybe the pop optimization, that's what really spins here). Here: http://hg.dovecot.org/dovecot-2.0/rev/2b8b2875af26
I guess it's because you had autocreate plugin enabled and autosubscribe entries. It shouldn't have been writing anything to logs then though, I'll fix that too. Thanks, I will try this. I guess it doesn't deserve a tarball re-rolling.
participants (4)
-
Attila Nagy
-
Odhiambo Washington
-
Timo Sirainen
-
William Blunn