]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
17 years agoTransaction view: If index is reset, lookup_first() shouldn't return old sequences.
Timo Sirainen [Mon, 22 Sep 2008 20:50:38 +0000 (23:50 +0300)] 
Transaction view: If index is reset, lookup_first() shouldn't return old sequences.

--HG--
branch : HEAD

17 years agoTransaction view: If index is reset, don't return old to-be-removed sequences.
Timo Sirainen [Mon, 22 Sep 2008 20:49:33 +0000 (23:49 +0300)] 
Transaction view: If index is reset, don't return old to-be-removed sequences.

--HG--
branch : HEAD

17 years agoTransaction view: get_message_count() returned one too few when there were new messages.
Timo Sirainen [Mon, 22 Sep 2008 20:46:07 +0000 (23:46 +0300)] 
Transaction view: get_message_count() returned one too few when there were new messages.

--HG--
branch : HEAD

17 years agoACL: Handle shared namespaces.
Timo Sirainen [Mon, 22 Sep 2008 19:31:33 +0000 (22:31 +0300)] 
ACL: Handle shared namespaces.

--HG--
branch : HEAD

17 years agoShared namespace: If we don't have a directory, return NULL instead of panicing.
Timo Sirainen [Mon, 22 Sep 2008 19:31:13 +0000 (22:31 +0300)] 
Shared namespace: If we don't have a directory, return NULL instead of panicing.
The callers are now expected to handle returned NULLs. In future some other
non-filesystem based storages will probably also return NULLs.

--HG--
branch : HEAD

17 years agoistream: Fix to previous error handling changes.
Timo Sirainen [Mon, 22 Sep 2008 19:25:25 +0000 (22:25 +0300)] 
istream: Fix to previous error handling changes.

--HG--
branch : HEAD

17 years agoMaildir++ quota: Create the missing directory using the correct permissions.
Timo Sirainen [Mon, 22 Sep 2008 18:55:07 +0000 (21:55 +0300)] 
Maildir++ quota: Create the missing directory using the correct permissions.

--HG--
branch : HEAD

17 years agoMaildir++ quota: If directory for maildirsize doesn't exist, create it.
Timo Sirainen [Mon, 22 Sep 2008 18:51:29 +0000 (21:51 +0300)] 
Maildir++ quota: If directory for maildirsize doesn't exist, create it.

--HG--
branch : HEAD

17 years agoAIX: Silently ignore posix_fallocate() failures.
Timo Sirainen [Mon, 22 Sep 2008 18:23:37 +0000 (21:23 +0300)] 
AIX: Silently ignore posix_fallocate() failures.

--HG--
branch : HEAD

17 years agoIf memory allocation fails, log how large allocation we were trying to do.
Timo Sirainen [Mon, 22 Sep 2008 18:08:26 +0000 (21:08 +0300)] 
If memory allocation fails, log how large allocation we were trying to do.

--HG--
branch : HEAD

17 years agoSquat: Create files with the correct mode and group.
Timo Sirainen [Mon, 22 Sep 2008 18:04:38 +0000 (21:04 +0300)] 
Squat: Create files with the correct mode and group.

--HG--
branch : HEAD

17 years agoDon't use uninitialized variable for allocating initial array size.
Timo Sirainen [Sat, 20 Sep 2008 16:30:07 +0000 (19:30 +0300)] 
Don't use uninitialized variable for allocating initial array size.

--HG--
branch : HEAD

17 years agoi_stream_close(): EBADFD doesn't exist everywhere, use ENOENT instead.
Timo Sirainen [Sat, 20 Sep 2008 16:28:18 +0000 (19:28 +0300)] 
i_stream_close(): EBADFD doesn't exist everywhere, use ENOENT instead.

--HG--
branch : HEAD

17 years agomessage address parser: Fixed some assert-crashes.
Timo Sirainen [Wed, 17 Sep 2008 19:34:08 +0000 (22:34 +0300)] 
message address parser: Fixed some assert-crashes.

--HG--
branch : HEAD

17 years agoheader filter istream: Fixed previosly added assert.
Timo Sirainen [Tue, 16 Sep 2008 10:42:01 +0000 (13:42 +0300)] 
header filter istream: Fixed previosly added assert.

