]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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.
Timo Sirainen [Thu, 4 Aug 2011 17:21:38 +0000 (20:21 +0300)]
ipc client: Fixed crashing on ipc server disconnection.
Timo Sirainen [Thu, 4 Aug 2011 16:57:02 +0000 (19:57 +0300)]
mail_index_get_keywords() / status.keywords weren't actually guaranteed to be NULL terminated
This could have caused crashes or garbage keywords be presented to clients
in some situations.
Timo Sirainen [Thu, 4 Aug 2011 16:29:25 +0000 (19:29 +0300)]
pop3: Fixed RETR/TOP commands.
Timo Sirainen [Thu, 4 Aug 2011 13:45:02 +0000 (16:45 +0300)]
fts-lucene: Several fixes to avoid opening index during expunging.
Timo Sirainen [Thu, 4 Aug 2011 13:44:33 +0000 (16:44 +0300)]
fts: Tell backends if we're currently in the code because we're syncing.
That basically means it's either indexer process or doveadm index.
Timo Sirainen [Thu, 4 Aug 2011 13:43:51 +0000 (16:43 +0300)]
fts: Maildir workaround to avoid assert-crash during indexing.
This should be fixed by simply not having Maildir do a full sync when it's
trying to find some file.
Timo Sirainen [Thu, 4 Aug 2011 13:42:35 +0000 (16:42 +0300)]
fts: Don't fail index build if trying to index a message that is already expunged.
Timo Sirainen [Thu, 4 Aug 2011 13:16:20 +0000 (16:16 +0300)]
fts-lucene: Don't crash when trying to search an unsearchable word.
Timo Sirainen [Thu, 4 Aug 2011 12:49:49 +0000 (15:49 +0300)]
fts-lucene: Fixed checking if we need to track expunges or optimize.
Timo Sirainen [Thu, 4 Aug 2011 12:44:33 +0000 (15:44 +0300)]
fts-lucene: Fixed handling expunges
Timo Sirainen [Thu, 4 Aug 2011 12:40:30 +0000 (15:40 +0300)]
fts: Clear updating flag on update deinit.
Timo Sirainen [Thu, 4 Aug 2011 12:08:44 +0000 (15:08 +0300)]
fts: Define pkglibexecdir explicitly in Makefile.am, since older automakes don't.
Timo Sirainen [Thu, 4 Aug 2011 11:49:36 +0000 (14:49 +0300)]
fts: Added a bit more error checking to decode2text.sh
Timo Sirainen [Thu, 4 Aug 2011 11:13:39 +0000 (14:13 +0300)]
fts: force-resync now calls optimize on the backend.
This mainly works with Lucene backend to recheck what messages actually
exist.
Timo Sirainen [Thu, 4 Aug 2011 11:12:56 +0000 (14:12 +0300)]
fts: NULs weren't still handled correctly in message headers.
Timo Sirainen [Thu, 4 Aug 2011 11:12:30 +0000 (14:12 +0300)]
fts-lucene: Don't crash if optimize can't open the index.
Timo Sirainen [Thu, 4 Aug 2011 11:12:11 +0000 (14:12 +0300)]
fts-lucene: If optimize doesn't find an index, set all UIDs as missing.
Timo Sirainen [Thu, 4 Aug 2011 10:48:14 +0000 (13:48 +0300)]
fts-lucene: Delete stale write locks.
Timo Sirainen [Thu, 4 Aug 2011 10:42:49 +0000 (13:42 +0300)]
fts: Install decode2text to libexecdir.
Timo Sirainen [Thu, 4 Aug 2011 10:40:43 +0000 (13:40 +0300)]
fts: decode2text added support for openxml and opendocument formats
Timo Sirainen [Thu, 4 Aug 2011 10:38:51 +0000 (13:38 +0300)]
fts: Added xml2text binary