]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agolib-storage: Fixed listing subscriptions for namespaces with prefix.
Timo Sirainen [Mon, 25 Feb 2013 17:52:40 +0000 (19:52 +0200)] 
lib-storage: Fixed listing subscriptions for namespaces with prefix.

12 years agoconfigure: Fixed plugins when compiling --with-shared-libs
Timo Sirainen [Mon, 25 Feb 2013 17:37:53 +0000 (19:37 +0200)] 
configure: Fixed plugins when compiling --with-shared-libs

12 years agoAdded signature for changeset 508d46f85815
Timo Sirainen [Mon, 25 Feb 2013 15:33:16 +0000 (17:33 +0200)] 
Added signature for changeset 508d46f85815

12 years agoAdded tag 2.2.rc1 for changeset 508d46f85815
Timo Sirainen [Mon, 25 Feb 2013 15:33:13 +0000 (17:33 +0200)] 
Added tag 2.2.rc1 for changeset 508d46f85815

12 years agoReleased v2.2.rc1. 2.2.rc1
Timo Sirainen [Mon, 25 Feb 2013 15:33:02 +0000 (17:33 +0200)] 
Released v2.2.rc1.

12 years agoMerged changes from v2.1 tree.
Timo Sirainen [Mon, 25 Feb 2013 15:29:28 +0000 (17:29 +0200)] 
Merged changes from v2.1 tree.

12 years agoTODO updated
Timo Sirainen [Mon, 25 Feb 2013 15:25:10 +0000 (17:25 +0200)] 
TODO updated

12 years agoFixed checking UTF8 input validity.
Timo Sirainen [Mon, 25 Feb 2013 15:23:25 +0000 (17:23 +0200)] 
Fixed checking UTF8 input validity.

12 years agoFixed checking UTF8 input validity.
Timo Sirainen [Mon, 25 Feb 2013 15:23:25 +0000 (17:23 +0200)] 
Fixed checking UTF8 input validity.

12 years agodsync-server: Don't crash if connection didn't come from doveadm-server
Timo Sirainen [Mon, 25 Feb 2013 15:07:55 +0000 (17:07 +0200)] 
dsync-server: Don't crash if connection didn't come from doveadm-server

12 years agodsync: Minor code cleanup.
Timo Sirainen [Mon, 25 Feb 2013 15:07:38 +0000 (17:07 +0200)] 
dsync: Minor code cleanup.

12 years agodsync: Don't close stdin/stdout when not supposed to.
Timo Sirainen [Mon, 25 Feb 2013 14:58:02 +0000 (16:58 +0200)] 
dsync: Don't close stdin/stdout when not supposed to.

12 years agomaildir: Preserve [SW]=sizes when renaming a maildir duplicate file.
Timo Sirainen [Mon, 25 Feb 2013 14:44:57 +0000 (16:44 +0200)] 
maildir: Preserve [SW]=sizes when renaming a maildir duplicate file.

12 years agoReverted the recent hash.h changes. Instead use -Wno-duplicate-decl-specifier with...
Timo Sirainen [Mon, 25 Feb 2013 14:12:49 +0000 (16:12 +0200)] 
Reverted the recent hash.h changes. Instead use -Wno-duplicate-decl-specifier with clang.
The modified version required hash table users to know the structs'
contents, which isn't otherwise necessary.

12 years agodsync: Added tcps (TCP+SSL) target.
Timo Sirainen [Mon, 25 Feb 2013 13:55:06 +0000 (15:55 +0200)] 
dsync: Added tcps (TCP+SSL) target.

12 years agodoveadm-server: Added support for ssl listeners.
Timo Sirainen [Mon, 25 Feb 2013 13:54:01 +0000 (15:54 +0200)] 
doveadm-server: Added support for ssl listeners.

12 years agolib-storage: Replaced pop3c_ssl_ca_dir and imapc_ssl_ca_dir with generic ssl_client_c...
Timo Sirainen [Mon, 25 Feb 2013 13:52:00 +0000 (15:52 +0200)] 
lib-storage: Replaced pop3c_ssl_ca_dir and imapc_ssl_ca_dir with generic ssl_client_ca_dir.

12 years agolib-master: If ssl settings are used, initialize ssl context automatically.
Timo Sirainen [Mon, 25 Feb 2013 13:51:16 +0000 (15:51 +0200)] 
lib-master: If ssl settings are used, initialize ssl context automatically.

