]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
17 years agombox: Replaced EBADMSG errno for invalid mboxes with EINVAL to fix compiling with...
Timo Sirainen [Thu, 16 Oct 2008 12:00:44 +0000 (15:00 +0300)] 
mbox: Replaced EBADMSG errno for invalid mboxes with EINVAL to fix compiling with OpenBSD.
The errno is used only for logging purposes so it doesn't really matter what
it is.

--HG--
branch : HEAD

17 years agodict-sql: atomic_inc() didn't work right with negative values.
Timo Sirainen [Thu, 16 Oct 2008 11:58:51 +0000 (14:58 +0300)] 
dict-sql: atomic_inc() didn't work right with negative values.

--HG--
branch : HEAD

17 years agoAdded asserts.
Timo Sirainen [Thu, 16 Oct 2008 09:38:25 +0000 (12:38 +0300)] 
Added asserts.

--HG--
branch : HEAD

17 years agodict quota: Don't crash when recalculating quota (and quota warnings enabled).
Timo Sirainen [Thu, 16 Oct 2008 11:49:37 +0000 (14:49 +0300)] 
dict quota: Don't crash when recalculating quota (and quota warnings enabled).

--HG--
branch : HEAD

17 years agodeliver: Expand variables in namespace prefix.
Timo Sirainen [Thu, 16 Oct 2008 09:47:05 +0000 (12:47 +0300)] 
deliver: Expand variables in namespace prefix.

--HG--
branch : HEAD

17 years agoFETCH MODSEQ (n) was missing parenthesis.
Timo Sirainen [Wed, 15 Oct 2008 13:45:04 +0000 (16:45 +0300)] 
FETCH MODSEQ (n) was missing parenthesis.

--HG--
branch : HEAD

17 years agoCache file was never updated if the file existed but index didn't have cache extension.
Timo Sirainen [Tue, 14 Oct 2008 11:52:44 +0000 (14:52 +0300)] 
Cache file was never updated if the file existed but index didn't have cache extension.

--HG--
branch : HEAD

17 years agombox: Fixed listing mailboxes in namespaces with prefix beginning with '~' or '/'.
Timo Sirainen [Mon, 13 Oct 2008 21:58:13 +0000 (00:58 +0300)] 
mbox: Fixed listing mailboxes in namespaces with prefix beginning with '~' or '/'.

--HG--
branch : HEAD

17 years agoUpdated TODO.
Timo Sirainen [Mon, 13 Oct 2008 21:58:37 +0000 (00:58 +0300)] 
Updated TODO.

--HG--
branch : HEAD

17 years agoVirtual mailboxes: Crashfix with more than one backend mailbox.
Timo Sirainen [Sun, 12 Oct 2008 11:48:18 +0000 (14:48 +0300)] 
Virtual mailboxes: Crashfix with more than one backend mailbox.

--HG--
branch : HEAD

17 years agoVirtual mailboxes: Configuration parsing fix.
Timo Sirainen [Sun, 12 Oct 2008 11:47:51 +0000 (14:47 +0300)] 
Virtual mailboxes: Configuration parsing fix.

--HG--
branch : HEAD

17 years agoVirtual mailboxes: If CRC32 of the search strings changes, rebuild the mailbox.
Timo Sirainen [Sun, 12 Oct 2008 11:40:57 +0000 (14:40 +0300)] 
Virtual mailboxes: If CRC32 of the search strings changes, rebuild the mailbox.

--HG--
branch : HEAD

17 years agoAdded crc32_[str_]more().
Timo Sirainen [Sun, 12 Oct 2008 11:40:08 +0000 (14:40 +0300)] 
Added crc32_[str_]more().

--HG--
branch : HEAD

17 years agoComment update.
Timo Sirainen [Sun, 12 Oct 2008 11:17:51 +0000 (14:17 +0300)] 
Comment update.

--HG--
branch : HEAD

17 years agodict-sql: Dictionary iteration fixes.
Timo Sirainen [Sun, 12 Oct 2008 10:36:54 +0000 (13:36 +0300)] 
dict-sql: Dictionary iteration fixes.

--HG--
branch : HEAD

17 years agoMoved file lock type string parsing code to file-lock.c
Timo Sirainen [Sun, 12 Oct 2008 08:44:33 +0000 (11:44 +0300)] 
Moved file lock type string parsing code to file-lock.c

--HG--
branch : HEAD

17 years agoAdded t_str_new_const().
Timo Sirainen [Sat, 11 Oct 2008 21:22:39 +0000 (00:22 +0300)] 
Added t_str_new_const().