--HG--
branch : HEAD

17 years agoDIGEST-MD5 auth: Hash generation from plaintext passwords wasn't done with the origin...
Timo Sirainen [Sat, 13 Sep 2008 17:05:50 +0000 (20:05 +0300)] 
DIGEST-MD5 auth: Hash generation from plaintext passwords wasn't done with the original username.

--HG--
branch : HEAD

17 years agoTransaction view: One more try at really fixing lookup_ext()..
Timo Sirainen [Sat, 13 Sep 2008 11:09:59 +0000 (14:09 +0300)] 
Transaction view: One more try at really fixing lookup_ext()..

--HG--
branch : HEAD

17 years agodovecot-sql-example.conf: Note that MySQL supports multiple host parameters.
Timo Sirainen [Sat, 13 Sep 2008 10:28:09 +0000 (13:28 +0300)] 
dovecot-sql-example.conf: Note that MySQL supports multiple host parameters.

--HG--
branch : HEAD

17 years agombox: Log mbox file path for "Unexpectedly lost .." errors.
Timo Sirainen [Sat, 13 Sep 2008 10:23:36 +0000 (13:23 +0300)] 
mbox: Log mbox file path for "Unexpectedly lost .." errors.

--HG--
branch : HEAD

17 years agoInput streams: Improved error handling and added more asserts.
Timo Sirainen [Sat, 13 Sep 2008 10:06:06 +0000 (13:06 +0300)] 
Input streams: Improved error handling and added more asserts.

--HG--
branch : HEAD

17 years agoTransaction view: Fix for the previous lookup_ext() fix.
Timo Sirainen [Sat, 13 Sep 2008 10:02:13 +0000 (13:02 +0300)] 
Transaction view: Fix for the previous lookup_ext() fix.

--HG--
branch : HEAD

17 years agoi_stream_read_data(): Error handling fixes.
Timo Sirainen [Sat, 13 Sep 2008 09:22:30 +0000 (12:22 +0300)] 
i_stream_read_data(): Error handling fixes.

--HG--
branch : HEAD

17 years agoSort indexes: Don't assert-crash with broken sort IDs.
Timo Sirainen [Sat, 13 Sep 2008 08:56:16 +0000 (11:56 +0300)] 
Sort indexes: Don't assert-crash with broken sort IDs.

--HG--
branch : HEAD

17 years agoTransaction view: lookup_ext() crashed if extension was just being added within the...
Timo Sirainen [Thu, 11 Sep 2008 20:16:27 +0000 (23:16 +0300)] 
Transaction view: lookup_ext() crashed if extension was just being added within the transaction.

--HG--
branch : HEAD

17 years agoGSSAPI: stdlib.h wasn't included with all OSes, causing crash at startup with 64bit...
Timo Sirainen [Thu, 11 Sep 2008 15:47:19 +0000 (18:47 +0300)] 
GSSAPI: stdlib.h wasn't included with all OSes, causing crash at startup with 64bit systems.

--HG--
branch : HEAD

17 years agoMail cache: If locking failed, the next time try to lock it only once.
Timo Sirainen [Thu, 11 Sep 2008 14:10:46 +0000 (17:10 +0300)] 
Mail cache: If locking failed, the next time try to lock it only once.
Also increased the first timeout to 10 seconds.

--HG--
branch : HEAD

17 years agoMail cache: Don't warn if dotlocking fails due to timeout (non-dotlocking already...
Timo Sirainen [Thu, 11 Sep 2008 14:06:29 +0000 (17:06 +0300)] 
Mail cache: Don't warn if dotlocking fails due to timeout (non-dotlocking already didn't).

--HG--
branch : HEAD

17 years agoMail cache compression: If we can't get lock immediately, do it later.
Timo Sirainen [Thu, 11 Sep 2008 14:01:32 +0000 (17:01 +0300)] 
Mail cache compression: If we can't get lock immediately, do it later.

--HG--
branch : HEAD

17 years agoMail cache: lock_method=dotlock could have caused a process to deadlock with itself.
Timo Sirainen [Thu, 11 Sep 2008 13:52:47 +0000 (16:52 +0300)] 
Mail cache: lock_method=dotlock could have caused a process to deadlock with itself.