12 years agolib-ssl-iostream: Support wildcard certificates when verifying hostname.
Timo Sirainen [Mon, 25 Feb 2013 13:50:50 +0000 (15:50 +0200)] 
lib-ssl-iostream: Support wildcard certificates when verifying hostname.

12 years agodsync: Use iostreams instead of fd when receiving connection from doveadm-server.
Timo Sirainen [Mon, 25 Feb 2013 12:00:10 +0000 (14:00 +0200)] 
dsync: Use iostreams instead of fd when receiving connection from doveadm-server.

12 years agoMODULE_LIBS is now part of LIBDOVECOT. No need to explicitly link it everywhere.
Timo Sirainen [Mon, 25 Feb 2013 11:00:40 +0000 (13:00 +0200)] 
MODULE_LIBS is now part of LIBDOVECOT. No need to explicitly link it everywhere.

12 years agoconfigure: Fix previous commit & implement AC_C_TYPEOF ourself.
Timo Sirainen [Mon, 25 Feb 2013 07:12:06 +0000 (09:12 +0200)] 
configure: Fix previous commit & implement AC_C_TYPEOF ourself.
RHEL5's autoconf was old enough to not have AC_C_TYPEOF.

12 years agoconfigure: Removed accidentally enabled clang -fsanitize options for now.
Timo Sirainen [Mon, 25 Feb 2013 07:07:13 +0000 (09:07 +0200)] 
configure: Removed accidentally enabled clang -fsanitize options for now.

12 years agoimap: Handle UID commands without a wrapper UID command.
Timo Sirainen [Sun, 24 Feb 2013 17:48:55 +0000 (19:48 +0200)] 
imap: Handle UID commands without a wrapper UID command.
This avoids calling command hooks once for UID command and again for the
real command.

12 years agodsync: Added tcp:host[:port] target for syncing via doveadm-server.
Timo Sirainen [Sun, 24 Feb 2013 17:39:52 +0000 (19:39 +0200)] 
dsync: Added tcp:host[:port] target for syncing via doveadm-server.

12 years agodoveadm: If doveadm-server sends broken input, disconnect.
Timo Sirainen [Sun, 24 Feb 2013 17:38:27 +0000 (19:38 +0200)] 
doveadm: If doveadm-server sends broken input, disconnect.

12 years agodoveadm: When connecting to doveadm socket without :port, use doveadm_port setting.
Timo Sirainen [Sun, 24 Feb 2013 17:37:45 +0000 (19:37 +0200)] 
doveadm: When connecting to doveadm socket without :port, use doveadm_port setting.

12 years agodoveadm: Renamed doveadm_proxy_port setting to doveadm_port.
Timo Sirainen [Sun, 24 Feb 2013 17:35:39 +0000 (19:35 +0200)] 
doveadm: Renamed doveadm_proxy_port setting to doveadm_port.
There's still an alias for doveadm_proxy_port.

12 years agolmtp: Log a bit nicer message when client QUITs.
Timo Sirainen [Sun, 24 Feb 2013 16:19:40 +0000 (18:19 +0200)] 
lmtp: Log a bit nicer message when client QUITs.
I did think about removing the connect and successful disconnect messages
entirely, but these may be useful when debugging problems with MTA.

12 years agodsync: Always skip alias namespaces.
Timo Sirainen [Sun, 24 Feb 2013 16:02:25 +0000 (18:02 +0200)] 
dsync: Always skip alias namespaces.

12 years agolazy-expunge: If lazy_expunge_only_last_instance is set, copy only last instances...
Timo Sirainen [Sun, 24 Feb 2013 14:43:28 +0000 (16:43 +0200)] 
lazy-expunge: If lazy_expunge_only_last_instance is set, copy only last instances of mails.
Requires storage backend to support refcounts.

12 years agolib-storage: Added MAIL_FETCH_REFCOUNT for getting mail's reference count.
Timo Sirainen [Sun, 24 Feb 2013 14:33:24 +0000 (16:33 +0200)] 
lib-storage: Added MAIL_FETCH_REFCOUNT for getting mail's reference count.
This is useful only for backends where mailbox_copy() increases the
refcount. With maildir&sdbox it can be looked up from the file's link count.
With mdbox the refcount is stored in the map index. Other formats don't
currently implement this.

12 years agolib-settings: Parse block names {} case-insensitively.
Timo Sirainen [Sun, 24 Feb 2013 14:15:23 +0000 (16:15 +0200)] 
lib-settings: Parse block names {} case-insensitively.
This fixes namespace { mailbox foo { .. } } settings when they go through
environment and get uppercased.

