]>
 
 
git.ipfire.org Git - thirdparty/dovecot/core.git/log 
 
 
 
 
 
 
Timo Sirainen  [Thu, 18 Aug 2011 15:12:59 +0000  (18:12 +0300)]  
 
Increased initial memory pool size. 
 
Timo Sirainen  [Thu, 18 Aug 2011 14:59:52 +0000  (17:59 +0300)]  
 
indexer: Code cleanup 
 
Timo Sirainen  [Tue, 16 Aug 2011 20:37:42 +0000  (23:37 +0300)]  
 
fts-lucene: Use TermQuery instead of PrefixQuery for searches. 
Although PrefixQuery gives a more IMAP-like result, it's slower and can 
fail if the prefix string is small. 
 
Timo Sirainen  [Tue, 16 Aug 2011 20:31:31 +0000  (23:31 +0300)]  
 
fts-lucene: Automatically delete corrupted indexes and mark all mailboxes unindexed. 
 
Timo Sirainen  [Tue, 16 Aug 2011 20:21:52 +0000  (23:21 +0300)]  
 
fts-lucene: doveadm fts rescan now resets "last indexed uid" for all mailboxes. 
 
Timo Sirainen  [Tue, 16 Aug 2011 20:12:35 +0000  (23:12 +0300)]  
 
fts-lucene: Avoid unnecessarily creating the lucene-indexes directory. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:53:01 +0000  (22:53 +0300)]  
 
dbox: Create symlink to alt root dir, and warn whenever it changes. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:52:19 +0000  (22:52 +0300)]  
 
lib-storage: Don't crash on getting alt root dir, when no alt dir is specified. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:36:04 +0000  (22:36 +0300)]  
 
lib-storage: Log alt path when mail_debug=yes 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:27:06 +0000  (22:27 +0300)]  
 
lib-index: Optimized handling MAIL_TRANSACTION_EXPUNGE_GUID records in large index. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:26:12 +0000  (22:26 +0300)]  
 
fts-lucene: Don't add messages to expunge log that aren't even in the index. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:23:48 +0000  (22:23 +0300)]  
 
fts-lucene: Once enough messages have been deleted, trigger optimize via indexer. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:22:32 +0000  (22:22 +0300)]  
 
fts-lucene: Yet another (final!) attempt at avoiding "Too Many Clauses" error. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:21:38 +0000  (22:21 +0300)]  
 
fts: Added fts_indexer_cmd() for easily sending commands to indexer. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:21:06 +0000  (22:21 +0300)]  
 
indexer: Added OPTIMIZE command to optimize fts index. 
 
Timo Sirainen  [Tue, 16 Aug 2011 19:20:40 +0000  (22:20 +0300)]  
 
lib-storage: Added MAILBOX_SYNC_FLAG_OPTIMIZE flag for triggering fts optimize. 
This is a pretty ugly kludge, since it does nothing when FTS isn't enabled.. 
 
Timo Sirainen  [Tue, 16 Aug 2011 18:08:23 +0000  (21:08 +0300)]  
 
fts-lucene: Another attempt to avoid "Too Many Clauses" error by not using ? wildcard. 
 
Timo Sirainen  [Tue, 16 Aug 2011 17:04:29 +0000  (20:04 +0300)]  
 
fts-lucene: Fix to previous change: actually use WildcardQuery, not TermQuery.. 
 
Timo Sirainen  [Tue, 16 Aug 2011 16:51:28 +0000  (19:51 +0300)]  
 
lazy-expunge: Avoid crashing if user init fails. 
 
Timo Sirainen  [Tue, 16 Aug 2011 16:46:06 +0000  (19:46 +0300)]  
 
fts-lucene: Use WildcardQuery rather than RangeQuery to limit what UIDs to fetch. 
 
Timo Sirainen  [Tue, 16 Aug 2011 16:19:10 +0000  (19:19 +0300)]  
 
lazy-expunge: Fixed assert-crash when trying to open lazy-expunge mailbox. 
 
