http://dovecot.org/releases/2.2/rc/dovecot-2.2.13.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.13.rc1.tar.gz.sig There have been a ton of smaller and some larger changes since v2.2.12, so I thought I'd first make a RC release and the final v2.2.13 tomorrow. Please try it out! BTW. I've read most of the mails again in Dovecot mailing list, but there are still a few reported bugs I decided to leave until later. Anyway feel free to re-send any bug reports for things that haven't been fixed in v2.2.13 yet. * Fixed a DoS attack against imap/pop3-login processes. If SSL/TLS handshake was started but wasn't finished, the login process attempted to eventually forcibly disconnect the client, but failed to do it correctly. This could have left the connections hanging arond for a long time. (Affected Dovecot v1.1+) + mdbox: Added mdbox_purge_preserve_alt setting to keep the file within alt storage during purge. (Should become enforced in v2.3.0?) + fts: Added support for parsing attachments via Apache Tika. Enable with: plugin { fts_tika = http://tikahost:9998/tika/ } + virtual plugin: Delay opening backend mailboxes until it's necessary. This requires mailbox_list_index=yes to work. (Currently IMAP IDLE command still causes all backend mailboxes to be opened.) + mail_never_cache_fields=* means now to disable all caching. This may be a useful optimization as doveadm/dsync parameter for some admin tasks which shouldn't really update the cache file. + IMAP: Return SPECIAL-USE flags always for LSUB command. - pop3 server was still crashing in v2.2.12 with some settings - maildir: Various fixes and improvements to handling compressed mails, especially when they have broken/missing S=sizes in filenames. - fts-lucene, fts-solr: Fixed crash on search when the index contained duplicate entries. - Many fixes and performance improvements to dsync and replication - director was somewhat broken when there were exactly two directors in the ring. It caused errors about "weak users" getting stuck. - mail_attachment_dir: Attachments with the last base64-encoded line longer than the rest wasn't handled correctly. - IMAP: SEARCH/SORT PARTIAL was handled completely wrong in v2.2.11+ - acl: Global ACL file handling was broken when multiple entries matched the mailbox name. (Only the first entry was used.)
On 05/08/2014 08:37 AM, Timo Sirainen wrote:> http://dovecot.org/releases/2.2/rc/dovecot-2.2.13.rc1.tar.gz > http://dovecot.org/releases/2.2/rc/dovecot-2.2.13.rc1.tar.gz.sig > > There have been a ton of smaller and some larger changes since v2.2.12, so I thought I'd first make a RC release and the final v2.2.13 tomorrow. Please try it out!Installed here. OK so far ... -- Mark Sapiro <mark at msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Maciej Uhlig
2014-May-09 08:59 UTC
[Dovecot] v2.2.13.rc1 released - Panic: file buffer.c: line 307 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc)
Timo Sirainen - 2014-05-08 17:37:> BTW. I've read most of the mails again in Dovecot mailing list, but there are still a few reported bugs I decided to leave until later. Anyway feel free to re-send any bug reports for things that haven't been fixed in v2.2.13 yet.First report on 2014-01-11 with 2.2.10; bug still present: 2014-05-09T10:18:18+02:00 server/ip dovecot: imap(user at domain): Error: Corrupted transaction log file ./domain/user/mail/.Drafts/dovecot.index.log seq 16777216: log file shrank (540 < 6144) (sync_offset=6144) 2014-05-09T10:18:18+02:00 server/ip dovecot: imap(user at domain): Panic: file buffer.c: line 307 (buffer_set_used_size): assertion failed: (used_size <= buf->alloc) 2014-05-09T10:18:24+02:00 server/ip dovecot: imap(user at domain): Fatal: master: service(imap): child 4098 killed with signal 6 (core dumped) Program terminated with signal 6, Aborted. #0 0x00000033c9a32925 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00000033c9a32925 in raise () from /lib64/libc.so.6 #1 0x00000033c9a34105 in abort () from /lib64/libc.so.6 #2 0x00007f50fd3302b0 in default_fatal_finish () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #3 0x00007f50fd330326 in i_internal_fatal_handler () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #4 0x00007f50fd2e560f in i_panic () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #5 0x00007f50fd32b219 in buffer_set_used_size () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #6 0x00007f50fd67ccb0 in mail_transaction_log_file_open () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #7 0x00007f50fd679548 in mail_transaction_log_open () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #8 0x00007f50fd65f0c4 in mail_index_open_files () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #9 0x00007f50fd65f400 in mail_index_open () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #10 0x00007f50fd65089c in index_storage_mailbox_open () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #11 0x00007f50fd5ea8fa in maildir_mailbox_open_existing () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #12 0x00007f50fd5ea9cf in maildir_mailbox_open () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #13 0x00007f50fd6215b4 in mailbox_open_full () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #14 0x00007f50fd62176f in mailbox_open () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #15 0x0000000000419d10 in client_open_save_dest_box () #16 0x000000000040bf67 in cmd_append () #17 0x0000000000418b0d in command_exec () #18 0x0000000000417ae4 in client_command_input () #19 0x0000000000417c25 in client_command_input () #20 0x0000000000418095 in client_handle_input () #21 0x000000000041896f in client_input () #22 0x00007f50fd3414bd in io_loop_call_io () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #23 0x00007f50fd342885 in io_loop_handler_run_internal () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #24 0x00007f50fd341549 in io_loop_handler_run () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #25 0x00007f50fd3415d8 in io_loop_run () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #26 0x00007f50fd2eaa63 in master_service_run () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #27 0x00000000004227e7 in main () (gdb) Thanks. -- MU -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3354 bytes Desc: Kryptograficzna sygnatura S/MIME URL: <http://dovecot.org/pipermail/dovecot/attachments/20140509/c83a53bb/attachment-0001.p7s>
Maciej Uhlig
2014-May-09 10:35 UTC
[Dovecot] v2.2.13.rc1 released - signal 11, Segmentation fault. in mail_cache_header_fields_read ()
Timo Sirainen - 2014-05-08 17:37:> There have been a ton of smaller and some larger changes since v2.2.12, so I thought I'd first make a RC release and the final v2.2.13 tomorrow. Please try it out!Actually there were seven identical segfaults for the same user in three minutes: Program terminated with signal 11, Segmentation fault. #0 0x00007f54dc1da4c5 in mail_cache_header_fields_read () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 (gdb) bt #0 0x00007f54dc1da4c5 in mail_cache_header_fields_read () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #1 0x00007f54dc1d821a in mail_cache_open_and_verify () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #2 0x00007f54dc1d9e9d in mail_cache_register_get_list () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #3 0x00007f54dc1cec24 in index_mailbox_get_metadata () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #4 0x00007f54dc16a520 in maildir_mailbox_get_metadata () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #5 0x00007f54dc1a133e in mailbox_get_metadata () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #6 0x00007f54dc1cf7d7 in index_copy_cache_fields () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #7 0x00007f54dc168daa in maildir_save_add () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #8 0x00007f54dc16512e in maildir_copy () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #9 0x00007f54db81b521 in notify_copy () from /usr/local/dovecot/lib/dovecot/lib15_notify_plugin.so #10 0x00007f54dbc2b363 in quota_copy () from /usr/local/dovecot/lib/dovecot/lib10_quota_plugin.so #11 0x00007f54dc1a2a5d in mailbox_copy () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #12 0x00007f54dc1a2bcd in mailbox_move () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot-storage.so.0 #13 0x000000000040c667 in cmd_copy_full () #14 0x0000000000418b0d in command_exec () #15 0x0000000000417ae4 in client_command_input () #16 0x0000000000417c25 in client_command_input () #17 0x0000000000418095 in client_handle_input () #18 0x000000000041896f in client_input () #19 0x00007f54dbec14bd in io_loop_call_io () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #20 0x00007f54dbec2885 in io_loop_handler_run_internal () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #21 0x00007f54dbec1549 in io_loop_handler_run () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #22 0x00007f54dbec15d8 in io_loop_run () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #23 0x00007f54dbe6aa63 in master_service_run () from /usr/local/dovecot-2.2.13.rc1/lib/dovecot/libdovecot.so.0 #24 0x00000000004227e7 in main () (gdb) Thanks. -- MU -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3354 bytes Desc: Kryptograficzna sygnatura S/MIME URL: <http://dovecot.org/pipermail/dovecot/attachments/20140509/ac002d66/attachment.p7s>