]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
14 years agomailbox list indexes: Get mailbox_get_metadata(guid) from index if possible.
Timo Sirainen [Sun, 2 Oct 2011 17:09:04 +0000 (20:09 +0300)] 
mailbox list indexes: Get mailbox_get_metadata(guid) from index if possible.

14 years agolib-storage: mailbox_get_metadata() no longer always opens mailbox.
Timo Sirainen [Sun, 2 Oct 2011 17:06:58 +0000 (20:06 +0300)] 
lib-storage: mailbox_get_metadata() no longer always opens mailbox.

14 years agolib-storage: Compile fix for recent change.
Timo Sirainen [Sun, 2 Oct 2011 17:05:23 +0000 (20:05 +0300)] 
lib-storage: Compile fix for recent change.

14 years agomaildir: Maildir list index change check should always check index log changes.
Timo Sirainen [Sun, 2 Oct 2011 15:54:32 +0000 (18:54 +0300)] 
maildir: Maildir list index change check should always check index log changes.
(Not only when maildir_very_dirty_syncs=no)

14 years agomailbox list indexes: Handle name="" mailboxes.
Timo Sirainen [Sun, 2 Oct 2011 15:49:09 +0000 (18:49 +0300)] 
mailbox list indexes: Handle name="" mailboxes.

14 years agolib-storage: Mailbox list index's ext_id shouldn't be cached in mail_storage.
Timo Sirainen [Sun, 2 Oct 2011 15:39:49 +0000 (18:39 +0300)] 
lib-storage: Mailbox list index's ext_id shouldn't be cached in mail_storage.
It's mailbox_list-specific, not mail_storage-specific. The easiest fix was
to just cache it into mailbox rather than create a new index_mailbox_list.

14 years agomailbox list indexes: Added comment.
Timo Sirainen [Sun, 2 Oct 2011 15:30:32 +0000 (18:30 +0300)] 
mailbox list indexes: Added comment.

14 years agomailbox list indexes: Code cleanups.
Timo Sirainen [Sun, 2 Oct 2011 15:12:05 +0000 (18:12 +0300)] 
mailbox list indexes: Code cleanups.

14 years agomailbox list indexes: Error handling fixes.
Timo Sirainen [Sun, 2 Oct 2011 14:48:23 +0000 (17:48 +0300)] 
mailbox list indexes: Error handling fixes.

14 years agomailbox list indexes: Moved syncing code to separate file.
Timo Sirainen [Sun, 2 Oct 2011 14:34:49 +0000 (17:34 +0300)] 
mailbox list indexes: Moved syncing code to separate file.

14 years agomailbox list indexes: Moved iteration code to separate file.
Timo Sirainen [Sun, 2 Oct 2011 14:18:31 +0000 (17:18 +0300)] 
mailbox list indexes: Moved iteration code to separate file.

14 years agoRenamed index-mailbox-list* to mailbox-list-index*
Timo Sirainen [Sun, 2 Oct 2011 14:12:58 +0000 (17:12 +0300)] 
Renamed index-mailbox-list* to mailbox-list-index*

14 years agomailbox list indexes: Disable index files for shared/public namespaces.
Timo Sirainen [Sun, 2 Oct 2011 13:59:51 +0000 (16:59 +0300)] 
mailbox list indexes: Disable index files for shared/public namespaces.

14 years agomailbox list indexes: Use storage names instead of virtual names.
Timo Sirainen [Sun, 2 Oct 2011 13:55:45 +0000 (16:55 +0300)] 
mailbox list indexes: Use storage names instead of virtual names.

14 years agolmtp: Code cleanup.
Timo Sirainen [Sun, 2 Oct 2011 13:51:40 +0000 (16:51 +0300)] 
lmtp: Code cleanup.

14 years agolda: Code cleanups
Timo Sirainen [Sun, 2 Oct 2011 13:47:25 +0000 (16:47 +0300)] 
lda: Code cleanups

14 years agolda/lmtp: Moved common raw mailbox allocation code to raw-storage.
Timo Sirainen [Sun, 2 Oct 2011 13:35:22 +0000 (16:35 +0300)] 
lda/lmtp: Moved common raw mailbox allocation code to raw-storage.

