]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Mon, 3 Aug 2009 04:19:26 +0000 (00:19 -0400)]
listescape: Fixed problems with handling mailbox listing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 3 Aug 2009 04:18:06 +0000 (00:18 -0400)]
maildir++: When renaming child mailboxes, don't check for ACLs.
If we had access to rename the root, we must rename the children as well
since that's what IMAP expects.
--HG--
branch : HEAD
Timo Sirainen [Mon, 3 Aug 2009 03:21:43 +0000 (23:21 -0400)]
Allow namespace prefix to be opened as mailbox, if it already exists.
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Aug 2009 17:53:32 +0000 (13:53 -0400)]
lib_deinit() now frees memory used by env_put().
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Aug 2009 17:50:46 +0000 (13:50 -0400)]
maildir: Don't access uninitialized variables.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jul 2009 18:56:39 +0000 (14:56 -0400)]
Removed mailbox_guid_is_empty(), use mail_guid_128_is_empty() directly instead.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jul 2009 16:11:12 +0000 (12:11 -0400)]
dovecot-example.conf: Fixed !include examples.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jul 2009 02:10:11 +0000 (22:10 -0400)]
index-storage: Simplified the way transactions are are created/finished.
Removed also mail_storage.class_init/deinit since they're no longer used
for anything.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jul 2009 02:08:44 +0000 (22:08 -0400)]
virtual: Fixed to work again without crashing after several API changes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jul 2009 02:07:15 +0000 (22:07 -0400)]
imap: Support UID-less saves/copies after all. Virtual backend can't return them.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jul 2009 01:09:17 +0000 (21:09 -0400)]
index: Fix to previous cleanups.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 23:52:41 +0000 (19:52 -0400)]
index-storage: Code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 23:42:41 +0000 (19:42 -0400)]
mbox: Removed unused MBOX_SYNC_LAST_COMMIT and related code.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 23:37:50 +0000 (19:37 -0400)]
index-storage: Moved mail MD5 calculation code to mbox-specific code.
Nothing else used it.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 23:30:15 +0000 (19:30 -0400)]
index-storage: Code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 23:19:42 +0000 (19:19 -0400)]
index-storage: Code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 23:11:33 +0000 (19:11 -0400)]
Removed duplicated flags from struct index_transaction_context.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 22:49:40 +0000 (18:49 -0400)]
mail_index_chown(): Check for fchown() failing with EPERM, not EACCES.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 22:13:25 +0000 (18:13 -0400)]
index: Code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 21:52:41 +0000 (17:52 -0400)]
index: Removed duplication of mail_index_open_flags from struct mail_index.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jul 2009 18:07:13 +0000 (14:07 -0400)]
Handle posix_fallocate() failures correctly. Check also for AIX's "not supported" failure.
Based on patch by Ralf Becker.
--HG--
branch : HEAD
Timo Sirainen [Wed, 29 Jul 2009 21:45:36 +0000 (17:45 -0400)]
Removed MAILBOX_GUID_SIZE macro, use MAIL_GUID_128_SIZE everywhere.
They were required to be the same size anyway.
--HG--
branch : HEAD
Timo Sirainen [Wed, 29 Jul 2009 20:20:17 +0000 (16:20 -0400)]
Fixed file_dotlock_open*() logging errors in some OSes.
Patch by Ralf Becker.
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jul 2009 22:59:01 +0000 (18:59 -0400)]
dsync: Sync messages' modseqs.
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jul 2009 22:58:31 +0000 (18:58 -0400)]
Added ability to specify message's minimum modseq value.
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jul 2009 17:57:24 +0000 (13:57 -0400)]
mbox: Allow setting \Recent flag when also specifying message's UID.
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jul 2009 17:57:03 +0000 (13:57 -0400)]
mbox, maildir: Allow setting \Recent flag when also specifying message's UID.
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jul 2009 17:56:57 +0000 (13:56 -0400)]
dsync: Sync also \Recent flags.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 23:07:46 +0000 (19:07 -0400)]
virtual: Fixed to work with new mail_index_append_finish_uids() API.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 23:04:36 +0000 (19:04 -0400)]
dsync: Lots of improvements and fixes. Appears to be somewhat working now.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 23:02:12 +0000 (19:02 -0400)]
maildir: Support saving messages with specified UIDs.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 23:00:56 +0000 (19:00 -0400)]
Changed mail_index_append_assign_uids() to mail_index_append_finish_uids() with API changes.
It's now possible to call mail_index_append() with UIDs before locking
mailbox and have the _finish_uids() change them if another session had
already used those UIDs.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 22:54:02 +0000 (18:54 -0400)]
Added MAILBOX_LIST_ITER_NO_AUTO_INBOX for listing INBOX only when it already exists.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 22:53:32 +0000 (18:53 -0400)]
maildir_list_iter_is_mailbox() should return 0 for non-existing maildirs.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 22:47:16 +0000 (18:47 -0400)]
Added ability to change existing messages' UIDs with mail_[index_]update_uid().
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 19:55:10 +0000 (15:55 -0400)]
expire-tool: Compiler warning fixes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 16:48:12 +0000 (12:48 -0400)]
gssapi: Error handling fix.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 10:40:30 +0000 (06:40 -0400)]
gssapi: Fixed compiling for non-MIT/Heimdal GSSAPI implementations (Solaris).
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 16:48:40 +0000 (12:48 -0400)]
configure: clock_gettime()'s -lrt adding dropped everything else from $LIBS.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 06:53:43 +0000 (02:53 -0400)]
Compiling fix for systems without GLOB_BRACE.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 03:38:11 +0000 (23:38 -0400)]
maildir uidlist: Added better next_uid error tracking.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 03:36:12 +0000 (23:36 -0400)]
maildir: When UIDVALIDITY changes, don't reset uid_next to 1 in uidlist.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 03:19:35 +0000 (23:19 -0400)]
maildir++ quota: Quota was sometimes updated wrong when it was being recalculated.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 02:40:02 +0000 (22:40 -0400)]
cache file: If offset isn't 32bit aligned, assume it's corrupted.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 02:13:53 +0000 (22:13 -0400)]
gssapi: Fail authentication if mechanism type isn't Kerberos 5.
Also check GSS_KRB5_NT_PRINCIPAL_NAME more correctly.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 02:00:46 +0000 (22:00 -0400)]
gssapi: Don't do krb5_kuserok() to authz_name. It shouldn't be necessary.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 00:59:40 +0000 (20:59 -0400)]
dovecot.conf: Added support for !include globs.
Based on patch by Thomas Guthmann.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 00:13:18 +0000 (20:13 -0400)]
Don't include malloc.h if it doesn't have malloc_usable_size().
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 00:03:41 +0000 (20:03 -0400)]
lazy-expunge: Drop \Deleted flag when moving message.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 23:51:37 +0000 (19:51 -0400)]
virtual: If another session adds a new mailbox to index, handle it without crashing.
For now we'll just disconnect the session.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 23:39:35 +0000 (19:39 -0400)]
virtual: Minor code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 22:13:41 +0000 (18:13 -0400)]
message-decoder: Fixed assert-crashes caused by the previous quoted-printable change.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 22:00:44 +0000 (18:00 -0400)]
pam: Fixed compiler warning with BSDs.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 20:32:22 +0000 (16:32 -0400)]
Split quoted-printable parsing to q-p body parsing and "Q" header parsing.
Fixed also several other issues in quoted-printable parsing to get it fully
RFC compliant.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 20:06:20 +0000 (16:06 -0400)]
imap/pop3: Compiling fix.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 20:02:47 +0000 (16:02 -0400)]
test-mbox-from: Compile fix.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 19:33:09 +0000 (15:33 -0400)]
Maildir LAYOUT=fs: Default INBOX path to Maildir root.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 19:03:30 +0000 (15:03 -0400)]
acl: Support spaces in user/group identifiers.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 18:37:13 +0000 (14:37 -0400)]
master: Handle better chdir()ing to home dir.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 18:17:30 +0000 (14:17 -0400)]
configure: Check sasl.h existence only when using --with-ldap.
Patch by Pascal Volk.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 18:12:15 +0000 (14:12 -0400)]
configure: Use -lrt for clock_gettime() if necessary.
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jul 2009 06:16:45 +0000 (02:16 -0400)]
configure: Support finding PostgreSQL without pg_config after all.
--HG--
branch : HEAD
Timo Sirainen [Sat, 25 Jul 2009 00:59:49 +0000 (20:59 -0400)]
If imap/pop3 service is tried to be started without being auth_dest_service, log better error.
If login_executable=imap/pop3, give better error message.
--HG--
branch : HEAD
Timo Sirainen [Fri, 24 Jul 2009 20:57:17 +0000 (16:57 -0400)]
mail_location setting wasn't used if namespaces weren't defined.
--HG--
branch : HEAD
Timo Sirainen [Fri, 24 Jul 2009 19:58:08 +0000 (15:58 -0400)]
imap delete: Use mailbox_backends_equal() for finding if we're deleting selected mailbox.
--HG--
branch : HEAD
Timo Sirainen [Fri, 24 Jul 2009 19:56:21 +0000 (15:56 -0400)]
Added mailbox_backends_equal().
--HG--
branch : HEAD
Timo Sirainen [Fri, 24 Jul 2009 18:40:40 +0000 (14:40 -0400)]
mailbox_transaction_commit_get_uids() changed to _get_changes() with more generic API.
Saved UIDs are no longer necessarily in a simple x:y range.
--HG--
branch : HEAD
Timo Sirainen [Tue, 21 Jul 2009 21:14:41 +0000 (17:14 -0400)]
lib-signals: Redesigned how delayed signals are handled.
Fixes signal handler hanging infinitely in write() when many signals were
sent rapidly.
--HG--
branch : HEAD
Timo Sirainen [Tue, 21 Jul 2009 19:18:49 +0000 (15:18 -0400)]
utc_offset() was broken with year's first/last day if struct tm.tm_gmtoff didn't exist.
--HG--
branch : HEAD
Timo Sirainen [Tue, 21 Jul 2009 19:01:05 +0000 (15:01 -0400)]
Transaction view: Fixed getting extension data from messages whose flags had changed.
--HG--
branch : HEAD
Timo Sirainen [Mon, 20 Jul 2009 18:35:43 +0000 (14:35 -0400)]
shared mailboxes: If only %%n is specified in prefix, default to current user's domain.
--HG--
branch : HEAD
Timo Sirainen [Sat, 18 Jul 2009 00:11:05 +0000 (20:11 -0400)]
dsync: Handle missing mail GUIDs.
--HG--
branch : HEAD
Timo Sirainen [Sat, 18 Jul 2009 00:09:22 +0000 (20:09 -0400)]
mail_guid_128_is_empty() is now a public function.
--HG--
branch : HEAD
Timo Sirainen [Sat, 18 Jul 2009 00:02:31 +0000 (20:02 -0400)]
dsync: Some fixes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 17 Jul 2009 22:57:48 +0000 (18:57 -0400)]
GSSAPI: Fixed memory leak on error conditions.
--HG--
branch : HEAD
Timo Sirainen [Fri, 17 Jul 2009 21:13:51 +0000 (17:13 -0400)]
configure: Use pg_config for figuring out PostgreSQL include/libs paths.
pg_config has existsed since v7.1, so don't bother using any fallbacks.
--HG--
branch : HEAD
Timo Sirainen [Thu, 16 Jul 2009 22:12:30 +0000 (18:12 -0400)]
dsync: Skip syncing mailboxes whose uidvalidity/uidnext/highest-modseq hasn't changed.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 22:31:59 +0000 (18:31 -0400)]
dsync: Use expunged messages' GUIDs to determine what to do with missing messages at end of mailbox.
If GUIDs match, expunge the message. If they don't match, treat it as UID
conflict.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 22:29:58 +0000 (18:29 -0400)]
Added missing test-hex-binary.c from earlier commit.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 22:29:42 +0000 (18:29 -0400)]
mail_generate_guid_128_hash() is now a public function.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 22:29:21 +0000 (18:29 -0400)]
Added mail_transaction_log_get_tail().
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 22:28:59 +0000 (18:28 -0400)]
Added binary_to_hex_append().
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 20:09:09 +0000 (16:09 -0400)]
IMAP: When QRESYNC is enabled, don't crash when a new mail is received while IDLEing.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 18:13:02 +0000 (14:13 -0400)]
Added unit test for mailbox_get_expunges().
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 18:12:29 +0000 (14:12 -0400)]
Several fixes to mailbox_get_expunges().
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 16:59:17 +0000 (12:59 -0400)]
virtual: Compiler warning fix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 16:45:28 +0000 (12:45 -0400)]
virtual: Compiling fix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 15 Jul 2009 16:13:52 +0000 (12:13 -0400)]
quota-fs: Building fixes.
--HG--
branch : HEAD
Timo Sirainen [Tue, 14 Jul 2009 22:04:05 +0000 (18:04 -0400)]
Renamed index_storage_get_expunged_uids to index_storage_get_expunges.
--HG--
branch : HEAD
Timo Sirainen [Tue, 14 Jul 2009 21:55:27 +0000 (17:55 -0400)]
mail index transactions: More code cleanups and unit tests.
--HG--
branch : HEAD
Timo Sirainen [Tue, 14 Jul 2009 21:54:23 +0000 (17:54 -0400)]
mail index transaction: Dropping duplicate expunges changed expunges' GUIDs.
--HG--
branch : HEAD
Timo Sirainen [Tue, 14 Jul 2009 02:24:27 +0000 (22:24 -0400)]
Keep track of expunged messages' GUIDs and expose them via mailbox_get_expunges().
The message GUIDs are stored in expunge records to transaction log. Before
doing the final expunge, Maildir and dbox verify that the GUID in expunge
request matches the current actual GUID. The GUID is stored in 128 bit
field. If the real GUID isn't 128 bit, the bits are taken from SHA1 of the
GUID.
--HG--
branch : HEAD
Timo Sirainen [Tue, 14 Jul 2009 01:11:05 +0000 (21:11 -0400)]
buffer_create_[const_]data() API change: Take buffer_t as parameter instead of allocating it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 23:54:28 +0000 (19:54 -0400)]
Moved around mail-index-transaction code and added initial unit tests.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 23:42:01 +0000 (19:42 -0400)]
Mail index view syncs: Simplify code for getting list of expunges.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 23:41:23 +0000 (19:41 -0400)]
More fixes to cache changes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 23:26:07 +0000 (19:26 -0400)]
Fix to previous cache changes: Cache transaction was commited too early.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 22:56:16 +0000 (18:56 -0400)]
Fix to previous flag update changes: Avoid crashes / infinite looping.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 22:26:25 +0000 (18:26 -0400)]
If all flag changes are dropped, make sure we don't write anything to transaction log.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 22:21:19 +0000 (18:21 -0400)]
mail_index_update_flags*() now does a better job of merging flag changes together.
--HG--
branch : HEAD