--HG--
branch : HEAD

17 years agoMaildir saving: If uidlist locking timed out and we needed it, fail instead of trying...
Timo Sirainen [Thu, 11 Sep 2008 13:37:32 +0000 (16:37 +0300)] 
Maildir saving: If uidlist locking timed out and we needed it, fail instead of trying to continue (and break).

--HG--
branch : HEAD

17 years agoDon't try to allocate too much memory if extension intro had too high ext_id.
Timo Sirainen [Wed, 10 Sep 2008 18:53:13 +0000 (21:53 +0300)] 
Don't try to allocate too much memory if extension intro had too high ext_id.

--HG--
branch : HEAD

17 years agofile_dotlock_open_mode(): Log uid/gid in fchown() failures.
Timo Sirainen [Wed, 10 Sep 2008 18:46:23 +0000 (21:46 +0300)] 
file_dotlock_open_mode(): Log uid/gid in fchown() failures.

--HG--
branch : HEAD

17 years agoMail cache file: Fix to previous locking changes.
Timo Sirainen [Tue, 9 Sep 2008 16:40:30 +0000 (19:40 +0300)] 
Mail cache file: Fix to previous locking changes.

--HG--
branch : HEAD

17 years agoMail cache file: Changed lock timeout to just 2 seconds.
Timo Sirainen [Tue, 9 Sep 2008 15:34:29 +0000 (18:34 +0300)] 
Mail cache file: Changed lock timeout to just 2 seconds.
It's better to not update cache than waste a lot of time waiting for a lock.
Also increased staleness timeout to 5 minutes - it's safer that way and with
the reduced lock timeout doesn't matter as much.

--HG--
branch : HEAD

17 years agomail_cache_lock(): Return -1 if locking times out.
Timo Sirainen [Tue, 9 Sep 2008 15:30:23 +0000 (18:30 +0300)] 
mail_cache_lock(): Return -1 if locking times out.
This fixes cache compression starting even when locking timed out.

--HG--
branch : HEAD

17 years agoDon't crash if trying to reset an extension which had a broken intro record.
Timo Sirainen [Tue, 9 Sep 2008 14:35:39 +0000 (17:35 +0300)] 
Don't crash if trying to reset an extension which had a broken intro record.

--HG--
branch : HEAD

17 years agovirtual: STATUS command on a virtual mailbox crashed.
Timo Sirainen [Tue, 9 Sep 2008 08:46:18 +0000 (11:46 +0300)] 
virtual: STATUS command on a virtual mailbox crashed.

--HG--
branch : HEAD

17 years agodotlocking: If rename() fails due to ENOENT, show how long we kept the lock.
Timo Sirainen [Tue, 9 Sep 2008 05:48:51 +0000 (08:48 +0300)] 
dotlocking: If rename() fails due to ENOENT, show how long we kept the lock.
Also for all these "replaced/deleted" notifications show how long ago the
lock was last touched (if it ever was).

--HG--
branch : HEAD

17 years agoACLs: Negative rights were actually treated as positive rights.
Timo Sirainen [Mon, 8 Sep 2008 13:56:43 +0000 (16:56 +0300)] 
ACLs: Negative rights were actually treated as positive rights.

--HG--
branch : HEAD

17 years agosubscriptins: If r/w fails due to EACCES and mail_debug=yes, log the failure.
Timo Sirainen [Mon, 8 Sep 2008 09:02:41 +0000 (12:02 +0300)] 
subscriptins: If r/w fails due to EACCES and mail_debug=yes, log the failure.

--HG--
branch : HEAD

17 years agoIf mail_debug=yes, log all permission (and some other) problems
Timo Sirainen [Mon, 8 Sep 2008 08:56:56 +0000 (11:56 +0300)] 
If mail_debug=yes, log all permission (and some other) problems
instead of only giving a generic "Permission denied" (or similar) error message.

--HG--
branch : HEAD

17 years agoSubscriptions file: If read/write fails due to EACCES, give an error message that...
Timo Sirainen [Mon, 8 Sep 2008 08:45:34 +0000 (11:45 +0300)] 
Subscriptions file: If read/write fails due to EACCES, give an error message that mentions subscriptions.

