]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
14 years agofts-lucene: Use fts expunge log instead of scanning the entire index for expunged...
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.

14 years agofts: Added "doveadm fts rescan" command.
Timo Sirainen [Fri, 12 Aug 2011 14:37:23 +0000 (17:37 +0300)] 
fts: Added "doveadm fts rescan" command.

14 years agofts: Added fts_backend_rescan()
Timo Sirainen [Fri, 12 Aug 2011 14:33:29 +0000 (17:33 +0300)] 
fts: Added fts_backend_rescan()

14 years agofts: Added generic "fts expunge log".
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.

14 years agofts-lucene: Added "doveadm dump" support for lucene index.
Timo Sirainen [Fri, 12 Aug 2011 14:27:05 +0000 (17:27 +0300)] 
fts-lucene: Added "doveadm dump" support for lucene index.

14 years agolib-storage: Added mail_guid_128_hash/cmp()
Timo Sirainen [Fri, 12 Aug 2011 14:40:55 +0000 (17:40 +0300)] 
lib-storage: Added mail_guid_128_hash/cmp()

14 years agoliblib: Added generic mem_hash()
Timo Sirainen [Fri, 12 Aug 2011 14:40:19 +0000 (17:40 +0300)] 
liblib: Added generic mem_hash()

14 years agofts: Added "doveadm fts optimize" command.
Timo Sirainen [Thu, 11 Aug 2011 15:10:33 +0000 (18:10 +0300)] 
fts: Added "doveadm fts optimize" command.

14 years agofts-lucene: Several fixes and improvements.
Timo Sirainen [Thu, 11 Aug 2011 15:05:56 +0000 (18:05 +0300)] 
fts-lucene: Several fixes and improvements.

14 years agolib-storage: Added mailbox_alloc_guid() for opening mailbox by its GUID.
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.

14 years agolib-storage: Added struct mailbox.generation_sequence.
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.

14 years agofts-lucene: Store indexed header names lowercased so they can actually be searched.
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.

14 years agofts-squat: Assert-crashfix on indexing
Timo Sirainen [Wed, 10 Aug 2011 15:53:50 +0000 (18:53 +0300)] 
fts-squat: Assert-crashfix on indexing

14 years agoRemoved dead code.
Timo Sirainen [Wed, 10 Aug 2011 14:47:50 +0000 (17:47 +0300)] 
Removed dead code.

14 years agolib-ssl-iostream: ssl_iostream_get_security_string() didn't return compression.
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.

14 years agoMakefile fixes to include everything in dist
Timo Sirainen [Wed, 10 Aug 2011 14:37:16 +0000 (17:37 +0300)] 
Makefile fixes to include everything in dist

14 years agofts: Increased initial memory pool size
Timo Sirainen [Wed, 10 Aug 2011 14:37:07 +0000 (17:37 +0300)] 
fts: Increased initial memory pool size

14 years agoFixed compiling without OpenSSL.
Timo Sirainen [Wed, 10 Aug 2011 14:02:18 +0000 (17:02 +0300)] 
Fixed compiling without OpenSSL.

14 years agofts-lucene: Added missing textcat.conf
Timo Sirainen [Wed, 10 Aug 2011 13:50:19 +0000 (16:50 +0300)] 
fts-lucene: Added missing textcat.conf

14 years agolib-storage: Fixed getting recent count for mailbox when it wasn't synced.
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.

14 years agodoveadm index -n: Don't sync mailbox when checking the recent count.
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.

14 years agolib-storage: Fixes to handling INBOX/ namespace prefix.
Timo Sirainen [Wed, 10 Aug 2011 13:00:45 +0000 (16:00 +0300)] 
lib-storage: Fixes to handling INBOX/ namespace prefix.

14 years agoindexer: Deinitialize without crashing when there are requests.
Timo Sirainen [Wed, 10 Aug 2011 12:17:12 +0000 (15:17 +0300)] 
indexer: Deinitialize without crashing when there are requests.

14 years agoindexer: Fix to handling disconnected worker.
Timo Sirainen [Wed, 10 Aug 2011 12:16:44 +0000 (15:16 +0300)] 
indexer: Fix to handling disconnected worker.

14 years agofts: Assert-crashfix to HTML parsing.
Timo Sirainen [Wed, 10 Aug 2011 12:03:59 +0000 (15:03 +0300)] 
fts: Assert-crashfix to HTML parsing.

