]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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
Timo Sirainen [Thu, 4 Aug 2011 10:05:26 +0000 (13:05 +0300)]
fts: HTML parser now makes sure space is added for each <tag>
This could be smarter though, like not doing this for <span>, but it gets a
bit complex..
Timo Sirainen [Wed, 3 Aug 2011 17:44:43 +0000 (20:44 +0300)]
lib-storage: Don't crash listing subscription entry of "ns prefix" without separator.
Timo Sirainen [Wed, 3 Aug 2011 17:29:53 +0000 (20:29 +0300)]
doveadm server: Non-proxying mode may not have worked.
Timo Sirainen [Wed, 3 Aug 2011 17:29:16 +0000 (20:29 +0300)]
eacces_error_get*(): Handle non-int struct stat.st_mode properly.
Timo Sirainen [Wed, 3 Aug 2011 16:06:37 +0000 (19:06 +0300)]
Merged changes from v2.0 tree.
Timo Sirainen [Wed, 3 Aug 2011 15:59:07 +0000 (18:59 +0300)]
fts: Don't pass NUL bytes to FTS backend. It can confuse them.
Timo Sirainen [Wed, 3 Aug 2011 15:58:45 +0000 (18:58 +0300)]
fts: Fixed a crash in HTML parser.
Timo Sirainen [Wed, 3 Aug 2011 15:54:19 +0000 (18:54 +0300)]
fts: Crashfix.
Timo Sirainen [Tue, 2 Aug 2011 10:29:47 +0000 (13:29 +0300)]
i_getgr*(): OpenBSD workaround is now only used for <5.0.
Patch by Brad.
Timo Sirainen [Fri, 29 Jul 2011 11:30:32 +0000 (14:30 +0300)]
lib-storage: mailbox_list_mailbox() now returns INBOX as nonexistent if it physically doesn't exist.
This is important for MAILBOX_LIST_ITER_NO_AUTO_BOXES to work correctly with
Maildir++ layout INBOX.
Timo Sirainen [Fri, 29 Jul 2011 11:29:01 +0000 (14:29 +0300)]
lib-storage: Added auto_boxes parameter to mailbox_exists().
Timo Sirainen [Fri, 29 Jul 2011 11:21:13 +0000 (14:21 +0300)]
lib-storage: Unit test fix
Timo Sirainen [Fri, 29 Jul 2011 10:41:04 +0000 (13:41 +0300)]
dsync: Crashfix
Timo Sirainen [Fri, 29 Jul 2011 09:25:52 +0000 (12:25 +0300)]
lib-storage: renaming mailboxes under different parent was broken in fs layout
If alt storage was used with sdbox or if index or control dirs were used,
renaming "foo" to "bar/foo" would result "foo" not being renamed for those
directories.
Timo Sirainen [Thu, 28 Jul 2011 21:04:20 +0000 (00:04 +0300)]
lib-storage: Removed unnecessary NULL checks.
Timo Sirainen [Thu, 28 Jul 2011 14:46:37 +0000 (17:46 +0300)]
lib-storage: Fixed crashing on "NOT <nonexistent sequence>" search.
Timo Sirainen [Thu, 28 Jul 2011 14:23:01 +0000 (17:23 +0300)]
fts: Added attachment decoding via an external script.
Timo Sirainen [Thu, 28 Jul 2011 14:01:26 +0000 (17:01 +0300)]
lib-mail: Added message_decoder_set_return_binary()
Timo Sirainen [Thu, 28 Jul 2011 14:01:09 +0000 (17:01 +0300)]
lib-storage: mail->saving was set too late, which could have caused crashes.
Timo Sirainen [Thu, 28 Jul 2011 14:00:29 +0000 (17:00 +0300)]
lmtp: Crashfix
Timo Sirainen [Thu, 28 Jul 2011 13:59:56 +0000 (16:59 +0300)]
"script" service API changed to provide more functionality.
Timo Sirainen [Thu, 28 Jul 2011 09:23:06 +0000 (12:23 +0300)]
mdbox: Crashfix
Timo Sirainen [Thu, 28 Jul 2011 09:08:10 +0000 (12:08 +0300)]
imap: FETCH BODY[HEADER.FIELDS (..)] may have tried to fetch garbage field names.
Such situations were quite likely to cause a crash though.
Timo Sirainen [Wed, 27 Jul 2011 16:46:01 +0000 (19:46 +0300)]
imap-quota: Don't crash if invalid mailbox name is given to GETQUOTAROOT.
Timo Sirainen [Wed, 27 Jul 2011 14:58:27 +0000 (17:58 +0300)]
fts: Strip text/html mails to plaintext before sending them to FTS backend.
Timo Sirainen [Wed, 27 Jul 2011 11:53:52 +0000 (14:53 +0300)]
solr-schema: Version number is Solr's schema version, not Dovecot version.
Timo Sirainen [Tue, 26 Jul 2011 12:09:02 +0000 (15:09 +0300)]
IMAP: Implemented the rest of FUZZY extension.
Timo Sirainen [Tue, 26 Jul 2011 12:04:57 +0000 (15:04 +0300)]
lib-storage: Sorting by relevancy returned messages in reverse order.
Timo Sirainen [Tue, 26 Jul 2011 11:11:23 +0000 (14:11 +0300)]
s/search score/search relevancy/
Timo Sirainen [Tue, 26 Jul 2011 11:10:47 +0000 (14:10 +0300)]
fts-lucene: Added fuzzy search support.
Timo Sirainen [Tue, 26 Jul 2011 11:10:41 +0000 (14:10 +0300)]
fts-solr: Added fuzzy search support.
Timo Sirainen [Tue, 26 Jul 2011 11:09:49 +0000 (14:09 +0300)]
lib-storage: Added FUZZY search key that adds fuzzy=TRUE to its child args.
Timo Sirainen [Tue, 26 Jul 2011 10:55:22 +0000 (13:55 +0300)]
lib-storage: Search query building no longer converts strings to decomposed titlecase.
Timo Sirainen [Tue, 26 Jul 2011 10:54:23 +0000 (13:54 +0300)]
fts-squat: Convert search key to decomposed titlecase instead of assuming it is.
Timo Sirainen [Tue, 26 Jul 2011 10:52:20 +0000 (13:52 +0300)]
lib-mail: message_search_init() now converts search key to decomposed titlecase.
Timo Sirainen [Tue, 26 Jul 2011 10:38:35 +0000 (13:38 +0300)]
fts: Convert input text to decomposed titlecase only for Squat backend.
Lucene and Solr can handle case-insensitivity internally.
Timo Sirainen [Fri, 22 Jul 2011 10:52:27 +0000 (13:52 +0300)]
doveadm dump: Added fts support.
Timo Sirainen [Fri, 22 Jul 2011 10:52:16 +0000 (13:52 +0300)]
fts: Make sure build_more() is called at least once, even when message is 0 bytes.
Timo Sirainen [Fri, 22 Jul 2011 10:51:57 +0000 (13:51 +0300)]
fts: Make sure fts_index_get_last_uid() gets the latest value from index.
Timo Sirainen [Fri, 22 Jul 2011 10:21:59 +0000 (13:21 +0300)]
fts: Redesigned/enhanced FTS API and how virtual plugin works with it.
The changes include:
- Only indexer process and "doveadm index" do FTS indexing now. Other
processes connect to the indexer process via UNIX socket and request
indexing a specific mailbox.
- FTS backends can now index/search any search key. Current backends
implement indexing for some specific header fields (Subject, From, To, Cc,
Bcc), but it would also be possible to add indexing for e.g. message size
or date.
- CLucene support is fixed and fully functional.
- Solr is split to "solr" and "solr_old" backends. The new "solr" backend
supports the new header fields. It also uses mailbox GUIDs as mailbox
identifiers, so that renaming a mailbox doesn't require reindexing.
The "solr_old" uses the old Solr schema and doesn't support any new features.
Timo Sirainen [Fri, 22 Jul 2011 10:13:29 +0000 (13:13 +0300)]
Added uni_utf8_strlen().
Timo Sirainen [Fri, 22 Jul 2011 10:11:26 +0000 (13:11 +0300)]
lib-storage: mailbox_exists() now returns NOSELECT for invalid mailbox names instead of error.
Timo Sirainen [Fri, 22 Jul 2011 10:10:41 +0000 (13:10 +0300)]
lib-storage: Error handling fix for FS layout.
Timo Sirainen [Fri, 22 Jul 2011 10:10:09 +0000 (13:10 +0300)]
lib-mail: Added message_header_is_address()
Timo Sirainen [Fri, 22 Jul 2011 10:09:40 +0000 (13:09 +0300)]
indexer: Fixed loading some plugins when using configure --without-shared-libs.
Timo Sirainen [Fri, 22 Jul 2011 10:09:14 +0000 (13:09 +0300)]
indexer: Send OK reply to client with the given tag.
Timo Sirainen [Fri, 22 Jul 2011 10:08:39 +0000 (13:08 +0300)]
indexer: When worker disconnects, forget which user it was attached to.
This fixes an assert crash.
Timo Sirainen [Tue, 12 Jul 2011 06:59:34 +0000 (09:59 +0300)]
lib-lda: Do INBOX GUID deduplication based on mailbox GUID, not username.
This should be a bit more reliable.