--HG--
branch : HEAD

17 years agoAdded initial support for shared mailboxes. Listing isn't supported yet.
Timo Sirainen [Sun, 7 Sep 2008 19:34:11 +0000 (22:34 +0300)] 
Added initial support for shared mailboxes. Listing isn't supported yet.
Each user gets their own hidden namespace created automatically when they're
accessed the first time.

--HG--
branch : HEAD

17 years agoVirtual mailboxes: Fixes to handling invalid configuration.
Timo Sirainen [Sun, 7 Sep 2008 17:48:43 +0000 (20:48 +0300)] 
Virtual mailboxes: Fixes to handling invalid configuration.

--HG--
branch : HEAD

17 years agomessage address parser: More error handling improvements.
Timo Sirainen [Sun, 7 Sep 2008 17:34:20 +0000 (20:34 +0300)] 
message address parser: More error handling improvements.

--HG--
branch : HEAD

17 years agomessage date parser: Fixed parsing last optional fields due to previous rfc822 parser...
Timo Sirainen [Sun, 7 Sep 2008 17:03:00 +0000 (20:03 +0300)] 
message date parser: Fixed parsing last optional fields due to previous rfc822 parser changes.

--HG--
branch : HEAD

17 years agomessage address parser: Check better if adress is invalid and set invalid_syntax.
Timo Sirainen [Sun, 7 Sep 2008 16:50:23 +0000 (19:50 +0300)] 
message address parser: Check better if adress is invalid and set invalid_syntax.

--HG--
branch : HEAD

17 years agorfc822_parse_[dot_]atom(): Return failure if there isn't at least one character.
Timo Sirainen [Sun, 7 Sep 2008 16:44:09 +0000 (19:44 +0300)] 
rfc822_parse_[dot_]atom(): Return failure if there isn't at least one character.

--HG--
branch : HEAD

17 years agomessage address parser: Handle errors better, fix crash in previous change.
Timo Sirainen [Sun, 7 Sep 2008 16:25:29 +0000 (19:25 +0300)] 
message address parser: Handle errors better, fix crash in previous change.

--HG--
branch : HEAD

17 years agomessage address parser: Set invalid_syntax=TRUE if the input is invalid.
Timo Sirainen [Sun, 7 Sep 2008 14:59:22 +0000 (17:59 +0300)] 
message address parser: Set invalid_syntax=TRUE if the input is invalid.

--HG--
branch : HEAD

17 years agoacl: Fixed handling 'k' right. Although box/child creation was prevented, box/child...
Timo Sirainen [Sun, 7 Sep 2008 12:18:29 +0000 (15:18 +0300)] 
acl: Fixed handling 'k' right. Although box/child creation was prevented, box/child/child wasn't.

--HG--
branch : HEAD

17 years agopop3: Don't crash in UIDL command.
Timo Sirainen [Sun, 7 Sep 2008 07:54:46 +0000 (10:54 +0300)] 
pop3: Don't crash in UIDL command.

--HG--
branch : HEAD

17 years agoAdded a special userdb_import field to add TAB-separated fields to userdb reply.
Timo Sirainen [Fri, 5 Sep 2008 18:19:06 +0000 (21:19 +0300)] 
Added a special userdb_import field to add TAB-separated fields to userdb reply.

--HG--
branch : HEAD

17 years agoAdded tag 1.2.alpha1 for changeset eaa3469db1dd
Timo Sirainen [Fri, 5 Sep 2008 17:07:23 +0000 (20:07 +0300)] 
Added tag 1.2.alpha1 for changeset eaa3469db1dd

--HG--
branch : HEAD

17 years agoReleased v1.2.alpha1. 1.2.alpha1
Timo Sirainen [Fri, 5 Sep 2008 17:07:20 +0000 (20:07 +0300)] 
Released v1.2.alpha1.

--HG--
branch : HEAD

17 years agostrmap: Don't check conflicts for strings known to be unique.
Timo Sirainen [Fri, 5 Sep 2008 16:58:51 +0000 (19:58 +0300)] 
strmap: Don't check conflicts for strings known to be unique.