--HG--
branch : HEAD

17 years agovpopmail: Use pw_flags field if vpopmail has it.
Timo Sirainen [Sat, 11 Oct 2008 10:50:47 +0000 (13:50 +0300)] 
vpopmail: Use pw_flags field if vpopmail has it.

--HG--
branch : HEAD

17 years agovpopmail: Improve imap/pop3 disabled error message.
Timo Sirainen [Sat, 11 Oct 2008 10:39:10 +0000 (13:39 +0300)] 
vpopmail: Improve imap/pop3 disabled error message.

--HG--
branch : HEAD

17 years agoMaildir/dbox: Try harder to assign unique UIDVALIDITY values to mailboxes.
Timo Sirainen [Sat, 11 Oct 2008 10:26:46 +0000 (13:26 +0300)] 
Maildir/dbox: Try harder to assign unique UIDVALIDITY values to mailboxes.

--HG--
branch : HEAD

17 years agopop3+maildir: Make sure virtual sizes always get written to dovecot-uidlist file.
Timo Sirainen [Fri, 10 Oct 2008 18:21:52 +0000 (21:21 +0300)] 
pop3+maildir: Make sure virtual sizes always get written to dovecot-uidlist file.

--HG--
branch : HEAD

17 years agoShared mailboxes: Don't crash in some systems when debug logging NULL root_dir.
Timo Sirainen [Thu, 9 Oct 2008 10:52:42 +0000 (13:52 +0300)] 
Shared mailboxes: Don't crash in some systems when debug logging NULL root_dir.

--HG--
branch : HEAD

17 years agoSome fixes to shared namespace listing code.
Timo Sirainen [Thu, 9 Oct 2008 10:05:52 +0000 (13:05 +0300)] 
Some fixes to shared namespace listing code.

--HG--
branch : HEAD

17 years agoLDAP: If auth request queue is full, log how long ago the first request was added.
Timo Sirainen [Wed, 8 Oct 2008 21:08:34 +0000 (00:08 +0300)] 
LDAP: If auth request queue is full, log how long ago the first request was added.

--HG--
branch : HEAD

17 years agocheckpassword: Allow setting uid/gid in userdb_uid and userdb_gid environment.
Timo Sirainen [Wed, 8 Oct 2008 19:44:20 +0000 (22:44 +0300)] 
checkpassword: Allow setting uid/gid in userdb_uid and userdb_gid environment.

--HG--
branch : HEAD

17 years agoShared mailboxes: First mailbox access failed if virtual separator didn't match real...
Timo Sirainen [Wed, 8 Oct 2008 19:09:59 +0000 (22:09 +0300)] 
Shared mailboxes: First mailbox access failed if virtual separator didn't match real separator.

--HG--
branch : HEAD

17 years agoExpire plugin was crashing because of previous change.
Timo Sirainen [Mon, 6 Oct 2008 19:07:23 +0000 (22:07 +0300)] 
Expire plugin was crashing because of previous change.

--HG--
branch : HEAD

17 years agoSolaris: Compile fix for previous PAM changes.
Timo Sirainen [Mon, 6 Oct 2008 16:24:20 +0000 (19:24 +0300)] 
Solaris: Compile fix for previous PAM changes.

--HG--
branch : HEAD

17 years agoPAM: Attempt to give better error messages.
Timo Sirainen [Sun, 5 Oct 2008 21:20:55 +0000 (00:20 +0300)] 
PAM: Attempt to give better error messages.
Detect missing /etc/pam.d/service file and log it as an error the first time
after startup. Don't return "unknown user" and "password mismatch" as errors
but informational messages.

--HG--
branch : HEAD

17 years agoMaildir++ quota: If there are no limits, write "0S" as the file header.
Timo Sirainen [Sun, 5 Oct 2008 20:27:33 +0000 (23:27 +0300)] 
Maildir++ quota: If there are no limits, write "0S" as the file header.

--HG--
branch : HEAD

17 years agoAdded tag 1.2.alpha2 for changeset 140688a281c2
Timo Sirainen [Sun, 5 Oct 2008 17:06:57 +0000 (20:06 +0300)] 
Added tag 1.2.alpha2 for changeset 140688a281c2

--HG--
branch : HEAD

17 years agoReleased v1.2.alpha2. 1.2.alpha2
Timo Sirainen [Sun, 5 Oct 2008 17:06:51 +0000 (20:06 +0300)] 
Released v1.2.alpha2.

--HG--
branch : HEAD