14 years agolib-storage: Keep mail_user referenced while storage objects exist.
Timo Sirainen [Sun, 2 Oct 2011 13:34:41 +0000 (16:34 +0300)] 
lib-storage: Keep mail_user referenced while storage objects exist.
This allows unreferencing mail_user after mailbox_alloc() and having it
freed on mailbox_free().

14 years agoioloop: Memory leak fix on ioloop destroy.
Timo Sirainen [Sun, 2 Oct 2011 13:33:51 +0000 (16:33 +0300)] 
ioloop: Memory leak fix on ioloop destroy.

14 years agoistream-seekable: Memory leak fix.
Timo Sirainen [Sun, 2 Oct 2011 13:32:59 +0000 (16:32 +0300)] 
istream-seekable: Memory leak fix.

14 years agolda/lmtp: Moved raw user creation code to common raw_storage_create_from_set()
Timo Sirainen [Sun, 2 Oct 2011 13:03:10 +0000 (16:03 +0300)] 
lda/lmtp: Moved raw user creation code to common raw_storage_create_from_set()

14 years agomailbox list index: Minor code cleanup.
Timo Sirainen [Sun, 2 Oct 2011 12:39:45 +0000 (15:39 +0300)] 
mailbox list index: Minor code cleanup.

14 years agoimapc: Changed imapc_client_mailbox_cmd() parameter order to be same as in _cmdf().
Timo Sirainen [Sat, 1 Oct 2011 14:55:18 +0000 (17:55 +0300)] 
imapc: Changed imapc_client_mailbox_cmd() parameter order to be same as in _cmdf().

14 years agoimapc: Don't assert-crash when receiving 0 size literal.
Timo Sirainen [Sat, 1 Oct 2011 14:54:57 +0000 (17:54 +0300)] 
imapc: Don't assert-crash when receiving 0 size literal.

14 years agoimapc: Make sure "is mail expunged?" NOOP is sent to correct connection.
Timo Sirainen [Sat, 1 Oct 2011 14:47:35 +0000 (17:47 +0300)] 
imapc: Make sure "is mail expunged?" NOOP is sent to correct connection.
(Although currently there are never more than a single connection.)

14 years agoimapc: Make sure mail cache is freed when mailbox is closed.
Timo Sirainen [Sat, 1 Oct 2011 14:41:12 +0000 (17:41 +0300)] 
imapc: Make sure mail cache is freed when mailbox is closed.

14 years agoauth: Lazily load authdb_* and mech_* plugins only when they're needed.
Timo Sirainen [Sat, 1 Oct 2011 14:34:39 +0000 (17:34 +0300)] 
auth: Lazily load authdb_* and mech_* plugins only when they're needed.

14 years agoauth: Renamed passdb_imap plugin to authdb_imap.
Timo Sirainen [Sat, 1 Oct 2011 14:24:09 +0000 (17:24 +0300)] 
auth: Renamed passdb_imap plugin to authdb_imap.

14 years agomodule_dir_load*(): Support filtering and ignoring missing modules.
Timo Sirainen [Sat, 1 Oct 2011 14:22:44 +0000 (17:22 +0300)] 
module_dir_load*(): Support filtering and ignoring missing modules.

14 years agoAdded ssl_protocols setting.
Timo Sirainen [Sat, 1 Oct 2011 14:09:00 +0000 (17:09 +0300)] 
Added ssl_protocols setting.

14 years agodoveadm: Compile fix for previous auth change.
Timo Sirainen [Sat, 1 Oct 2011 14:06:04 +0000 (17:06 +0300)] 
doveadm: Compile fix for previous auth change.

14 years agoauth: If password data isn't valid for specified scheme, give a better error message.
Timo Sirainen [Sat, 1 Oct 2011 13:48:17 +0000 (16:48 +0300)] 
auth: If password data isn't valid for specified scheme, give a better error message.

14 years agoimap: Memory leak fixes for invalid parameter handling.
Timo Sirainen [Fri, 30 Sep 2011 16:02:31 +0000 (19:02 +0300)] 
imap: Memory leak fixes for invalid parameter handling.

14 years agoimapc: Keep the last fetched message body cached until mailbox is closed.
Timo Sirainen [Fri, 30 Sep 2011 15:53:09 +0000 (18:53 +0300)] 
imapc: Keep the last fetched message body cached until mailbox is closed.
This primarily helps partial IMAP fetches so each partial fetch doesn't
redownload the message body.