--HG--
branch : HEAD

17 years agothread indexes: Removed debugging code.
Timo Sirainen [Fri, 5 Sep 2008 16:45:28 +0000 (19:45 +0300)] 
thread indexes: Removed debugging code.

--HG--
branch : HEAD

17 years agoUpdated TODO and NEWS.
Timo Sirainen [Fri, 5 Sep 2008 16:42:58 +0000 (19:42 +0300)] 
Updated TODO and NEWS.

--HG--
branch : HEAD

17 years agoCLOSE: Don't send any mailbox changes or HIGHESTMODSEQ to client.
Timo Sirainen [Fri, 5 Sep 2008 16:33:41 +0000 (19:33 +0300)] 
CLOSE: Don't send any mailbox changes or HIGHESTMODSEQ to client.
Also the previous code wasn't really even closing the mailbox.

--HG--
branch : HEAD

17 years agothread indexes: Forgot to commit strmap syncing in some situations.
Timo Sirainen [Fri, 5 Sep 2008 16:22:07 +0000 (19:22 +0300)] 
thread indexes: Forgot to commit strmap syncing in some situations.

--HG--
branch : HEAD

17 years agostrmap: Make sure the records array is always zero-terminated.
Timo Sirainen [Fri, 5 Sep 2008 16:21:47 +0000 (19:21 +0300)] 
strmap: Make sure the records array is always zero-terminated.

--HG--
branch : HEAD

17 years agohash2: minor code cleanup.
Timo Sirainen [Fri, 5 Sep 2008 09:40:28 +0000 (12:40 +0300)] 
hash2: minor code cleanup.

--HG--
branch : HEAD

17 years agohash2_clear() didn't reset deleted_values list, causing bugs later on.
Timo Sirainen [Fri, 5 Sep 2008 09:40:01 +0000 (12:40 +0300)] 
hash2_clear() didn't reset deleted_values list, causing bugs later on.

--HG--
branch : HEAD

17 years agothread index fixes.
Timo Sirainen [Fri, 5 Sep 2008 07:55:55 +0000 (10:55 +0300)] 
thread index fixes.

--HG--
branch : HEAD

17 years agohash2_remove_iter(): Never resize hash table, otherwise iteration breaks.
Timo Sirainen [Mon, 1 Sep 2008 14:41:12 +0000 (17:41 +0300)] 
hash2_remove_iter(): Never resize hash table, otherwise iteration breaks.

--HG--
branch : HEAD

17 years agohash2_remove_iter() was broken when it resized the hash table.
Timo Sirainen [Mon, 1 Sep 2008 14:07:37 +0000 (17:07 +0300)] 
hash2_remove_iter() was broken when it resized the hash table.

--HG--
branch : HEAD

17 years agoThread indexes: Crashfix.
Timo Sirainen [Mon, 1 Sep 2008 13:10:27 +0000 (16:10 +0300)] 
Thread indexes: Crashfix.

--HG--
branch : HEAD

17 years agoThread index: Minor optimization.
Timo Sirainen [Mon, 1 Sep 2008 12:31:20 +0000 (15:31 +0300)] 
Thread index: Minor optimization.

--HG--
branch : HEAD

17 years agoThread index bugfix.
Timo Sirainen [Mon, 1 Sep 2008 12:30:40 +0000 (15:30 +0300)] 
Thread index bugfix.

--HG--
branch : HEAD

17 years agoRewrote thread indexing code. It's a lot simpler and takes less disk space.
Timo Sirainen [Mon, 1 Sep 2008 12:17:00 +0000 (15:17 +0300)] 
Rewrote thread indexing code. It's a lot simpler and takes less disk space.
We no longer try to keep a hash table and the entire thread tree stored on
disk. Instead we keep a simple Message-ID string (actually just "uid, ref#"
pointer) -> unique index number mapping on disk, read it to memory and use
it to build the thread tree. After the initial build the thread tree is
still updated incrementally.

--HG--
branch : HEAD

17 years agoMinor cleanup to thread indexing document.
Timo Sirainen [Mon, 1 Sep 2008 12:11:54 +0000 (15:11 +0300)] 
Minor cleanup to thread indexing document.