Timo Sirainen  [Tue, 16 Aug 2011 16:06:55 +0000  (19:06 +0300)]  
 
lib-storage: MAIL_STORAGE_SERVICE_FLAG_NO_LOG_INIT crashed after previous ioloop change. 
 
Timo Sirainen  [Tue, 16 Aug 2011 15:50:42 +0000  (18:50 +0300)]  
 
fts: Assert-crashfix to HTML parsing if the document ends with a small tag. 
 
Timo Sirainen  [Tue, 16 Aug 2011 15:33:27 +0000  (18:33 +0300)]  
 
Replaced "ioloop log" with a more generic "ioloop context". 
The context can call multiple callbacks that can do anything they want, 
including setting the log prefix. 
 
Timo Sirainen  [Tue, 16 Aug 2011 15:27:40 +0000  (18:27 +0300)]  
 
lib-storage: Fixed assert-crash caused by previous stats change. 
 
Timo Sirainen  [Tue, 16 Aug 2011 14:02:08 +0000  (17:02 +0300)]  
 
lib-storage: Moved stats_* from mail to transaction. 
With the API changes to search, having them in mail doesn't make sense 
anymore, since mailbox_search_next() can return multiple different mails 
with different stats. 
 
Timo Sirainen  [Tue, 16 Aug 2011 13:59:40 +0000  (16:59 +0300)]  
 
Compiler warning fix. 
 
Timo Sirainen  [Mon, 15 Aug 2011 11:48:52 +0000  (14:48 +0300)]  
 
lib-index: Assert-crashfix when reading transaction log header fails with ESTALE. 
 
Timo Sirainen  [Mon, 15 Aug 2011 11:48:18 +0000  (14:48 +0300)]  
 
lib-index: Avoid crashing when dealing with duplicate transaction log sequences. 
 
Timo Sirainen  [Mon, 15 Aug 2011 11:33:36 +0000  (14:33 +0300)]  
 
fts-lucene: Don't crash if expunging didn't actually do anything. 
 
Timo Sirainen  [Sun, 14 Aug 2011 22:18:01 +0000  (01:18  +0300)]  
 
example-config: Updated auth_username_format default to match reality. 
 
Timo Sirainen  [Sun, 14 Aug 2011 22:11:47 +0000  (01:11  +0300)]  
 
lib-storage: Fixed mail_storage_copy_can_use_hardlink() for mode=0600 with different uids. 
 
Timo Sirainen  [Sun, 14 Aug 2011 22:06:19 +0000  (01:06  +0300)]  
 
lib-storage: mailbox_list_get_permissions() now returns struct mailbox_permissions. 
Also added new file_uid and file_gid fields to the mailbox_permissions. 
 
Timo Sirainen  [Sun, 14 Aug 2011 21:44:01 +0000  (00:44  +0300)]  
 
Compiler warning fix. 
 
Timo Sirainen  [Sun, 14 Aug 2011 21:34:45 +0000  (00:34  +0300)]  
 
mbox: Generate mailbox GUID without syncing the mbox, locking it is enough. 
 
Timo Sirainen  [Sun, 14 Aug 2011 21:30:18 +0000  (00:30  +0300)]  
 
mbox: Fixed crashing with pop3_lock_session=yes 
 
Timo Sirainen  [Sun, 14 Aug 2011 20:39:10 +0000  (23:39 +0300)]  
 
lib-storage: Don't crash if INBOX is in a namespace with non-"" non-"INBOX/" prefix. 
 
Timo Sirainen  [Sun, 14 Aug 2011 18:35:39 +0000  (21:35 +0300)]  
 
fts-lucene: doveadm fts rescan now also optimizes the index at the end. 
 
Timo Sirainen  [Sun, 14 Aug 2011 18:29:07 +0000  (21:29 +0300)]  
 
fts-solr-old: Mailbox names are mUTF-7 in the Solr index, not UTF-8. 
 