14 years agoimap: Moved partial fetch cache from static variable into struct client.
Timo Sirainen [Fri, 30 Sep 2011 15:19:17 +0000 (18:19 +0300)] 
imap: Moved partial fetch cache from static variable into struct client.

14 years agomaildir: Handle open() failing with ESTALE.
Timo Sirainen [Fri, 30 Sep 2011 12:54:20 +0000 (15:54 +0300)] 
maildir: Handle open() failing with ESTALE.

14 years agostats: Mail commands were sorted in wrong order, so they were never removed from...
Timo Sirainen [Tue, 27 Sep 2011 15:57:14 +0000 (18:57 +0300)] 
stats: Mail commands were sorted in wrong order, so they were never removed from memory.

14 years agopop3: Fixed POP3-order sorting.
Timo Sirainen [Tue, 27 Sep 2011 15:14:32 +0000 (18:14 +0300)] 
pop3: Fixed POP3-order sorting.

14 years agostats: Compiler warning fixes.
Timo Sirainen [Mon, 26 Sep 2011 21:44:03 +0000 (00:44 +0300)] 
stats: Compiler warning fixes.

14 years agostats: Error message fix.
Timo Sirainen [Mon, 26 Sep 2011 21:41:49 +0000 (00:41 +0300)] 
stats: Error message fix.

14 years agoCompile fix for Solaris.
Timo Sirainen [Mon, 26 Sep 2011 21:12:49 +0000 (00:12 +0300)] 
Compile fix for Solaris.

14 years agosdbox: Memory leak fix.
Timo Sirainen [Mon, 26 Sep 2011 18:55:10 +0000 (21:55 +0300)] 
sdbox: Memory leak fix.

14 years agoauth: Added passdb imap plugin.
Timo Sirainen [Mon, 26 Sep 2011 12:36:21 +0000 (15:36 +0300)] 
auth: Added passdb imap plugin.

14 years agoMoved imapc-client into its own lib-imap-client library.
Timo Sirainen [Mon, 26 Sep 2011 12:34:58 +0000 (15:34 +0300)] 
Moved imapc-client into its own lib-imap-client library.

14 years agoman: Added doveadm move.
Pascal Volk [Sun, 25 Sep 2011 22:32:04 +0000 (22:32 +0000)] 
man: Added doveadm move.

14 years agostats: Make sure unfinished commands get freed when their session disconnects.
Timo Sirainen [Fri, 23 Sep 2011 13:07:29 +0000 (16:07 +0300)] 
stats: Make sure unfinished commands get freed when their session disconnects.

14 years agofile_dotlock: And fix to previous change..
Timo Sirainen [Fri, 23 Sep 2011 12:01:57 +0000 (15:01 +0300)] 
file_dotlock: And fix to previous change..

14 years agofile_dotlock: Don't warn about changed mtime when it's 1 second.
Timo Sirainen [Fri, 23 Sep 2011 12:01:23 +0000 (15:01 +0300)] 
file_dotlock: Don't warn about changed mtime when it's 1 second.
This is mainly to avoid bogus warnings with NFS and its caching.

14 years agomaildir: Improved guessing filename when it's still in new/ dir.
Timo Sirainen [Fri, 23 Sep 2011 11:52:46 +0000 (14:52 +0300)] 
maildir: Improved guessing filename when it's still in new/ dir.

14 years agomaildir: Don't always drop new flag from files when syncing.
Timo Sirainen [Fri, 23 Sep 2011 11:38:24 +0000 (14:38 +0300)] 
maildir: Don't always drop new flag from files when syncing.

14 years agolib-storage: mail_namespace_find_unalias() crashed when namespace wasn't found.
Timo Sirainen [Thu, 22 Sep 2011 21:49:51 +0000 (00:49 +0300)] 
lib-storage: mail_namespace_find_unalias() crashed when namespace wasn't found.

14 years agodoveadm server: Previous non-authentication fix broken authentication.
Timo Sirainen [Thu, 22 Sep 2011 21:46:19 +0000 (00:46 +0300)] 
doveadm server: Previous non-authentication fix broken authentication.