--HG--
branch : HEAD

17 years agoAdded mail_search_args_equal().
Timo Sirainen [Mon, 1 Sep 2008 12:10:59 +0000 (15:10 +0300)] 
Added mail_search_args_equal().

--HG--
branch : HEAD

17 years agoAdded an alternative hash table implementation.
Timo Sirainen [Mon, 1 Sep 2008 12:08:43 +0000 (15:08 +0300)] 
Added an alternative hash table implementation.

--HG--
branch : HEAD

17 years agoprimes_closest(): Use exponentially growing primes.
Timo Sirainen [Mon, 1 Sep 2008 12:04:00 +0000 (15:04 +0300)] 
primes_closest(): Use exponentially growing primes.

--HG--
branch : HEAD

17 years agoarray_copy() was broken if source array was different from destination array.
Timo Sirainen [Mon, 1 Sep 2008 12:02:22 +0000 (15:02 +0300)] 
array_copy() was broken if source array was different from destination array.

--HG--
branch : HEAD

17 years agoUpdated TODO
Timo Sirainen [Sun, 31 Aug 2008 10:13:57 +0000 (13:13 +0300)] 
Updated TODO

--HG--
branch : HEAD

17 years agoIf imap.envelope is cached, use it instead of rebuilding it.
Timo Sirainen [Sun, 31 Aug 2008 10:03:24 +0000 (13:03 +0300)] 
If imap.envelope is cached, use it instead of rebuilding it.

--HG--
branch : HEAD

17 years agoMinor code cleanup.
Timo Sirainen [Sun, 31 Aug 2008 10:02:58 +0000 (13:02 +0300)] 
Minor code cleanup.

--HG--
branch : HEAD

17 years agoCreated mail_user_[try_]home_expand(). Used them for expanding mail directories.
Timo Sirainen [Sun, 31 Aug 2008 09:23:43 +0000 (12:23 +0300)] 
Created mail_user_[try_]home_expand(). Used them for expanding mail directories.

--HG--
branch : HEAD

17 years agoDon't give bogus "log_file_tail_offset shrank" errors.
Timo Sirainen [Sun, 31 Aug 2008 08:50:27 +0000 (11:50 +0300)] 
Don't give bogus "log_file_tail_offset shrank" errors.

--HG--
branch : HEAD

17 years agoAdded padding to struct mail_transaction_log_header so it's 64bit aligned.
Timo Sirainen [Sun, 31 Aug 2008 08:49:47 +0000 (11:49 +0300)] 
Added padding to struct mail_transaction_log_header so it's 64bit aligned.
Most compilers did that automatically already.

--HG--
branch : HEAD

17 years agoindex fsck: Don't give bogus "duplicate extension" errors and break them.
Timo Sirainen [Sun, 31 Aug 2008 08:48:23 +0000 (11:48 +0300)] 
index fsck: Don't give bogus "duplicate extension" errors and break them.

--HG--
branch : HEAD

17 years agoAdded assert.
Timo Sirainen [Sun, 31 Aug 2008 08:47:07 +0000 (11:47 +0300)] 
Added assert.

--HG--
branch : HEAD

17 years agoDEBUG: Don't verify recent flags if view is already marked inconsistent.
Timo Sirainen [Sun, 31 Aug 2008 08:46:22 +0000 (11:46 +0300)] 
DEBUG: Don't verify recent flags if view is already marked inconsistent.

--HG--
branch : HEAD

17 years agoFixed crashes related to struct mail_index_map_modseq handling.
Timo Sirainen [Sun, 31 Aug 2008 08:02:13 +0000 (11:02 +0300)] 
Fixed crashes related to struct mail_index_map_modseq handling.

--HG--
branch : HEAD

17 years agoReplaced "no extension resizing" flag with "no extension shrinking".
Timo Sirainen [Sun, 31 Aug 2008 07:22:10 +0000 (10:22 +0300)] 
Replaced "no extension resizing" flag with "no extension shrinking".
It fixes some bugs while still handling the original reason it was added.

--HG--
branch : HEAD