14 years agofts: Don't crash if application/octet-stream attachment doesn't have filename.
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.

14 years agoindexer: If worker disconnects, log whose requests were discarded.
Timo Sirainen [Wed, 10 Aug 2011 11:50:56 +0000 (14:50 +0300)] 
indexer: If worker disconnects, log whose requests were discarded.

14 years agoindexer: Handle unexpected worker disconnections better.
Timo Sirainen [Wed, 10 Aug 2011 11:48:08 +0000 (14:48 +0300)] 
indexer: Handle unexpected worker disconnections better.

14 years agodoveadm: The actual doveadm part of the previous commit..
Timo Sirainen [Wed, 10 Aug 2011 11:19:00 +0000 (14:19 +0300)] 
doveadm: The actual doveadm part of the previous commit..

14 years agodoveadm index: Added -n parameter to specify max number of recent msgs to perform...
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.

14 years agofts-lucene: Crashfix for handling header searches with stop words (etc).
Timo Sirainen [Wed, 10 Aug 2011 10:46:31 +0000 (13:46 +0300)] 
fts-lucene: Crashfix for handling header searches with stop words (etc).

14 years agoscript: Be sure to handle LF+LF properly.
Timo Sirainen [Tue, 9 Aug 2011 17:44:34 +0000 (20:44 +0300)] 
script: Be sure to handle LF+LF properly.

14 years agoscript: Comment update
Timo Sirainen [Tue, 9 Aug 2011 17:39:33 +0000 (20:39 +0300)] 
script: Comment update

14 years agoindexer-worker: verbose_proctitle=yes now shows username+mailbox.
Timo Sirainen [Tue, 9 Aug 2011 17:05:38 +0000 (20:05 +0300)] 
indexer-worker: verbose_proctitle=yes now shows username+mailbox.

14 years agofts: Data stack access fix.
Timo Sirainen [Tue, 9 Aug 2011 16:56:54 +0000 (19:56 +0300)] 
fts: Data stack access fix.

14 years agoindexer: Read configuration earlier while we still have privileges.
Timo Sirainen [Tue, 9 Aug 2011 16:50:02 +0000 (19:50 +0300)] 
indexer: Read configuration earlier while we still have privileges.

14 years agoindexer: If verbose_proctitle=yes, show how many clients/requests there are.
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.

14 years agofts-lucene: Fixed compiling without textcat/snowball
Timo Sirainen [Tue, 9 Aug 2011 16:28:00 +0000 (19:28 +0300)] 
fts-lucene: Fixed compiling without textcat/snowball

14 years agofts: Log how many messages were indexed.
Timo Sirainen [Tue, 9 Aug 2011 13:41:29 +0000 (16:41 +0300)] 
fts: Log how many messages were indexed.

14 years agolib-index: MAIL_INDEX_SYNC_FLAG_DELETING_INDEX comment updated
Timo Sirainen [Tue, 9 Aug 2011 13:33:19 +0000 (16:33 +0300)] 
lib-index: MAIL_INDEX_SYNC_FLAG_DELETING_INDEX comment updated

14 years agolib-index: MAIL_INDEX_SYNC_FLAG_DELETING_INDEX now allows committing changes to delet...
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.

14 years agofts-lucene: Crashfix when textcat wasn't enabled.
Timo Sirainen [Tue, 9 Aug 2011 12:29:26 +0000 (15:29 +0300)] 
fts-lucene: Crashfix when textcat wasn't enabled.

14 years agofts-lucene: Added initial support for language detection and stemming.
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?

14 years agoindexer-worker: Added -D parameter to enable core dumps.
Timo Sirainen [Tue, 9 Aug 2011 11:13:13 +0000 (14:13 +0300)] 
indexer-worker: Added -D parameter to enable core dumps.

14 years agodecode2text: If unzip fails, just ignore the attachment silently.
Timo Sirainen [Tue, 9 Aug 2011 10:53:59 +0000 (13:53 +0300)] 
decode2text: If unzip fails, just ignore the attachment silently.

14 years agofts html parser: Assert-crashfix when parsing entities.
Timo Sirainen [Tue, 9 Aug 2011 10:45:26 +0000 (13:45 +0300)] 
fts html parser: Assert-crashfix when parsing entities.

14 years agodecode2text: Ignore any errors from pdftotext
Timo Sirainen [Tue, 9 Aug 2011 10:42:25 +0000 (13:42 +0300)] 
decode2text: Ignore any errors from pdftotext