Timo Sirainen  [Sun, 14 Aug 2011 18:28:28 +0000  (21:28 +0300)]  
 
lib-imap: Added t_imap_utf8_to_utf7() 
 
Timo Sirainen  [Sun, 14 Aug 2011 18:02:43 +0000  (21:02 +0300)]  
 
indexer: Don't die on "idle kill signal" if workers are still busy. 
 
Timo Sirainen  [Sun, 14 Aug 2011 17:55:32 +0000  (20:55 +0300)]  
 
indexer: Potential crashfix on deinit. 
 
Timo Sirainen  [Sun, 14 Aug 2011 17:55:12 +0000  (20:55 +0300)]  
 
fts-lucene: Actually delete messages from index on expunge/rescan. 
 
Timo Sirainen  [Sun, 14 Aug 2011 17:41:44 +0000  (20:41 +0300)]  
 
fts: fts_expunge_log_uid_count() returned garbage on nonexistent log. 
 
Timo Sirainen  [Sun, 14 Aug 2011 17:41:21 +0000  (20:41 +0300)]  
 
fts: Memory leak fix 
 
Timo Sirainen  [Sun, 14 Aug 2011 17:41:06 +0000  (20:41 +0300)]  
 
fts-lucene: Avoid crashing on doveadm dump. 
 
Timo Sirainen  [Sun, 14 Aug 2011 17:40:49 +0000  (20:40 +0300)]  
 
fts-lucene: Fixed doveadm dump's lucene-index detection. 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:39:19 +0000  (17:39 +0300)]  
 
fts-lucene: Use fts expunge log instead of scanning the entire index for expunged mails. 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:37:23 +0000  (17:37 +0300)]  
 
fts: Added "doveadm fts rescan" command. 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:33:29 +0000  (17:33 +0300)]  
 
fts: Added fts_backend_rescan() 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:47:29 +0000  (17:47 +0300)]  
 
fts: Added generic "fts expunge log". 
This is intended to be used by fts backends that can't directly expunge from 
the index, but rather need to log the expunges and do the actual expunging 
later. 
 
Added also "doveadm dump" support for the log. 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:27:05 +0000  (17:27 +0300)]  
 
fts-lucene: Added "doveadm dump" support for lucene index. 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:40:55 +0000  (17:40 +0300)]  
 
lib-storage: Added mail_guid_128_hash/cmp() 
 
Timo Sirainen  [Fri, 12 Aug 2011 14:40:19 +0000  (17:40 +0300)]  
 
liblib: Added generic mem_hash() 
 
Timo Sirainen  [Thu, 11 Aug 2011 15:10:33 +0000  (18:10 +0300)]  
 
fts: Added "doveadm fts optimize" command. 
 
Timo Sirainen  [Thu, 11 Aug 2011 15:05:56 +0000  (18:05 +0300)]  
 
fts-lucene: Several fixes and improvements. 
 
Timo Sirainen  [Thu, 11 Aug 2011 15:03:20 +0000  (18:03 +0300)]  
 
lib-storage: Added mailbox_alloc_guid() for opening mailbox by its GUID. 
 
Timo Sirainen  [Thu, 11 Aug 2011 15:02:25 +0000  (18:02 +0300)]  
 
lib-storage: Added struct mailbox.generation_sequence. 
This can be used for caching struct mailbox pointers and checking later if 
two struct mailboxes + their generation sequences match. If they do, it's 
the same struct mailbox. 
 
Timo Sirainen  [Thu, 11 Aug 2011 14:35:45 +0000  (17:35 +0300)]  
 
fts-lucene: Store indexed header names lowercased so they can actually be searched. 
 
Timo Sirainen  [Wed, 10 Aug 2011 15:53:50 +0000  (18:53 +0300)]  
 
fts-squat: Assert-crashfix on indexing 
 
Timo Sirainen  [Wed, 10 Aug 2011 14:47:50 +0000  (17:47 +0300)]  
 
Removed dead code. 
 