12 years agoimap: Don't leak mailboxes on CATENATE errors.
Timo Sirainen [Sun, 24 Feb 2013 14:02:47 +0000 (16:02 +0200)] 
imap: Don't leak mailboxes on CATENATE errors.

12 years agolib-storage: Fixed setting \Recent flags for sessions that didn't drop them.
Timo Sirainen [Sun, 24 Feb 2013 13:52:57 +0000 (15:52 +0200)] 
lib-storage: Fixed setting \Recent flags for sessions that didn't drop them.
If another session wasn't dropping the \Recent flags, no new mails were
getting them unless the mailbox was reopened.

12 years agolib-storage: Fixed \Recent flag race conditions.
Timo Sirainen [Sun, 24 Feb 2013 13:50:26 +0000 (15:50 +0200)] 
lib-storage: Fixed \Recent flag race conditions.
The \Recent flags should only be set while locked within
mail_index_sync_begin()..commit(). The following view syncing syncs only up
to how far the index was synced, so it won't see any new messages that
haven't yet been assigned a \Recent flag.

12 years agoCompiler warning fix.
Timo Sirainen [Sun, 24 Feb 2013 13:26:53 +0000 (15:26 +0200)] 
Compiler warning fix.

12 years agoo_stream_send_istream(): Fixed copying when [io]streams neither have usable fds.
Timo Sirainen [Sun, 24 Feb 2013 13:02:44 +0000 (15:02 +0200)] 
o_stream_send_istream(): Fixed copying when [io]streams neither have usable fds.

12 years agoAvoid unsigned integer overflows.
Timo Sirainen [Sun, 24 Feb 2013 13:00:13 +0000 (15:00 +0200)] 
Avoid unsigned integer overflows.

12 years agoimap: Added assert+comment to give easier to understand error.
Timo Sirainen [Sun, 24 Feb 2013 12:59:54 +0000 (14:59 +0200)] 
imap: Added assert+comment to give easier to understand error.

12 years agolib-storage: If mail saving is cancelled, don't check that all the input was read.
Timo Sirainen [Sun, 24 Feb 2013 12:58:32 +0000 (14:58 +0200)] 
lib-storage: If mail saving is cancelled, don't check that all the input was read.

12 years agoAvoid under/overflows in unsigned integer calculations.
Timo Sirainen [Sun, 24 Feb 2013 09:58:46 +0000 (11:58 +0200)] 
Avoid under/overflows in unsigned integer calculations.

12 years agotest-json-parser: Don't access memory out of bounds.
Timo Sirainen [Sun, 24 Feb 2013 09:55:07 +0000 (11:55 +0200)] 
test-json-parser: Don't access memory out of bounds.

12 years agoseq_range_array_add(): Fixed handling sequence ranges that contain zeros.
Timo Sirainen [Sun, 24 Feb 2013 09:54:00 +0000 (11:54 +0200)] 
seq_range_array_add(): Fixed handling sequence ranges that contain zeros.

12 years agoAvoid overflow error from clang -fsanitize=integer.
Timo Sirainen [Sun, 24 Feb 2013 08:50:35 +0000 (10:50 +0200)] 
Avoid overflow error from clang -fsanitize=integer.

12 years agolib-index: Don't unnecessarily update dovecot.index again after log rotation.
Timo Sirainen [Sun, 24 Feb 2013 08:49:38 +0000 (10:49 +0200)] 
lib-index: Don't unnecessarily update dovecot.index again after log rotation.

12 years agoReplaced all -1U and (unsigned int)-1 with UINT_MAX.
Timo Sirainen [Sun, 24 Feb 2013 07:16:31 +0000 (09:16 +0200)] 
Replaced all -1U and (unsigned int)-1 with UINT_MAX.
It's somewhat clearer this way. Also clang's -fsanitize=integer gives
runtime errors about -1U (but not about explicit casts, so no need to change
(type)-1 casts).

12 years agoCompiler warning fix.
Timo Sirainen [Sun, 24 Feb 2013 06:58:03 +0000 (08:58 +0200)] 
Compiler warning fix.

12 years agoPrevious "duplicate const" fix accidentally deleted some checking code instead of...
Timo Sirainen [Sun, 24 Feb 2013 06:54:58 +0000 (08:54 +0200)] 
Previous "duplicate const" fix accidentally deleted some checking code instead of fixing it.