14 years agofts: Support also RFC 2231 style parsing when finding the attachment filename.
Timo Sirainen [Thu, 22 Sep 2011 21:04:11 +0000 (00:04 +0300)] 
fts: Support also RFC 2231 style parsing when finding the attachment filename.

14 years agofts: Fixed running attachment decoder scripts.
Timo Sirainen [Thu, 22 Sep 2011 20:59:48 +0000 (23:59 +0300)] 
fts: Fixed running attachment decoder scripts.

14 years agoimapc: Fix to previous message saving change.
Timo Sirainen [Thu, 22 Sep 2011 11:31:57 +0000 (14:31 +0300)] 
imapc: Fix to previous message saving change.

14 years agoimapc: Allow accessing a mail that is being saved without crashing.
Timo Sirainen [Thu, 22 Sep 2011 11:24:03 +0000 (14:24 +0300)] 
imapc: Allow accessing a mail that is being saved without crashing.
This fixes crashes with LDA, LMTP, mail_log plugin, etc.

14 years agoiampc: Small code cleanup.
Timo Sirainen [Thu, 22 Sep 2011 11:21:56 +0000 (14:21 +0300)] 
iampc: Small code cleanup.

14 years agolib-mail: Added broken input workaround to rfc822_parse_content_param().
Timo Sirainen [Thu, 22 Sep 2011 10:09:18 +0000 (13:09 +0300)] 
lib-mail: Added broken input workaround to rfc822_parse_content_param().

14 years agologin: Added -R <dir> parameter to write pre-login rawlogs to given directory.
Timo Sirainen [Thu, 22 Sep 2011 09:54:27 +0000 (12:54 +0300)] 
login: Added -R <dir> parameter to write pre-login rawlogs to given directory.

14 years agologin: "cert required, client didn't start TLS" error could have been logged wrongly.
Timo Sirainen [Wed, 21 Sep 2011 22:38:34 +0000 (01:38 +0300)] 
login: "cert required, client didn't start TLS" error could have been logged wrongly.

14 years agoAdded new mail_location setting "UTF8" to use UTF-8 instead of mUTF-7 in storage...
Timo Sirainen [Wed, 21 Sep 2011 14:51:59 +0000 (17:51 +0300)] 
Added new mail_location setting "UTF8" to use UTF-8 instead of mUTF-7 in storage names.
This basically changes mailbox names to be UTF-8 everywhere where they are
mUTF-7 currently (filesystem, subscriptions, etc.)

14 years agoimapc: Don't try to send literal stream output until its '+' has been received.
Timo Sirainen [Wed, 21 Sep 2011 13:18:19 +0000 (16:18 +0300)] 
imapc: Don't try to send literal stream output until its '+' has been received.

14 years agoimapc: Added imapc_rawlog_dir setting.
Timo Sirainen [Wed, 21 Sep 2011 12:58:26 +0000 (15:58 +0300)] 
imapc: Added imapc_rawlog_dir setting.

14 years agoAdded rawlog i/ostreams.
Timo Sirainen [Wed, 21 Sep 2011 12:57:57 +0000 (15:57 +0300)] 
Added rawlog i/ostreams.

14 years agolib-ssl-iostream: If flush wants to read, make sure the flush callback isn't being...
Timo Sirainen [Wed, 21 Sep 2011 12:54:06 +0000 (15:54 +0300)] 
lib-ssl-iostream: If flush wants to read, make sure the flush callback isn't being called again.

14 years agoostream: Keep track of flush callback for filter ostreams as well.
Timo Sirainen [Wed, 21 Sep 2011 12:53:00 +0000 (15:53 +0300)] 
ostream: Keep track of flush callback for filter ostreams as well.

14 years agoi_stream_next_line(): Don't fail if stream doesn't have write buffer, we can handle it.
Timo Sirainen [Wed, 21 Sep 2011 12:51:00 +0000 (15:51 +0300)] 
i_stream_next_line(): Don't fail if stream doesn't have write buffer, we can handle it.

14 years agoSimplified creating filter ostreams.
Timo Sirainen [Wed, 21 Sep 2011 11:40:35 +0000 (14:40 +0300)] 
Simplified creating filter ostreams.