Timo Sirainen  [Wed, 10 Aug 2011 14:43:49 +0000  (17:43 +0300)]  
 
lib-ssl-iostream: ssl_iostream_get_security_string() didn't return compression. 
 
Timo Sirainen  [Wed, 10 Aug 2011 14:37:16 +0000  (17:37 +0300)]  
 
Makefile fixes to include everything in dist 
 
Timo Sirainen  [Wed, 10 Aug 2011 14:37:07 +0000  (17:37 +0300)]  
 
fts: Increased initial memory pool size 
 
Timo Sirainen  [Wed, 10 Aug 2011 14:02:18 +0000  (17:02 +0300)]  
 
Fixed compiling without OpenSSL. 
 
Timo Sirainen  [Wed, 10 Aug 2011 13:50:19 +0000  (16:50 +0300)]  
 
fts-lucene: Added missing textcat.conf 
 
Timo Sirainen  [Wed, 10 Aug 2011 13:16:57 +0000  (16:16 +0300)]  
 
lib-storage: Fixed getting recent count for mailbox when it wasn't synced. 
 
Timo Sirainen  [Wed, 10 Aug 2011 13:08:45 +0000  (16:08 +0300)]  
 
doveadm index -n: Don't sync mailbox when checking the recent count. 
The syncing alone can take a long time with huge maildirs. Better to be 
slightly wrong than waste a lot of time all the time. 
 
Timo Sirainen  [Wed, 10 Aug 2011 13:00:45 +0000  (16:00 +0300)]  
 
lib-storage: Fixes to handling INBOX/ namespace prefix. 
 
Timo Sirainen  [Wed, 10 Aug 2011 12:17:12 +0000  (15:17 +0300)]  
 
indexer: Deinitialize without crashing when there are requests. 
 
Timo Sirainen  [Wed, 10 Aug 2011 12:16:44 +0000  (15:16 +0300)]  
 
indexer: Fix to handling disconnected worker. 
 
Timo Sirainen  [Wed, 10 Aug 2011 12:03:59 +0000  (15:03 +0300)]  
 
fts: Assert-crashfix to HTML parsing. 
 
Timo Sirainen  [Wed, 10 Aug 2011 11:56:00 +0000  (14:56 +0300)]  
 
fts: Don't crash if application/octet-stream attachment doesn't have filename. 
 
Timo Sirainen  [Wed, 10 Aug 2011 11:50:56 +0000  (14:50 +0300)]  
 
indexer: If worker disconnects, log whose requests were discarded. 
 
Timo Sirainen  [Wed, 10 Aug 2011 11:48:08 +0000  (14:48 +0300)]  
 
indexer: Handle unexpected worker disconnections better. 
 
Timo Sirainen  [Wed, 10 Aug 2011 11:19:00 +0000  (14:19 +0300)]  
 
doveadm: The actual doveadm part of the previous commit.. 
 
Timo Sirainen  [Wed, 10 Aug 2011 11:17:54 +0000  (14:17 +0300)]  
 
doveadm index: Added -n parameter to specify max number of recent msgs to perform indexing. 
The idea is that if a user hasn't opened the mailbox for a long time (or 
ever), there's not much point in wasting time on doing indexing. 
 
Timo Sirainen  [Wed, 10 Aug 2011 10:46:31 +0000  (13:46 +0300)]  
 
fts-lucene: Crashfix for handling header searches with stop words (etc). 
 
Timo Sirainen  [Tue, 9 Aug 2011 17:44:34 +0000  (20:44 +0300)]  
 
script: Be sure to handle LF+LF properly. 
 
Timo Sirainen  [Tue, 9 Aug 2011 17:39:33 +0000  (20:39 +0300)]  
 
script: Comment update 
 
Timo Sirainen  [Tue, 9 Aug 2011 17:05:38 +0000  (20:05 +0300)]  
 
indexer-worker: verbose_proctitle=yes now shows username+mailbox. 
 
