]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Sun, 9 Oct 2011 15:27:54 +0000 (18:27 +0300)]
imapc: Better implementation of checking if index is missing messages.
Timo Sirainen [Sun, 9 Oct 2011 15:25:18 +0000 (18:25 +0300)]
imapc: Fixes to sending commands.
Timo Sirainen [Sun, 9 Oct 2011 14:15:31 +0000 (17:15 +0300)]
imapc: Fixed detecting when messages are missing from index.
Timo Sirainen [Sun, 9 Oct 2011 13:41:17 +0000 (16:41 +0300)]
imapc: Initial support for automatically reconnecting to remote server.
Timo Sirainen [Sat, 8 Oct 2011 17:31:22 +0000 (20:31 +0300)]
imapc: Fixed updating message flags from another session.
Timo Sirainen [Fri, 7 Oct 2011 18:15:52 +0000 (21:15 +0300)]
imapc: Fixed handling keywords.
The status->keywords must point to mail_index's keywords.
Timo Sirainen [Fri, 7 Oct 2011 18:14:58 +0000 (21:14 +0300)]
imapc: Detect when message has been unexpectedly expunged from index.
Timo Sirainen [Fri, 7 Oct 2011 17:50:02 +0000 (20:50 +0300)]
imapc: IDLE didn't notify immediately about new mails.
Timo Sirainen [Fri, 7 Oct 2011 17:49:32 +0000 (20:49 +0300)]
imapc: Code cleanup: avoid unnecessarily accessing imapc-client-private.h
Timo Sirainen [Fri, 7 Oct 2011 17:34:53 +0000 (20:34 +0300)]
imapc: Removed unused "stop now" functionality.
Timo Sirainen [Fri, 7 Oct 2011 17:31:57 +0000 (20:31 +0300)]
imapc: Changed mailbox opening API to be more extensible.
Timo Sirainen [Fri, 7 Oct 2011 17:10:11 +0000 (20:10 +0300)]
imapc: Command sending API changed to be more extensible.
Timo Sirainen [Fri, 7 Oct 2011 16:25:52 +0000 (19:25 +0300)]
auth: Don't re-add IO to master connection input.
This fixes a panic crash in some situations.
Timo Sirainen [Fri, 7 Oct 2011 15:18:20 +0000 (18:18 +0300)]
auth: Improved "auth client doesn't have permissions to do .." errors.
Timo Sirainen [Wed, 5 Oct 2011 15:47:56 +0000 (18:47 +0300)]
pop3: When pop3_fast_size_lookups=yes, don't assume we need to fetch virtual size.
This fixes prefetch unnecessarily opening mail files.
Timo Sirainen [Wed, 5 Oct 2011 14:55:29 +0000 (17:55 +0300)]
imapc: Fixed fetching data for a saved, but uncommitted, mail.
Timo Sirainen [Wed, 5 Oct 2011 14:51:32 +0000 (17:51 +0300)]
lib-storage: Fixed reopening a mail stream.
Timo Sirainen [Wed, 5 Oct 2011 14:51:01 +0000 (17:51 +0300)]
imapc: Memory leak fixes.
Timo Sirainen [Wed, 5 Oct 2011 14:34:51 +0000 (17:34 +0300)]
imapc: Fixed closing mail properly.
Timo Sirainen [Wed, 5 Oct 2011 14:34:16 +0000 (17:34 +0300)]
imapc: Fixed potential assert-crash when saving a mail.
Timo Sirainen [Wed, 5 Oct 2011 14:21:46 +0000 (17:21 +0300)]
imapc: Fixed "Bad file descriptor" errors after mail was closed.
Timo Sirainen [Wed, 5 Oct 2011 12:57:03 +0000 (15:57 +0300)]
raw storage: Don't crash with mailbox_get_metadata()
Timo Sirainen [Tue, 4 Oct 2011 14:22:55 +0000 (17:22 +0300)]
lib-storage: Verify that cached message size matches actually read size.
Timo Sirainen [Tue, 4 Oct 2011 14:17:12 +0000 (17:17 +0300)]
lib-storage: Added mail_get_hdr_stream() and use it where possible.
This makes it clearer for backends when it needs a message body instead of
only message header.
Timo Sirainen [Tue, 4 Oct 2011 14:14:30 +0000 (17:14 +0300)]
imapc: Mail body caching should be done at close(), not at free().
This cached wrong mail bodies when fetching multiple mails.
Timo Sirainen [Mon, 3 Oct 2011 17:00:55 +0000 (20:00 +0300)]
script-login: Disable alarm after input has been read.
Timo Sirainen [Sun, 2 Oct 2011 17:26:02 +0000 (20:26 +0300)]
passdb vpopmail: Always prefer to lookup plaintext password if it exists.
This is important when multiple auth mechanisms are used and the password is
cached.
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.
Timo Sirainen [Sun, 2 Oct 2011 17:06:58 +0000 (20:06 +0300)]
lib-storage: mailbox_get_metadata() no longer always opens mailbox.
Timo Sirainen [Sun, 2 Oct 2011 17:05:23 +0000 (20:05 +0300)]
lib-storage: Compile fix for recent change.
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)
Timo Sirainen [Sun, 2 Oct 2011 15:49:09 +0000 (18:49 +0300)]
mailbox list indexes: Handle name="" mailboxes.
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.
Timo Sirainen [Sun, 2 Oct 2011 15:30:32 +0000 (18:30 +0300)]
mailbox list indexes: Added comment.
Timo Sirainen [Sun, 2 Oct 2011 15:12:05 +0000 (18:12 +0300)]
mailbox list indexes: Code cleanups.
Timo Sirainen [Sun, 2 Oct 2011 14:48:23 +0000 (17:48 +0300)]
mailbox list indexes: Error handling fixes.
Timo Sirainen [Sun, 2 Oct 2011 14:34:49 +0000 (17:34 +0300)]
mailbox list indexes: Moved syncing 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.
Timo Sirainen [Sun, 2 Oct 2011 14:12:58 +0000 (17:12 +0300)]
Renamed index-mailbox-list* to mailbox-list-index*
Timo Sirainen [Sun, 2 Oct 2011 13:59:51 +0000 (16:59 +0300)]
mailbox list indexes: Disable index files for shared/public namespaces.
Timo Sirainen [Sun, 2 Oct 2011 13:55:45 +0000 (16:55 +0300)]
mailbox list indexes: Use storage names instead of virtual names.
Timo Sirainen [Sun, 2 Oct 2011 13:51:40 +0000 (16:51 +0300)]
lmtp: Code cleanup.
Timo Sirainen [Sun, 2 Oct 2011 13:47:25 +0000 (16:47 +0300)]
lda: Code cleanups
Timo Sirainen [Sun, 2 Oct 2011 13:35:22 +0000 (16:35 +0300)]
lda/lmtp: Moved common raw mailbox allocation code to raw-storage.
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().
Timo Sirainen [Sun, 2 Oct 2011 13:33:51 +0000 (16:33 +0300)]
ioloop: Memory leak fix on ioloop destroy.
Timo Sirainen [Sun, 2 Oct 2011 13:32:59 +0000 (16:32 +0300)]
istream-seekable: Memory leak fix.
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()
Timo Sirainen [Sun, 2 Oct 2011 12:39:45 +0000 (15:39 +0300)]
mailbox list index: Minor code cleanup.
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().
Timo Sirainen [Sat, 1 Oct 2011 14:54:57 +0000 (17:54 +0300)]
imapc: Don't assert-crash when receiving 0 size literal.
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.)
Timo Sirainen [Sat, 1 Oct 2011 14:41:12 +0000 (17:41 +0300)]
imapc: Make sure mail cache is freed when mailbox is closed.
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.
Timo Sirainen [Sat, 1 Oct 2011 14:24:09 +0000 (17:24 +0300)]
auth: Renamed passdb_imap plugin to authdb_imap.
Timo Sirainen [Sat, 1 Oct 2011 14:22:44 +0000 (17:22 +0300)]
module_dir_load*(): Support filtering and ignoring missing modules.
Timo Sirainen [Sat, 1 Oct 2011 14:09:00 +0000 (17:09 +0300)]
Added ssl_protocols setting.
Timo Sirainen [Sat, 1 Oct 2011 14:06:04 +0000 (17:06 +0300)]
doveadm: Compile fix for previous auth change.
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.
Timo Sirainen [Fri, 30 Sep 2011 16:02:31 +0000 (19:02 +0300)]
imap: Memory leak fixes for invalid parameter handling.
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.
Timo Sirainen [Fri, 30 Sep 2011 15:19:17 +0000 (18:19 +0300)]
imap: Moved partial fetch cache from static variable into struct client.
Timo Sirainen [Fri, 30 Sep 2011 12:54:20 +0000 (15:54 +0300)]
maildir: Handle open() failing with ESTALE.
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.
Timo Sirainen [Tue, 27 Sep 2011 15:14:32 +0000 (18:14 +0300)]
pop3: Fixed POP3-order sorting.
Timo Sirainen [Mon, 26 Sep 2011 21:44:03 +0000 (00:44 +0300)]
stats: Compiler warning fixes.
Timo Sirainen [Mon, 26 Sep 2011 21:41:49 +0000 (00:41 +0300)]
stats: Error message fix.
Timo Sirainen [Mon, 26 Sep 2011 21:12:49 +0000 (00:12 +0300)]
Compile fix for Solaris.
Timo Sirainen [Mon, 26 Sep 2011 18:55:10 +0000 (21:55 +0300)]
sdbox: Memory leak fix.
Timo Sirainen [Mon, 26 Sep 2011 12:36:21 +0000 (15:36 +0300)]
auth: Added passdb imap plugin.
Timo Sirainen [Mon, 26 Sep 2011 12:34:58 +0000 (15:34 +0300)]
Moved imapc-client into its own lib-imap-client library.
Pascal Volk [Sun, 25 Sep 2011 22:32:04 +0000 (22:32 +0000)]
man: Added doveadm move.
Timo Sirainen [Fri, 23 Sep 2011 13:07:29 +0000 (16:07 +0300)]
stats: Make sure unfinished commands get freed when their session disconnects.
Timo Sirainen [Fri, 23 Sep 2011 12:01:57 +0000 (15:01 +0300)]
file_dotlock: And fix to previous change..
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.
Timo Sirainen [Fri, 23 Sep 2011 11:52:46 +0000 (14:52 +0300)]
maildir: Improved guessing filename when it's still in new/ dir.
Timo Sirainen [Fri, 23 Sep 2011 11:38:24 +0000 (14:38 +0300)]
maildir: Don't always drop new flag from files when syncing.
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.
Timo Sirainen [Thu, 22 Sep 2011 21:46:19 +0000 (00:46 +0300)]
doveadm server: Previous non-authentication fix broken authentication.
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.
Timo Sirainen [Thu, 22 Sep 2011 20:59:48 +0000 (23:59 +0300)]
fts: Fixed running attachment decoder scripts.
Timo Sirainen [Thu, 22 Sep 2011 11:31:57 +0000 (14:31 +0300)]
imapc: Fix to previous message saving change.
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.
Timo Sirainen [Thu, 22 Sep 2011 11:21:56 +0000 (14:21 +0300)]
iampc: Small code cleanup.
Timo Sirainen [Thu, 22 Sep 2011 10:09:18 +0000 (13:09 +0300)]
lib-mail: Added broken input workaround to rfc822_parse_content_param().
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.
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.
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.)
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.
Timo Sirainen [Wed, 21 Sep 2011 12:58:26 +0000 (15:58 +0300)]
imapc: Added imapc_rawlog_dir setting.
Timo Sirainen [Wed, 21 Sep 2011 12:57:57 +0000 (15:57 +0300)]
Added rawlog i/ostreams.
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.
Timo Sirainen [Wed, 21 Sep 2011 12:53:00 +0000 (15:53 +0300)]
ostream: Keep track of flush callback for filter ostreams as well.
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.
Timo Sirainen [Wed, 21 Sep 2011 11:40:35 +0000 (14:40 +0300)]
Simplified creating filter ostreams.
Timo Sirainen [Wed, 21 Sep 2011 10:56:13 +0000 (13:56 +0300)]
Renamed lib/*-internal.h files to lib/*-private.h for consistency.
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.
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).
Timo Sirainen [Tue, 20 Sep 2011 13:44:32 +0000 (16:44 +0300)]
imapc: Added more checks to catch buggy IMAP server responses.
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.