17 years agoUpdated TODO.
Timo Sirainen [Sun, 5 Oct 2008 16:39:45 +0000 (19:39 +0300)] 
Updated TODO.

--HG--
branch : HEAD

17 years agoMaildir++ quota: Fixed maildirsize recalculation when quota limits were read from...
Timo Sirainen [Sun, 5 Oct 2008 16:29:22 +0000 (19:29 +0300)] 
Maildir++ quota: Fixed maildirsize recalculation when quota limits were read from the file.

--HG--
branch : HEAD

17 years agoMaildir++ quota: If there'a s "*" quota rule with 0 limits, keep the quota up-to...
Timo Sirainen [Sun, 5 Oct 2008 16:11:35 +0000 (19:11 +0300)] 
Maildir++ quota: If there'a s "*" quota rule with 0 limits, keep the quota up-to-date anyway.

--HG--
branch : HEAD

17 years agombox: Don't crash if saving fails because of write error (out of disk space).
Timo Sirainen [Sun, 5 Oct 2008 15:43:48 +0000 (18:43 +0300)] 
mbox: Don't crash if saving fails because of write error (out of disk space).

--HG--
branch : HEAD

17 years agoexpire plugin: Fixes for using namespace prefixes.
Timo Sirainen [Sun, 5 Oct 2008 14:21:36 +0000 (17:21 +0300)] 
expire plugin: Fixes for using namespace prefixes.

--HG--
branch : HEAD

17 years agoDon't expand ~/ in mail_location or namespace location.
Timo Sirainen [Sun, 5 Oct 2008 14:12:11 +0000 (17:12 +0300)] 
Don't expand ~/ in mail_location or namespace location.
lib-storage does that expansion in any case and this is kind of a kludgy
workaround to allow expire-tool to work by letting it expand the ~.

--HG--
branch : HEAD

17 years agoexpire-tool: More logging improvements.
Timo Sirainen [Sun, 5 Oct 2008 14:08:11 +0000 (17:08 +0300)] 
expire-tool: More logging improvements.

--HG--
branch : HEAD

17 years agoexpire-tool: --test now shows the username in info messages.
Timo Sirainen [Sun, 5 Oct 2008 13:59:58 +0000 (16:59 +0300)] 
expire-tool: --test now shows the username in info messages.

--HG--
branch : HEAD

17 years agoUpdated NEWS file.
Timo Sirainen [Sun, 5 Oct 2008 13:50:41 +0000 (16:50 +0300)] 
Updated NEWS file.

--HG--
branch : HEAD

17 years agologview: Crashfix for CPUs requiring proper alignment.
Timo Sirainen [Sun, 5 Oct 2008 13:49:48 +0000 (16:49 +0300)] 
logview: Crashfix for CPUs requiring proper alignment.

--HG--
branch : HEAD

17 years agoEarlier changes broke message parsing near EOF.
Timo Sirainen [Sun, 5 Oct 2008 13:37:38 +0000 (16:37 +0300)] 
Earlier changes broke message parsing near EOF.

--HG--
branch : HEAD

17 years agoIncreased initial "mail" memory pool size.
Timo Sirainen [Sun, 5 Oct 2008 13:16:48 +0000 (16:16 +0300)] 
Increased initial "mail" memory pool size.

--HG--
branch : HEAD

17 years agofts squat: Some error handling fixes fixes.
Timo Sirainen [Sun, 5 Oct 2008 13:12:27 +0000 (16:12 +0300)] 
fts squat: Some error handling fixes fixes.

--HG--
branch : HEAD

17 years agombox: Potential crashfix after "next message unexpectedly lost" failures.
Timo Sirainen [Sun, 5 Oct 2008 13:01:04 +0000 (16:01 +0300)] 
mbox: Potential crashfix after "next message unexpectedly lost" failures.

--HG--
branch : HEAD

17 years agoMention mail_max_userip_connections setting in the log message if the limit is exceeded.
Timo Sirainen [Sun, 5 Oct 2008 12:39:37 +0000 (15:39 +0300)] 
Mention mail_max_userip_connections setting in the log message if the limit is exceeded.

--HG--
branch : HEAD

17 years agoChanged the default "quota exceeded" error message.
Timo Sirainen [Sun, 5 Oct 2008 12:21:53 +0000 (15:21 +0300)] 
Changed the default "quota exceeded" error message.

--HG--
branch : HEAD

17 years agodict: Register dicts only after loading modules. This allows using SQL drivers from...
Timo Sirainen [Sun, 5 Oct 2008 11:22:13 +0000 (14:22 +0300)] 
dict: Register dicts only after loading modules. This allows using SQL drivers from modules.