14 years agoCompile fix for CentOS 4.9 (and maybe others).
Timo Sirainen [Tue, 9 Aug 2011 09:48:15 +0000 (12:48 +0300)] 
Compile fix for CentOS 4.9 (and maybe others).

14 years agodoveadm-server: More fixes
Timo Sirainen [Sun, 7 Aug 2011 19:28:19 +0000 (22:28 +0300)] 
doveadm-server: More fixes

14 years agodoveadm-server: Many fixes to make it actually work properly.
Timo Sirainen [Sun, 7 Aug 2011 19:11:20 +0000 (22:11 +0300)] 
doveadm-server: Many fixes to make it actually work properly.

14 years agodoveadm index -q: Delay connecting to indexer.
Timo Sirainen [Sun, 7 Aug 2011 19:10:23 +0000 (22:10 +0300)] 
doveadm index -q: Delay connecting to indexer.

14 years agodoveadm server: Fixed handling command parameters
Timo Sirainen [Sun, 7 Aug 2011 17:47:59 +0000 (20:47 +0300)] 
doveadm server: Fixed handling command parameters

14 years agofts: decode2text.sh now ignores any errors from doc/xls/ppt decoders.
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.

14 years agoipc client: Fixed crashing on ipc server disconnection.
Timo Sirainen [Thu, 4 Aug 2011 17:21:38 +0000 (20:21 +0300)] 
ipc client: Fixed crashing on ipc server disconnection.

14 years agomail_index_get_keywords() / status.keywords weren't actually guaranteed to be NULL...
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.

14 years agopop3: Fixed RETR/TOP commands.
Timo Sirainen [Thu, 4 Aug 2011 16:29:25 +0000 (19:29 +0300)] 
pop3: Fixed RETR/TOP commands.

14 years agofts-lucene: Several fixes to avoid opening index during expunging.
Timo Sirainen [Thu, 4 Aug 2011 13:45:02 +0000 (16:45 +0300)] 
fts-lucene: Several fixes to avoid opening index during expunging.

14 years agofts: Tell backends if we're currently in the code because we're syncing.
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.

14 years agofts: Maildir workaround to avoid assert-crash during indexing.
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.

14 years agofts: Don't fail index build if trying to index a message that is already expunged.
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.

14 years agofts-lucene: Don't crash when trying to search an unsearchable word.
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.

14 years agofts-lucene: Fixed checking if we need to track expunges or optimize.
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.

14 years agofts-lucene: Fixed handling expunges
Timo Sirainen [Thu, 4 Aug 2011 12:44:33 +0000 (15:44 +0300)] 
fts-lucene: Fixed handling expunges

14 years agofts: Clear updating flag on update deinit.
Timo Sirainen [Thu, 4 Aug 2011 12:40:30 +0000 (15:40 +0300)] 
fts: Clear updating flag on update deinit.

14 years agofts: Define pkglibexecdir explicitly in Makefile.am, since older automakes don't.
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.

14 years agofts: Added a bit more error checking to decode2text.sh
Timo Sirainen [Thu, 4 Aug 2011 11:49:36 +0000 (14:49 +0300)] 
fts: Added a bit more error checking to decode2text.sh

14 years agofts: force-resync now calls optimize on the backend.
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.

14 years agofts: NULs weren't still handled correctly in message headers.
Timo Sirainen [Thu, 4 Aug 2011 11:12:56 +0000 (14:12 +0300)] 
fts: NULs weren't still handled correctly in message headers.

14 years agofts-lucene: Don't crash if optimize can't open the index.
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.

14 years agofts-lucene: If optimize doesn't find an index, set all UIDs as missing.
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.

14 years agofts-lucene: Delete stale write locks.
Timo Sirainen [Thu, 4 Aug 2011 10:48:14 +0000 (13:48 +0300)] 
fts-lucene: Delete stale write locks.

14 years agofts: Install decode2text to libexecdir.
Timo Sirainen [Thu, 4 Aug 2011 10:42:49 +0000 (13:42 +0300)] 
fts: Install decode2text to libexecdir.

14 years agofts: decode2text added support for openxml and opendocument formats
Timo Sirainen [Thu, 4 Aug 2011 10:40:43 +0000 (13:40 +0300)] 
fts: decode2text added support for openxml and opendocument formats