12 years agoFixed "duplicate const" warnings with new clang.
Timo Sirainen [Sun, 24 Feb 2013 06:46:28 +0000 (08:46 +0200)] 
Fixed "duplicate const" warnings with new clang.

12 years agoMinor code cleanup
Timo Sirainen [Sun, 24 Feb 2013 06:43:34 +0000 (08:43 +0200)] 
Minor code cleanup

12 years agoUse proper HAVE_TYPEOF check instead of checking with gcc versions.
Timo Sirainen [Sun, 24 Feb 2013 06:44:27 +0000 (08:44 +0200)] 
Use proper HAVE_TYPEOF check instead of checking with gcc versions.

12 years agoCompiler warning fix.
Timo Sirainen [Sun, 24 Feb 2013 06:06:59 +0000 (08:06 +0200)] 
Compiler warning fix.

12 years agodsync: Don't log about remote dsync status if we're not doing a remote sync.
Timo Sirainen [Sun, 24 Feb 2013 06:06:51 +0000 (08:06 +0200)] 
dsync: Don't log about remote dsync status if we're not doing a remote sync.

12 years agoauth_debug_passwords: Add a warning to AUTH/CONT lines about them having sensitive...
Timo Sirainen [Fri, 22 Feb 2013 14:42:23 +0000 (16:42 +0200)] 
auth_debug_passwords: Add a warning to AUTH/CONT lines about them having sensitive data.

12 years agopop3: Fixed infinite looping
Timo Sirainen [Fri, 22 Feb 2013 14:21:20 +0000 (16:21 +0200)] 
pop3: Fixed infinite looping

12 years agoquota-fs: Support NetBSD 6.0 libquota.
Timo Sirainen [Fri, 22 Feb 2013 14:03:00 +0000 (16:03 +0200)] 
quota-fs: Support NetBSD 6.0 libquota.
Patch by Emmanuel Dreyfus.

12 years agolib-index: Fixed assert-crash on some error conditions.
Timo Sirainen [Fri, 22 Feb 2013 13:49:35 +0000 (15:49 +0200)] 
lib-index: Fixed assert-crash on some error conditions.

12 years agodoveadm user: Write an error if user doesn't exist.
Timo Sirainen [Fri, 22 Feb 2013 13:34:59 +0000 (15:34 +0200)] 
doveadm user: Write an error if user doesn't exist.

12 years agodoveconf: Discourage using plain "doveconf" by recommending -n parameter in the output.
Timo Sirainen [Fri, 22 Feb 2013 13:24:01 +0000 (15:24 +0200)] 
doveconf: Discourage using plain "doveconf" by recommending -n parameter in the output.

12 years agoauth: userdb passwd iteration no longer skips shells.
Timo Sirainen [Fri, 22 Feb 2013 13:14:19 +0000 (15:14 +0200)] 
auth: userdb passwd iteration no longer skips shells.
Some systems are using passwd for mail users with shell set to nologin.
Maybe first_valid_uid check is good enough alone?

12 years agofts-solr: Truncate header if it's over 1 MB.
Timo Sirainen [Fri, 22 Feb 2013 12:49:27 +0000 (14:49 +0200)] 
fts-solr: Truncate header if it's over 1 MB.
Previously we just warned about it.

12 years agolib-dict: Fixed hang if async commit's callback did more dict access.
Timo Sirainen [Fri, 22 Feb 2013 11:51:02 +0000 (13:51 +0200)] 
lib-dict: Fixed hang if async commit's callback did more dict access.
Specifically this fixes a hang with dict-quota plugin when user didn't exist
and quota was changed before calculating it.

12 years agomail_shared_explicit_inbox: Switched the default from "yes" to "no".
Timo Sirainen [Fri, 22 Feb 2013 11:21:09 +0000 (13:21 +0200)] 
mail_shared_explicit_inbox: Switched the default from "yes" to "no".

12 years agoauth: Use real_lip for proxy_maybe checks.
Timo Sirainen [Fri, 22 Feb 2013 11:05:21 +0000 (13:05 +0200)] 
auth: Use real_lip for proxy_maybe checks.

12 years agoauth: Added real_[lr]ip, real_[lr]port variables.
Timo Sirainen [Fri, 22 Feb 2013 11:04:45 +0000 (13:04 +0200)] 
auth: Added real_[lr]ip, real_[lr]port variables.
The unreal ones differ when a trusted proxy overrides them.

12 years agoproxying cleanup: Send TTL=1 (instead of TTL=0) as "no more proxying".
Timo Sirainen [Fri, 22 Feb 2013 10:42:26 +0000 (12:42 +0200)] 
proxying cleanup: Send TTL=1 (instead of TTL=0) as "no more proxying".