17 years agoWrite CPU endianess to transaction log header and check it's correct when reading.
Timo Sirainen [Sun, 31 Aug 2008 06:31:27 +0000 (09:31 +0300)] 
Write CPU endianess to transaction log header and check it's correct when reading.

--HG--
branch : HEAD

17 years agomessage parser: Cleaned up the code and another attempt at fixing infinite looping.
Timo Sirainen [Sat, 30 Aug 2008 12:24:55 +0000 (15:24 +0300)] 
message parser: Cleaned up the code and another attempt at fixing infinite looping.

--HG--
branch : HEAD

17 years agombox: If we detect corrupted cached offsets/sizes, make sure the mbox gets resynced.
Timo Sirainen [Sat, 30 Aug 2008 11:56:41 +0000 (14:56 +0300)] 
mbox: If we detect corrupted cached offsets/sizes, make sure the mbox gets resynced.

--HG--
branch : HEAD

17 years agomail_index_lookup_ext*() didn't return properly aligned pointers with updated transac...
Timo Sirainen [Sat, 30 Aug 2008 11:39:53 +0000 (14:39 +0300)] 
mail_index_lookup_ext*() didn't return properly aligned pointers with updated transaction views.

--HG--
branch : HEAD

17 years agodeliver: Added -s parameter to autosubscribe to autocreated mailboxes.
Timo Sirainen [Sat, 30 Aug 2008 10:32:14 +0000 (13:32 +0300)] 
deliver: Added -s parameter to autosubscribe to autocreated mailboxes.

--HG--
branch : HEAD

17 years agoostream: Make sure writing to files always fully succeeds or fails.
Timo Sirainen [Sat, 30 Aug 2008 10:21:18 +0000 (13:21 +0300)] 
ostream: Make sure writing to files always fully succeeds or fails.
Don't allow partial writes (to NFS).

--HG--
branch : HEAD

17 years agoimap/pop3-proxy: If auth_verbose=yes, log proxy login failures.
Timo Sirainen [Sat, 30 Aug 2008 09:34:34 +0000 (12:34 +0300)] 
imap/pop3-proxy: If auth_verbose=yes, log proxy login failures.

--HG--
branch : HEAD

17 years agologin_log_format_elements: Added %k to show SSL protocol/cipher information.
Timo Sirainen [Sat, 30 Aug 2008 09:00:49 +0000 (12:00 +0300)] 
login_log_format_elements: Added %k to show SSL protocol/cipher information.

--HG--
branch : HEAD

17 years agomessage_parser_init_from_parts(): If parts were broken, we may have assert-crashed.
Timo Sirainen [Sat, 30 Aug 2008 08:27:07 +0000 (11:27 +0300)] 
message_parser_init_from_parts(): If parts were broken, we may have assert-crashed.

--HG--
branch : HEAD

17 years agozlib plugin/bzip2 handling: Update stream's visible fd after changing it.
Timo Sirainen [Sat, 30 Aug 2008 07:55:04 +0000 (10:55 +0300)] 
zlib plugin/bzip2 handling: Update stream's visible fd after changing it.

--HG--
branch : HEAD

17 years agocache file: Don't crash if fields header offset points outside mmapped data.
Timo Sirainen [Sat, 30 Aug 2008 07:28:50 +0000 (10:28 +0300)] 
cache file: Don't crash if fields header offset points outside mmapped data.

--HG--
branch : HEAD

17 years agodeliver: If we're dying because we can't write to log file, write error to stderr.
Timo Sirainen [Fri, 29 Aug 2008 06:58:54 +0000 (09:58 +0300)] 
deliver: If we're dying because we can't write to log file, write error to stderr.

--HG--
branch : HEAD

17 years agoIf logging failed to info log, try to log a failure to error log if it's elsewhere.
Timo Sirainen [Fri, 29 Aug 2008 06:43:18 +0000 (09:43 +0300)] 
If logging failed to info log, try to log a failure to error log if it's elsewhere.

--HG--
branch : HEAD

17 years agoUpdated auth_debug_passwords to say that it also turns on auth_debug.
Timo Sirainen [Thu, 28 Aug 2008 10:54:30 +0000 (13:54 +0300)] 
Updated auth_debug_passwords to say that it also turns on auth_debug.

--HG--
branch : HEAD