14 years agofts: Added xml2text binary
Timo Sirainen [Thu, 4 Aug 2011 10:38:51 +0000 (13:38 +0300)] 
fts: Added xml2text binary

14 years agofts: HTML parser now makes sure space is added for each <tag>
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..

14 years agolib-storage: Don't crash listing subscription entry of "ns prefix" without separator.
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.

14 years agodoveadm server: Non-proxying mode may not have worked.
Timo Sirainen [Wed, 3 Aug 2011 17:29:53 +0000 (20:29 +0300)] 
doveadm server: Non-proxying mode may not have worked.

14 years agoeacces_error_get*(): Handle non-int struct stat.st_mode properly.
Timo Sirainen [Wed, 3 Aug 2011 17:29:16 +0000 (20:29 +0300)] 
eacces_error_get*(): Handle non-int struct stat.st_mode properly.

14 years agoMerged changes from v2.0 tree.
Timo Sirainen [Wed, 3 Aug 2011 16:06:37 +0000 (19:06 +0300)] 
Merged changes from v2.0 tree.

14 years agofts: Don't pass NUL bytes to FTS backend. It can confuse them.
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.

14 years agofts: Fixed a crash in HTML parser.
Timo Sirainen [Wed, 3 Aug 2011 15:58:45 +0000 (18:58 +0300)] 
fts: Fixed a crash in HTML parser.

14 years agofts: Crashfix.
Timo Sirainen [Wed, 3 Aug 2011 15:54:19 +0000 (18:54 +0300)] 
fts: Crashfix.

14 years agoi_getgr*(): OpenBSD workaround is now only used for <5.0.
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.

14 years agolib-storage: mailbox_list_mailbox() now returns INBOX as nonexistent if it physically...
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.

14 years agolib-storage: Added auto_boxes parameter to mailbox_exists().
Timo Sirainen [Fri, 29 Jul 2011 11:29:01 +0000 (14:29 +0300)] 
lib-storage: Added auto_boxes parameter to mailbox_exists().

14 years agolib-storage: Unit test fix
Timo Sirainen [Fri, 29 Jul 2011 11:21:13 +0000 (14:21 +0300)] 
lib-storage: Unit test fix

14 years agodsync: Crashfix
Timo Sirainen [Fri, 29 Jul 2011 10:41:04 +0000 (13:41 +0300)] 
dsync: Crashfix

14 years agolib-storage: renaming mailboxes under different parent was broken in fs layout
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.

14 years agolib-storage: Removed unnecessary NULL checks.
Timo Sirainen [Thu, 28 Jul 2011 21:04:20 +0000 (00:04 +0300)] 
lib-storage: Removed unnecessary NULL checks.

14 years agolib-storage: Fixed crashing on "NOT <nonexistent sequence>" search.
Timo Sirainen [Thu, 28 Jul 2011 14:46:37 +0000 (17:46 +0300)] 
lib-storage: Fixed crashing on "NOT <nonexistent sequence>" search.

14 years agofts: Added attachment decoding via an external script.
Timo Sirainen [Thu, 28 Jul 2011 14:23:01 +0000 (17:23 +0300)] 
fts: Added attachment decoding via an external script.

14 years agolib-mail: Added message_decoder_set_return_binary()
Timo Sirainen [Thu, 28 Jul 2011 14:01:26 +0000 (17:01 +0300)] 
lib-mail: Added message_decoder_set_return_binary()

14 years agolib-storage: mail->saving was set too late, which could have caused crashes.
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.

14 years agolmtp: Crashfix
Timo Sirainen [Thu, 28 Jul 2011 14:00:29 +0000 (17:00 +0300)] 
lmtp: Crashfix

14 years ago"script" service API changed to provide more functionality.
Timo Sirainen [Thu, 28 Jul 2011 13:59:56 +0000 (16:59 +0300)] 
"script" service API changed to provide more functionality.

14 years agomdbox: Crashfix
Timo Sirainen [Thu, 28 Jul 2011 09:23:06 +0000 (12:23 +0300)] 
mdbox: Crashfix

14 years agoimap: FETCH BODY[HEADER.FIELDS (..)] may have tried to fetch garbage field names.
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.

14 years agoimap-quota: Don't crash if invalid mailbox name is given to GETQUOTAROOT.
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.

14 years agofts: Strip text/html mails to plaintext before sending them to FTS backend.
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.

14 years agosolr-schema: Version number is Solr's schema version, not Dovecot version.
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.