--HG--
branch : HEAD

17 years agoACL plugin: ACL groups weren't strdup()ed so they were pretty much broken.
Timo Sirainen [Sun, 5 Oct 2008 11:07:00 +0000 (14:07 +0300)] 
ACL plugin: ACL groups weren't strdup()ed so they were pretty much broken.

--HG--
branch : HEAD

17 years agodict: Previous changes caused it to fail with "Socket already exists".
Timo Sirainen [Sun, 5 Oct 2008 11:03:35 +0000 (14:03 +0300)] 
dict: Previous changes caused it to fail with "Socket already exists".

--HG--
branch : HEAD

17 years agoRemoved posix_fallocate() failure check for AIX.
Timo Sirainen [Sun, 5 Oct 2008 10:49:29 +0000 (13:49 +0300)] 
Removed posix_fallocate() failure check for AIX.
Apparently it can fail in multiple ways, so we now rely on configure to
catch the problem.

--HG--
branch : HEAD

17 years agoTest if posix_fallocate() works already in configure.
Timo Sirainen [Sun, 5 Oct 2008 10:48:32 +0000 (13:48 +0300)] 
Test if posix_fallocate() works already in configure.

--HG--
branch : HEAD

17 years agoconfigure: create test files with mode 0600.
Timo Sirainen [Sun, 5 Oct 2008 10:47:31 +0000 (13:47 +0300)] 
configure: create test files with mode 0600.

--HG--
branch : HEAD

17 years agombox: last-uid field wasn't being updated in X-IMAP[base]: header.
Timo Sirainen [Sun, 5 Oct 2008 10:32:55 +0000 (13:32 +0300)] 
mbox: last-uid field wasn't being updated in X-IMAP[base]: header.

--HG--
branch : HEAD

17 years agoLog a better error message if ssl_cert_file doesn't point to a valid certificate.
Timo Sirainen [Sat, 4 Oct 2008 21:33:05 +0000 (00:33 +0300)] 
Log a better error message if ssl_cert_file doesn't point to a valid certificate.

--HG--
branch : HEAD

17 years agoIf a process dies because it's out of memory, mention *_process_size setting in the...
Timo Sirainen [Sat, 4 Oct 2008 21:06:56 +0000 (00:06 +0300)] 
If a process dies because it's out of memory, mention *_process_size setting in the error message.

--HG--
branch : HEAD

17 years agoIf we reached max_mail_processes limit, mention the setting in the error message.
Timo Sirainen [Wed, 1 Oct 2008 13:07:57 +0000 (16:07 +0300)] 
If we reached max_mail_processes limit, mention the setting in the error message.

--HG--
branch : HEAD

17 years agodeliver: tried_default_save variable is now global.
Timo Sirainen [Mon, 29 Sep 2008 09:58:14 +0000 (12:58 +0300)] 
deliver: tried_default_save variable is now global.

--HG--
branch : HEAD

17 years agodeliver: Moved mailbox autocreate/autosubscribe settings to struct deliver_settings.
Timo Sirainen [Mon, 29 Sep 2008 09:43:09 +0000 (12:43 +0300)] 
deliver: Moved mailbox autocreate/autosubscribe settings to struct deliver_settings.

--HG--
branch : HEAD

17 years agoAdded net_listen_unix_unlink_stale() and use it where needed to avoid code duplication.
Timo Sirainen [Sat, 27 Sep 2008 09:20:26 +0000 (12:20 +0300)] 
Added net_listen_unix_unlink_stale() and use it where needed to avoid code duplication.

--HG--
branch : HEAD

17 years agoAdded missing dovecot-dict-sql-example.conf to Makefile.
Timo Sirainen [Wed, 24 Sep 2008 20:33:59 +0000 (23:33 +0300)] 
Added missing dovecot-dict-sql-example.conf to Makefile.

--HG--
branch : HEAD

17 years agoSeparate "unknown passdb/userdb X" and "support for X not compiled in" error messages.
Timo Sirainen [Wed, 24 Sep 2008 16:01:23 +0000 (19:01 +0300)] 
Separate "unknown passdb/userdb X" and "support for X not compiled in" error messages.

--HG--
branch : HEAD

17 years agombox: Give an error if trying to use "mbox:INBOX=.." as mail location.
Timo Sirainen [Tue, 23 Sep 2008 16:58:07 +0000 (19:58 +0300)] 
mbox: Give an error if trying to use "mbox:INBOX=.." as mail location.

--HG--
branch : HEAD

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