12 years agolib-lda: Give a better error message if dotlocking duplicate db fails.
Timo Sirainen [Fri, 22 Feb 2013 10:19:36 +0000 (12:19 +0200)] 
lib-lda: Give a better error message if dotlocking duplicate db fails.

12 years agodict-sql: Iterating with multiple SQL queries didn't free all the queries.
Timo Sirainen [Fri, 22 Feb 2013 10:12:26 +0000 (12:12 +0200)] 
dict-sql: Iterating with multiple SQL queries didn't free all the queries.

12 years agoindexer-worker: Fixed keeping config connection open before dropping root privileges.
Timo Sirainen [Fri, 22 Feb 2013 08:42:40 +0000 (10:42 +0200)] 
indexer-worker: Fixed keeping config connection open before dropping root privileges.
The initial settings reading doesn't really do anything, since the real
settings are again read by mail-storage-service.

12 years agolib-storage: Make sure mailbox_get_open_status() can't be used with items that can...
Timo Sirainen [Fri, 22 Feb 2013 08:32:05 +0000 (10:32 +0200)] 
lib-storage: Make sure mailbox_get_open_status() can't be used with items that can fail.

12 years agodoveadm, indexer: Don't crash if STATUS_LAST_CACHED_SEQ lookup fails.
Timo Sirainen [Fri, 22 Feb 2013 08:31:38 +0000 (10:31 +0200)] 
doveadm, indexer: Don't crash if STATUS_LAST_CACHED_SEQ lookup fails.
(I'm sure I did this change already once, where did it go?..)

12 years agofts: Don't send binary MIME parts to backend through UTF8 text conversion.
Timo Sirainen [Fri, 22 Feb 2013 08:17:14 +0000 (10:17 +0200)] 
fts: Don't send binary MIME parts to backend through UTF8 text conversion.
Based on patch by Mike Abbott / Apple.

12 years agolib-storage: Fixed assert-crash when saving mails if UIDs weren't assigned.
Timo Sirainen [Fri, 22 Feb 2013 08:09:19 +0000 (10:09 +0200)] 
lib-storage: Fixed assert-crash when saving mails if UIDs weren't assigned.

12 years agomdbox: If m.X file has no mails, don't try to fix it infinitely in storage rebuild.
Timo Sirainen [Fri, 22 Feb 2013 08:01:06 +0000 (10:01 +0200)] 
mdbox: If m.X file has no mails, don't try to fix it infinitely in storage rebuild.

12 years agomdbox: Don't try to undelete any mailboxes in storage rebuild to avoid assert-crashes.
Timo Sirainen [Fri, 22 Feb 2013 07:43:59 +0000 (09:43 +0200)] 
mdbox: Don't try to undelete any mailboxes in storage rebuild to avoid assert-crashes.

12 years agoquota-status: Fixed compiling with older autotools.
Timo Sirainen [Fri, 22 Feb 2013 05:37:18 +0000 (07:37 +0200)] 
quota-status: Fixed compiling with older autotools.

12 years agoimap: Allocate LIST patterns from command pool so they don't get corrupted in long...
Timo Sirainen [Thu, 21 Feb 2013 17:58:39 +0000 (19:58 +0200)] 
imap: Allocate LIST patterns from command pool so they don't get corrupted in long runs.

12 years agomailbox_list_index=yes: Don't crash if destroying list before its init finished.
Timo Sirainen [Thu, 21 Feb 2013 17:30:38 +0000 (19:30 +0200)] 
mailbox_list_index=yes: Don't crash if destroying list before its init finished.

12 years agoAdded signature for changeset 018de2aa893a
Timo Sirainen [Thu, 21 Feb 2013 15:09:08 +0000 (17:09 +0200)] 
Added signature for changeset 018de2aa893a

12 years agoAdded tag 2.2.beta2 for changeset 018de2aa893a
Timo Sirainen [Thu, 21 Feb 2013 15:09:02 +0000 (17:09 +0200)] 
Added tag 2.2.beta2 for changeset 018de2aa893a

12 years agoReleased v2.2.beta1. 2.2.beta2
Timo Sirainen [Thu, 21 Feb 2013 15:07:55 +0000 (17:07 +0200)] 
Released v2.2.beta1.

12 years agolib-http: Fixed hanging on errors
Stephan Bosch [Thu, 21 Feb 2013 15:06:27 +0000 (17:06 +0200)] 
lib-http: Fixed hanging on errors

12 years agoRemoved dead assignments.
Timo Sirainen [Thu, 21 Feb 2013 12:16:45 +0000 (14:16 +0200)] 
Removed dead assignments.

12 years agodsync: Fixed hiding the "remote command returned error" message when it was unnecessary.
Timo Sirainen [Thu, 21 Feb 2013 12:15:15 +0000 (14:15 +0200)] 
dsync: Fixed hiding the "remote command returned error" message when it was unnecessary.

12 years agoquota-status: Fixed compiling
Timo Sirainen [Thu, 21 Feb 2013 11:27:42 +0000 (13:27 +0200)] 
quota-status: Fixed compiling

12 years agoTODO updated
Timo Sirainen [Thu, 21 Feb 2013 11:22:33 +0000 (13:22 +0200)] 
TODO updated

12 years agoMerged changes from v2.1 tree.
Timo Sirainen [Thu, 21 Feb 2013 11:21:18 +0000 (13:21 +0200)] 
Merged changes from v2.1 tree.

12 years agolib-http: Minor improvements.
Stephan Bosch [Thu, 21 Feb 2013 08:23:08 +0000 (10:23 +0200)] 
lib-http: Minor improvements.

12 years agolib-http: Fixed hangs/crashes with chunked ostream.
Timo Sirainen [Thu, 21 Feb 2013 08:21:31 +0000 (10:21 +0200)] 
lib-http: Fixed hangs/crashes with chunked ostream.
Based on patch by Stephan Bosch.

12 years agoAdded quota plugin's headers to LIBDOVECOT_STORAGE_INCLUDE.
Timo Sirainen [Thu, 21 Feb 2013 05:55:24 +0000 (07:55 +0200)] 
Added quota plugin's headers to LIBDOVECOT_STORAGE_INCLUDE.
This allows creating external plugins that depend on the quota plugin
(similar to trash plugin).

12 years agolib-storage: Fixed crash with mailbox_list_index=no
Timo Sirainen [Thu, 21 Feb 2013 04:22:40 +0000 (06:22 +0200)] 
lib-storage: Fixed crash with mailbox_list_index=no

12 years agolib-http: Fixed hang with failed DNS lookups
Stephan Bosch [Wed, 20 Feb 2013 17:34:51 +0000 (19:34 +0200)] 
lib-http: Fixed hang with failed DNS lookups

12 years agoquota-status: Load plugins after all.
Timo Sirainen [Wed, 20 Feb 2013 14:58:45 +0000 (16:58 +0200)] 
quota-status: Load plugins after all.
They may be needed for user initialization to work (e.g. virtual plugin) or
maybe even for quota itself to work (external quota backend plugin).

12 years agomailbox_list_index: Delay allocating the index so mbox can override the index path.
Timo Sirainen [Wed, 20 Feb 2013 14:49:14 +0000 (16:49 +0200)] 
mailbox_list_index: Delay allocating the index so mbox can override the index path.

12 years agombox: Fixed mailbox_update() to not shrink uidnext.
Timo Sirainen [Wed, 20 Feb 2013 14:03:53 +0000 (16:03 +0200)] 
mbox: Fixed mailbox_update() to not shrink uidnext.

12 years agoacl: Skip ACLs if admin user flag is set (especially dsync).
Timo Sirainen [Wed, 20 Feb 2013 13:56:56 +0000 (15:56 +0200)] 
acl: Skip ACLs if admin user flag is set (especially dsync).

12 years agoacl: If copy() doesn't have enough permissions, free mail_save_context properly.
Timo Sirainen [Wed, 20 Feb 2013 13:49:46 +0000 (15:49 +0200)] 
acl: If copy() doesn't have enough permissions, free mail_save_context properly.

12 years agolib-storage: Added more asserts to catch missing mail_save_context frees.
Timo Sirainen [Wed, 20 Feb 2013 13:49:06 +0000 (15:49 +0200)] 
lib-storage: Added more asserts to catch missing mail_save_context frees.
Arguably mail_save_context could already freed at this time, but some other
code relies on this as well. These could be removed later if this is no
longer true.

12 years agolib-storage: If mailbox is deleted, mailbox_save_begin() should cancel mail_save_context.
Timo Sirainen [Wed, 20 Feb 2013 13:41:17 +0000 (15:41 +0200)] 
lib-storage: If mailbox is deleted, mailbox_save_begin() should cancel mail_save_context.