14 years agoRenamed lib/*-internal.h files to lib/*-private.h for consistency.
Timo Sirainen [Wed, 21 Sep 2011 10:56:13 +0000 (13:56 +0300)] 
Renamed lib/*-internal.h files to lib/*-private.h for consistency.

14 years agodoveadm: Fixed sending commands to doveadm server when it didn't require authentication.
Timo Sirainen [Mon, 19 Sep 2011 14:10:11 +0000 (17:10 +0300)] 
doveadm: Fixed sending commands to doveadm server when it didn't require authentication.

14 years agolib-ssl-iostream: Don't require SSL ostream to always have unlimited buffer size.
Timo Sirainen [Wed, 21 Sep 2011 09:34:02 +0000 (12:34 +0300)] 
lib-ssl-iostream: Don't require SSL ostream to always have unlimited buffer size.
It's important when reading/handshaking wants to write to output buffer, but
writing itself can safely have zero sized buffer (e.g.  while sending a
large input stream).

14 years agoimapc: Added more checks to catch buggy IMAP server responses.
Timo Sirainen [Tue, 20 Sep 2011 13:44:32 +0000 (16:44 +0300)] 
imapc: Added more checks to catch buggy IMAP server responses.

14 years agoimapc: When remote IMAP server becomes confused, don't mark our indexes corrupted.
Timo Sirainen [Tue, 20 Sep 2011 13:42:58 +0000 (16:42 +0300)] 
imapc: When remote IMAP server becomes confused, don't mark our indexes corrupted.
Mark them corrupted only when after a reconnection the initial mailbox sync
doesn't work.

14 years agoimapc: Filter out X-Message-Flag: header from incoming mails.
Timo Sirainen [Tue, 20 Sep 2011 12:36:39 +0000 (15:36 +0300)] 
imapc: Filter out X-Message-Flag: header from incoming mails.
This is only added by MS Exchange when \Flagged flag is set, so it could be
made optional, but it probably doesn't really hurt to just make it
unconditional to ease the configuration.

14 years agoimapc: If FETCH is missing a reply, but we haven't seen EXPUNGE for it, do NOOP and...
Timo Sirainen [Tue, 20 Sep 2011 12:22:37 +0000 (15:22 +0300)] 
imapc: If FETCH is missing a reply, but we haven't seen EXPUNGE for it, do NOOP and check again.
This fixes checking if message is expunged with servers that don't
immediately send EXPUNGE during UID FETCH.

14 years agoIncreased initial memory pool sizes.
Timo Sirainen [Tue, 20 Sep 2011 10:34:52 +0000 (13:34 +0300)] 
Increased initial memory pool sizes.

14 years agoimapc: If mailbox sync fails, don't mark index corrupted.
Timo Sirainen [Tue, 20 Sep 2011 10:34:36 +0000 (13:34 +0300)] 
imapc: If mailbox sync fails, don't mark index corrupted.
The sync could have failed because of disconnection. The failure will just
cause the sync to be rollbacked and retried later. No need to delete the
whole index.

14 years agoimapc: next_uid was sometimes lowered.
Timo Sirainen [Tue, 20 Sep 2011 10:33:34 +0000 (13:33 +0300)] 
imapc: next_uid was sometimes lowered.

14 years agoimapc: When IMAP server unexpectedly doesn't send a reply, log also the mailbox name.
Timo Sirainen [Tue, 20 Sep 2011 10:31:32 +0000 (13:31 +0300)] 
imapc: When IMAP server unexpectedly doesn't send a reply, log also the mailbox name.

14 years agoinotify: If read() fails with EAGAIN, ignore it instead of dying.
Timo Sirainen [Tue, 20 Sep 2011 10:30:08 +0000 (13:30 +0300)] 
inotify: If read() fails with EAGAIN, ignore it instead of dying.

14 years agoimapc: Handle disconnection better when fetching a mail.
Timo Sirainen [Tue, 20 Sep 2011 08:53:02 +0000 (11:53 +0300)] 
imapc: Handle disconnection better when fetching a mail.

14 years agoEnable --no-undefined linker flag only for Linux.
Timo Sirainen [Mon, 19 Sep 2011 15:41:36 +0000 (18:41 +0300)] 
Enable --no-undefined linker flag only for Linux.
BSDs don't seem to be happy with it.

14 years agofts-lucene: Fixed to work without stemmer support.
Timo Sirainen [Mon, 19 Sep 2011 15:33:40 +0000 (18:33 +0300)] 
fts-lucene: Fixed to work without stemmer support.

14 years agoCompile fix for OpenBSD.
Timo Sirainen [Mon, 19 Sep 2011 15:28:14 +0000 (18:28 +0300)] 
Compile fix for OpenBSD.

14 years agodoveadm: Typofix s/messsage/message/
Timo Sirainen [Mon, 19 Sep 2011 11:25:29 +0000 (14:25 +0300)] 
doveadm: Typofix s/messsage/message/

14 years agoAdded signature for changeset f9e744ffe021
Timo Sirainen [Fri, 16 Sep 2011 14:00:30 +0000 (17:00 +0300)] 
Added signature for changeset f9e744ffe021

14 years agoAdded tag 2.1.alpha2 for changeset f9e744ffe021
Timo Sirainen [Fri, 16 Sep 2011 14:00:24 +0000 (17:00 +0300)] 
Added tag 2.1.alpha2 for changeset f9e744ffe021

14 years agoReleased v2.1.alpha2. 2.1.alpha2
Timo Sirainen [Fri, 16 Sep 2011 14:00:24 +0000 (17:00 +0300)] 
Released v2.1.alpha2.

14 years agoMerged changes from v2.0.15.
Timo Sirainen [Fri, 16 Sep 2011 13:59:10 +0000 (16:59 +0300)] 
Merged changes from v2.0.15.

14 years agoAdded signature for changeset 11ef52450096
Timo Sirainen [Fri, 16 Sep 2011 13:45:25 +0000 (16:45 +0300)] 
Added signature for changeset 11ef52450096

14 years agoAdded tag 2.0.15 for changeset 11ef52450096
Timo Sirainen [Fri, 16 Sep 2011 13:45:22 +0000 (16:45 +0300)] 
Added tag 2.0.15 for changeset 11ef52450096

14 years agoReleased v2.0.15. 2.0.15
Timo Sirainen [Fri, 16 Sep 2011 13:45:22 +0000 (16:45 +0300)] 
Released v2.0.15.

14 years agoauth: Use "auth-worker:" log prefix for auth worker processes.
Timo Sirainen [Fri, 16 Sep 2011 13:40:32 +0000 (16:40 +0300)] 
auth: Use "auth-worker:" log prefix for auth worker processes.

14 years agoTODO updated
Timo Sirainen [Fri, 16 Sep 2011 13:14:14 +0000 (16:14 +0300)] 
TODO updated

14 years agoacl: Fixed listing multiple shared namespaces.
Timo Sirainen [Fri, 16 Sep 2011 13:01:53 +0000 (16:01 +0300)] 
acl: Fixed listing multiple shared namespaces.

14 years agolib-storage: Don't try to use the same mail_storage for shared storages.
Timo Sirainen [Fri, 16 Sep 2011 13:01:29 +0000 (16:01 +0300)] 
lib-storage: Don't try to use the same mail_storage for shared storages.
This fixes having multiple independent shared namespaces.

14 years agolib-storage: Improved debug logging messages.
Timo Sirainen [Fri, 16 Sep 2011 11:59:34 +0000 (14:59 +0300)] 
lib-storage: Improved debug logging messages.

14 years agoFixes to listing mailboxes/subscriptions in shared namespaces.
Timo Sirainen [Fri, 16 Sep 2011 11:52:29 +0000 (14:52 +0300)] 
Fixes to listing mailboxes/subscriptions in shared namespaces.

14 years agolib-storage: If shared namespace prefix doesn't end with hierarchy separator, fail.
Timo Sirainen [Fri, 16 Sep 2011 10:14:11 +0000 (13:14 +0300)] 
lib-storage: If shared namespace prefix doesn't end with hierarchy separator, fail.

14 years agolib-storage: If mailbox_rename() isn't possible and mail_debug=yes, log the reason...
Timo Sirainen [Fri, 16 Sep 2011 10:06:48 +0000 (13:06 +0300)] 
lib-storage: If mailbox_rename() isn't possible and mail_debug=yes, log the reason why.