Timo Sirainen  [Tue, 9 Aug 2011 16:56:54 +0000  (19:56 +0300)]  
 
fts: Data stack access fix. 
 
Timo Sirainen  [Tue, 9 Aug 2011 16:50:02 +0000  (19:50 +0300)]  
 
indexer: Read configuration earlier while we still have privileges. 
 
Timo Sirainen  [Tue, 9 Aug 2011 16:42:23 +0000  (19:42 +0300)]  
 
indexer: If verbose_proctitle=yes, show how many clients/requests there are. 
 
Timo Sirainen  [Tue, 9 Aug 2011 16:28:00 +0000  (19:28 +0300)]  
 
fts-lucene: Fixed compiling without textcat/snowball 
 
Timo Sirainen  [Tue, 9 Aug 2011 13:41:29 +0000  (16:41 +0300)]  
 
fts: Log how many messages were indexed. 
 
Timo Sirainen  [Tue, 9 Aug 2011 13:33:19 +0000  (16:33 +0300)]  
 
lib-index: MAIL_INDEX_SYNC_FLAG_DELETING_INDEX comment updated 
 
Timo Sirainen  [Tue, 9 Aug 2011 13:32:27 +0000  (16:32 +0300)]  
 
lib-index: MAIL_INDEX_SYNC_FLAG_DELETING_INDEX now allows committing changes to deleted index. 
This fixes deleting mailboxes. 
 
Timo Sirainen  [Tue, 9 Aug 2011 12:29:26 +0000  (15:29 +0300)]  
 
fts-lucene: Crashfix when textcat wasn't enabled. 
 
Timo Sirainen  [Tue, 9 Aug 2011 12:05:18 +0000  (15:05 +0300)]  
 
fts-lucene: Added initial support for language detection and stemming. 
This requires textcat and snowball (libstemmer) libraries. This can be 
enabled by setting: 
fts_lucene = textcat_dir=/usr/share/libtextcat \ 
  textcat_conf=/etc/dovecot/textcat.conf 
 
I'm not yet sure how good of an idea it is to actually use this, so it needs 
some testing.. For example how bad is it if language is detected 
incorrectly? 
 
Timo Sirainen  [Tue, 9 Aug 2011 11:13:13 +0000  (14:13 +0300)]  
 
indexer-worker: Added -D parameter to enable core dumps. 
 
Timo Sirainen  [Tue, 9 Aug 2011 10:53:59 +0000  (13:53 +0300)]  
 
decode2text: If unzip fails, just ignore the attachment silently. 
 
Timo Sirainen  [Tue, 9 Aug 2011 10:45:26 +0000  (13:45 +0300)]  
 
fts html parser: Assert-crashfix when parsing entities. 
 
Timo Sirainen  [Tue, 9 Aug 2011 10:42:25 +0000  (13:42 +0300)]  
 
decode2text: Ignore any errors from pdftotext 
 
Timo Sirainen  [Tue, 9 Aug 2011 09:48:15 +0000  (12:48 +0300)]  
 
Compile fix for CentOS 4.9 (and maybe others). 
 
Timo Sirainen  [Sun, 7 Aug 2011 19:28:19 +0000  (22:28 +0300)]  
 
doveadm-server: More fixes 
 
Timo Sirainen  [Sun, 7 Aug 2011 19:11:20 +0000  (22:11 +0300)]  
 
doveadm-server: Many fixes to make it actually work properly. 
 
Timo Sirainen  [Sun, 7 Aug 2011 19:10:23 +0000  (22:10 +0300)]  
 
doveadm index -q: Delay connecting to indexer. 
 
Timo Sirainen  [Sun, 7 Aug 2011 17:47:59 +0000  (20:47 +0300)]  
 
doveadm server: Fixed handling command parameters 
 
Timo Sirainen  [Fri, 5 Aug 2011 09:07:48 +0000  (12:07 +0300)]  
 
fts: decode2text.sh now ignores any errors from doc/xls/ppt decoders.