]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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
Timo Sirainen [Mon, 13 Jul 2009 19:06:33 +0000 (15:06 -0400)]
Fixed expunging appended message that had atomic extension changes done.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 17:19:32 +0000 (13:19 -0400)]
Previous commit accidentally removed mail_index_keywords_create().
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 17:16:45 +0000 (13:16 -0400)]
Moved mail_index_keywords_*() to mail-index.c.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 17:13:03 +0000 (13:13 -0400)]
Moved mail_index_seq_array_*() to mail-index-util.c and added its own .h file.
--HG--
branch : HEAD
Timo Sirainen [Mon, 13 Jul 2009 17:04:24 +0000 (13:04 -0400)]
Isolated all cache transaction handling code to a single file.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jul 2009 20:43:59 +0000 (16:43 -0400)]
IMAP: FETCH X-* parameters weren't working.
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 17:59:32 +0000 (13:59 -0400)]
Use array_bsearch*().
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 17:59:24 +0000 (13:59 -0400)]
Added type safe array_bsearch_insert_pos().
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 17:59:16 +0000 (13:59 -0400)]
Added type safe array_bsearch().
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 17:49:17 +0000 (13:49 -0400)]
expire: Log configuration at startup if mail_debug=yes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 15:08:35 +0000 (11:08 -0400)]
quota: Fixed compiling with older automakes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 02:09:57 +0000 (22:09 -0400)]
convert plugin: Fixed changing hierarchy separators in mailbox names when alt_hierarchy_char isn't set.
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 00:49:34 +0000 (20:49 -0400)]
login processes: Auth code cleanups. Custom IMAP auth errors now have [ALERT] prefix.
This should make them visible in more clients.
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 00:14:42 +0000 (20:14 -0400)]
maildir: Cleaned up save/copy code.
--HG--
branch : HEAD
Timo Sirainen [Fri, 10 Jul 2009 00:13:31 +0000 (20:13 -0400)]
acl: Fixed previous mbox fix.
--HG--
branch : HEAD
Timo Sirainen [Thu, 9 Jul 2009 23:20:00 +0000 (19:20 -0400)]
master: Fail service if home directory path is relative.
--HG--
branch : HEAD
Timo Sirainen [Thu, 9 Jul 2009 17:30:22 +0000 (13:30 -0400)]
Reverted changes committed accidentally in previous commit.
--HG--
branch : HEAD
Timo Sirainen [Thu, 9 Jul 2009 17:28:30 +0000 (13:28 -0400)]
master: A bit more logging improvements for bad UID/GID.
--HG--
branch : HEAD
Timo Sirainen [Thu, 9 Jul 2009 17:26:00 +0000 (13:26 -0400)]
master: Give better error messages if UNIX uid/gid is too high/low.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 22:12:43 +0000 (18:12 -0400)]
maildir: Small code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 21:58:02 +0000 (17:58 -0400)]
dbox: Allow any kind of non-128bit GUIDs. For those store their hash to index instead.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 21:57:10 +0000 (17:57 -0400)]
maildir: Error message fix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 21:39:12 +0000 (17:39 -0400)]
dsync: Improved brain unit test.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 21:22:59 +0000 (17:22 -0400)]
dsync: Fixed uid conflict handling.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 20:59:12 +0000 (16:59 -0400)]
quota-fs: Another compiling fix (for older autotools?)
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 18:10:11 +0000 (14:10 -0400)]
inotify: Give a better error message if user's watch limit exceeds.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 17:50:32 +0000 (13:50 -0400)]
eacces_error_get*(): Show current directory if path is relative.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 03:53:18 +0000 (23:53 -0400)]
maildir: Added some checks for UIDs reaching 2^31-1.
Saving messages when it's reached will be handled by assert-crash for now.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 03:37:22 +0000 (23:37 -0400)]
expire plugin: If mail_debug=yes, log more debug information.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 03:33:19 +0000 (23:33 -0400)]
expire plugin: If a transaction expunges all messages and saves a new one, don't delete expire row.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 02:52:01 +0000 (22:52 -0400)]
acl: dovecot-acl file caching fixes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 02:37:42 +0000 (22:37 -0400)]
acl+mbox: Create also temp acllist file to control directory.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 02:35:50 +0000 (22:35 -0400)]
safe_mkstemp*(): Truncate prefix to original length if creation failed.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 02:27:55 +0000 (22:27 -0400)]
acl+mbox: Create dovecot-acl-list to control dir.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 02:27:37 +0000 (22:27 -0400)]
Added mailbox_list_create_parent_dir() and used it when creating subscriptions file.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 02:27:27 +0000 (22:27 -0400)]
Compiling fix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 01:43:57 +0000 (21:43 -0400)]
OSX+Maildir: Also don't log an error if readdir() fails with EINVAL.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 01:42:06 +0000 (21:42 -0400)]
OSX+Maildir: If readdir() fails with EINVAL after doing rename()s, retry. Fixes HFS+.
Based on patch by Apple.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 01:25:35 +0000 (21:25 -0400)]
gssapi: Code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 01:05:31 +0000 (21:05 -0400)]
gssapi: Use *userok() functions only when authz_name != authn_name.
Some more code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 00:31:15 +0000 (20:31 -0400)]
autogen.sh: Look up config.rpath also from /usr/local/shared/gettext/.
--HG--
branch : HEAD
Timo Sirainen [Wed, 8 Jul 2009 00:18:18 +0000 (20:18 -0400)]
gssapi: Set username via auth_request_set_username().
This makes GSSAPI also use auth_username_* settings. Also improved logging.
--HG--
branch : HEAD
Timo Sirainen [Tue, 7 Jul 2009 23:48:26 +0000 (19:48 -0400)]
gssapi: Code cleanups. Logging error level changes.
--HG--
branch : HEAD
Timo Sirainen [Tue, 7 Jul 2009 22:36:02 +0000 (18:36 -0400)]
mail_location: Added support back for ~user/ expansion in paths.
--HG--
branch : HEAD
Timo Sirainen [Tue, 7 Jul 2009 21:29:27 +0000 (17:29 -0400)]
quota-fs: Fixed previous "VPATH build" commit to work with all shells.
--HG--
branch : HEAD
Timo Sirainen [Tue, 7 Jul 2009 20:02:51 +0000 (16:02 -0400)]
mbox: Don't use UIDVALIDITY 1 for all new mailboxes.
--HG--
branch : HEAD
Timo Sirainen [Tue, 7 Jul 2009 19:14:54 +0000 (15:14 -0400)]
quota-fs: Default to user quota with NFS, not group quota.
--HG--
branch : HEAD
Matthias Andree [Tue, 7 Jul 2009 19:01:36 +0000 (21:01 +0200)]
Fix VPATH build of RQUOTA support.
Some rpcgen derive #include "..." paths from the infile argument.
This will be off for VPATH builds, as the generated rquota_xdr.c
code will look in $(srcdir), but we'll generate the rquota.h file in
$(builddir). Play safe and copy rquota.x to $(builddir) first.
This fixes the build on openSUSE 11.1.
--HG--
branch : HEAD
Timo Sirainen [Tue, 7 Jul 2009 18:46:50 +0000 (14:46 -0400)]
Use mailbox_get_vname() to improve logging.
--HG--
branch : HEAD