]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agomdbox: When rebuilding storage, fsck the map index first to make sure it's valid.
Timo Sirainen [Tue, 27 Nov 2012 08:39:26 +0000 (10:39 +0200)] 
mdbox: When rebuilding storage, fsck the map index first to make sure it's valid.
This fixes assert-crash when the map index contained records with UIDs in
wrong order.

12 years agomailbox-alias plugin: Error handling fix.
Timo Sirainen [Tue, 27 Nov 2012 08:02:59 +0000 (10:02 +0200)] 
mailbox-alias plugin: Error handling fix.

12 years agolib-index: Added v2.2+ forwards compatibility to dovecot.index.cache
Timo Sirainen [Tue, 27 Nov 2012 07:53:33 +0000 (09:53 +0200)] 
lib-index: Added v2.2+ forwards compatibility to dovecot.index.cache

12 years agologin: Reverted previous fix attempt for SSL_accept() busy-looping.
Timo Sirainen [Tue, 27 Nov 2012 07:13:57 +0000 (09:13 +0200)] 
login: Reverted previous fix attempt for SSL_accept() busy-looping.
Apparently didn't work. Probably this patch doesn't help anything then, so
just remove the extra complexity.

12 years agoauth: userdb passwd lookups should have been done via worker processes by default.
Timo Sirainen [Tue, 27 Nov 2012 06:43:15 +0000 (08:43 +0200)] 
auth: userdb passwd lookups should have been done via worker processes by default.

12 years agofts-solr: Removed deprecated waitFlush parameter from commit.
Timo Sirainen [Tue, 27 Nov 2012 06:08:50 +0000 (08:08 +0200)] 
fts-solr: Removed deprecated waitFlush parameter from commit.

12 years agoReversed recent "short utf8" changes.
Timo Sirainen [Tue, 27 Nov 2012 05:50:06 +0000 (07:50 +0200)] 
Reversed recent "short utf8" changes.
Solr code needs to parse the UTF8 input explicitly anyway to encode the XML
characters. And all the character checks were already done in it.

12 years agodoveadm-server: Reset headers in print output between running commands.
Timo Sirainen [Tue, 27 Nov 2012 04:21:18 +0000 (06:21 +0200)] 
doveadm-server: Reset headers in print output between running commands.

12 years agodoveadm-server: Avoid eating CPU when client disconnects before authentication is...
Timo Sirainen [Tue, 27 Nov 2012 04:20:44 +0000 (06:20 +0200)] 
doveadm-server: Avoid eating CPU when client disconnects before authentication is done.

12 years agodoveadm: Don't disconnect from server too early while there are still commands.
Timo Sirainen [Tue, 27 Nov 2012 04:19:57 +0000 (06:19 +0200)] 
doveadm: Don't disconnect from server too early while there are still commands.

12 years agodoveadm: Include username in internal errors and "no such user" errors when running...
Timo Sirainen [Tue, 27 Nov 2012 04:19:10 +0000 (06:19 +0200)] 
doveadm: Include username in internal errors and "no such user" errors when running via server.

12 years agofts-solr: Marked as FTS_BACKEND_FLAG_BUILD_SHORT_UTF8
Timo Sirainen [Tue, 27 Nov 2012 01:49:36 +0000 (03:49 +0200)] 
fts-solr: Marked as FTS_BACKEND_FLAG_BUILD_SHORT_UTF8

12 years agofts: Added FTS_BACKEND_FLAG_BUILD_SHORT_UTF8 to require sending only short UTF8 data...
Timo Sirainen [Tue, 27 Nov 2012 01:49:25 +0000 (03:49 +0200)] 
fts: Added FTS_BACKEND_FLAG_BUILD_SHORT_UTF8 to require sending only short UTF8 data to backend.

12 years agoliblib: Added uni_utf8_short_*() for handling UTF8 data where [56]-byte sequences...
Timo Sirainen [Tue, 27 Nov 2012 01:48:15 +0000 (03:48 +0200)] 
liblib: Added uni_utf8_short_*() for handling UTF8 data where [56]-byte sequences are invalid.

12 years agoquota: mailbox_get_status(STATUS_CHECK_OVER_QUOTA) returned wrong value on success.
Timo Sirainen [Tue, 27 Nov 2012 00:41:53 +0000 (02:41 +0200)] 
quota: mailbox_get_status(STATUS_CHECK_OVER_QUOTA) returned wrong value on success.
This fixes lmtp_rcpt_check_quota=yes

12 years agoman: Added -d parameter to doveadm expunge.
Timo Sirainen [Tue, 27 Nov 2012 00:20:37 +0000 (02:20 +0200)] 
man: Added -d parameter to doveadm expunge.
Patch by Pascal Volk.

12 years agologin: Try to avoid busy-looping on SSL_accept() when client doesn't behave nicely.
Timo Sirainen [Fri, 23 Nov 2012 06:52:06 +0000 (08:52 +0200)] 
login: Try to avoid busy-looping on SSL_accept() when client doesn't behave nicely.

12 years agoauth: Added a way to set default values for nonexistent LDAP attributes.
Timo Sirainen [Fri, 23 Nov 2012 06:32:13 +0000 (08:32 +0200)] 
auth: Added a way to set default values for nonexistent LDAP attributes.
%{ldap:attrName:default_value} expands to default_value if attrName doesn't
exist.

12 years agoauth: Give a better error message for "client doesn't have lookup permissions".
Timo Sirainen [Wed, 7 Nov 2012 16:14:20 +0000 (18:14 +0200)] 
auth: Give a better error message for "client doesn't have lookup permissions".

12 years agoMakefile: Add -lssl to installed dovecot-config's LIBDOVECOT_LOGIN if needed.
Timo Sirainen [Wed, 7 Nov 2012 15:44:32 +0000 (17:44 +0200)] 
Makefile: Add -lssl to installed dovecot-config's LIBDOVECOT_LOGIN if needed.

12 years agovar_expand*(): Don't use a data stack frame when expanding long %{variables}
Timo Sirainen [Wed, 7 Nov 2012 15:37:16 +0000 (17:37 +0200)] 
var_expand*(): Don't use a data stack frame when expanding long %{variables}
This avoids potential crashes if the destination string is also allocated
from data stack and requires growing.

12 years agomdbox: Don't leave extra records to dovecot.map.index if mailbox index locking fails.
Timo Sirainen [Wed, 7 Nov 2012 15:05:47 +0000 (17:05 +0200)] 
mdbox: Don't leave extra records to dovecot.map.index if mailbox index locking fails.
Fixes errors such as:
Corrupted dbox file /mdbox/storage/m.1 (around offset=2652): EOF reading msg header (got 0/30 bytes)

12 years agoimap: Avoid sending multiple unnecessary VANISHED lines when sync had lots of changes.
Timo Sirainen [Tue, 6 Nov 2012 20:13:13 +0000 (22:13 +0200)] 
imap: Avoid sending multiple unnecessary VANISHED lines when sync had lots of changes.

12 years agolib-ssl-iostream: [io]streams were added an unnecessary reference, causing memory...
Timo Sirainen [Mon, 5 Nov 2012 12:28:24 +0000 (14:28 +0200)] 
lib-ssl-iostream: [io]streams were added an unnecessary reference, causing memory leaks.

12 years agolib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY may have caused stale data to be read from...
Timo Sirainen [Sun, 4 Nov 2012 15:26:24 +0000 (17:26 +0200)] 
lib-index: MAIL_INDEX_OPEN_FLAG_SAVEONLY may have caused stale data to be read from cache.

12 years agolib-index: Recent cache file changes broke writing.
Timo Sirainen [Sat, 3 Nov 2012 16:43:00 +0000 (18:43 +0200)] 
lib-index: Recent cache file changes broke writing.

12 years agoMakefile: Add -lssl to installed dovecot-config's LIBDOVECOT_STORAGE if needed.
Timo Sirainen [Wed, 31 Oct 2012 11:24:49 +0000 (13:24 +0200)] 
Makefile: Add -lssl to installed dovecot-config's LIBDOVECOT_STORAGE if needed.

12 years agolib-lda: Avoid doing a costly mailbox sync when delivering mail to multiple recipients.
Timo Sirainen [Tue, 30 Oct 2012 13:05:45 +0000 (15:05 +0200)] 
lib-lda: Avoid doing a costly mailbox sync when delivering mail to multiple recipients.

12 years agologin proxy: For connect() failures log also the used local IP:port if available.
Timo Sirainen [Mon, 29 Oct 2012 17:04:36 +0000 (19:04 +0200)] 
login proxy: For connect() failures log also the used local IP:port if available.

12 years agolib-dict: Abort async transaction commits if client gets disconnected from dict server.
Timo Sirainen [Mon, 29 Oct 2012 14:36:59 +0000 (16:36 +0200)] 
lib-dict: Abort async transaction commits if client gets disconnected from dict server.

13 years agolib-storage: Fixed listing layout=fs when namespace prefix part included wildcards.
Timo Sirainen [Fri, 26 Oct 2012 10:05:43 +0000 (13:05 +0300)] 
lib-storage: Fixed listing layout=fs when namespace prefix part included wildcards.

13 years agostats: Refresh user statistics during long maildir syncs.
Timo Sirainen [Fri, 26 Oct 2012 09:09:03 +0000 (12:09 +0300)] 
stats: Refresh user statistics during long maildir syncs.

13 years agolib-index: Optimize cache file reads with MAIL_INDEX_OPEN_FLAG_SAVEONLY
Timo Sirainen [Fri, 26 Oct 2012 08:43:05 +0000 (11:43 +0300)] 
lib-index: Optimize cache file reads with MAIL_INDEX_OPEN_FLAG_SAVEONLY

13 years agolib-index: After recent cache changes, cache was often wrongly being thought of as...
Timo Sirainen [Fri, 26 Oct 2012 08:37:07 +0000 (11:37 +0300)] 
lib-index: After recent cache changes, cache was often wrongly being thought of as unusable

13 years agolib-index: If cache file unexpectedly shrinks in header lookup, log an error.
Timo Sirainen [Fri, 26 Oct 2012 08:34:25 +0000 (11:34 +0300)] 
lib-index: If cache file unexpectedly shrinks in header lookup, log an error.

13 years agoIncreased initial memory pool size
Timo Sirainen [Fri, 26 Oct 2012 08:33:22 +0000 (11:33 +0300)] 
Increased initial memory pool size

13 years agolib-storage: Listing multiple mailbox patterns may have returned duplicates with...
Timo Sirainen [Fri, 26 Oct 2012 08:17:51 +0000 (11:17 +0300)] 
lib-storage: Listing multiple mailbox patterns may have returned duplicates with fs layout.

13 years agoauth: Log a nicer message if client timeouts authentication in the middle.
Timo Sirainen [Mon, 22 Oct 2012 15:59:20 +0000 (18:59 +0300)] 
auth: Log a nicer message if client timeouts authentication in the middle.

13 years agodecode2text.sh: Assume xmlunzip exists in the same directory as this script.
Timo Sirainen [Mon, 22 Oct 2012 15:35:56 +0000 (18:35 +0300)] 
decode2text.sh: Assume xmlunzip exists in the same directory as this script.
This avoids hardcoding /usr/local/libexec/dovecot/ path in it.

13 years agodirector: -D parameter now enables extensive debug logging.
Timo Sirainen [Mon, 22 Oct 2012 12:35:59 +0000 (15:35 +0300)] 
director: -D parameter now enables extensive debug logging.

13 years agodirector: Don't remove user's weak flag from notify connection.
Timo Sirainen [Mon, 22 Oct 2012 12:32:04 +0000 (15:32 +0300)] 
director: Don't remove user's weak flag from notify connection.
If notify connection worked properly, the weak flag should never have been
set in the first place. And if it's just suddenly removed, it won't finish
the pending requests properly.

13 years agodirector: Minor code cleanup
Timo Sirainen [Mon, 22 Oct 2012 12:30:01 +0000 (15:30 +0300)] 
director: Minor code cleanup

13 years agodirector: If user's weak-flag appears to have gotten stuck, unset it.
Timo Sirainen [Mon, 22 Oct 2012 12:29:27 +0000 (15:29 +0300)] 
director: If user's weak-flag appears to have gotten stuck, unset it.

13 years agodirector: Log more clearly why a request timeouts.
Timo Sirainen [Mon, 22 Oct 2012 12:23:25 +0000 (15:23 +0300)] 
director: Log more clearly why a request timeouts.

13 years agodirector: Don't handle pending requests from all around the code.
Timo Sirainen [Mon, 22 Oct 2012 12:20:57 +0000 (15:20 +0300)] 
director: Don't handle pending requests from all around the code.
I'm not sure if this actually fixes any bugs, but it definitely makes the
state cleaner.

13 years agodirector: Fixed previous broken change for handling USER-WEAK commands.
Timo Sirainen [Mon, 22 Oct 2012 12:17:39 +0000 (15:17 +0300)] 
director: Fixed previous broken change for handling USER-WEAK commands.

13 years agoredis dict: Log an error if we get disconnected unexpectedly.
Timo Sirainen [Sun, 21 Oct 2012 04:13:44 +0000 (07:13 +0300)] 
redis dict: Log an error if we get disconnected unexpectedly.

13 years agolib-index: Crashfix for MAIL_INDEX_OPEN_FLAG_SAVEONLY change.
Timo Sirainen [Thu, 18 Oct 2012 03:45:39 +0000 (06:45 +0300)] 
lib-index: Crashfix for MAIL_INDEX_OPEN_FLAG_SAVEONLY change.

13 years agologin_log_format_elements: Added %{real_rip} variable.
Timo Sirainen [Thu, 18 Oct 2012 03:21:25 +0000 (06:21 +0300)] 
login_log_format_elements: Added %{real_rip} variable.
It differs from %r when Dovecot proxy sends an updated client IP address.
Patch by Jack Bates.

13 years agolib-index: Fixed handling of finding a duplicate dovecot.index.log file_seq
Timo Sirainen [Thu, 18 Oct 2012 03:00:18 +0000 (06:00 +0300)] 
lib-index: Fixed handling of finding a duplicate dovecot.index.log file_seq
Previously we assumed that the already opened file was always the wrong one,
but more common was that the newly opened file was .log.2 which should have
been deleted.

13 years agolib-index: Handle better race condition there dovecot.index.log and .log.2 are the...
Timo Sirainen [Thu, 18 Oct 2012 02:55:30 +0000 (05:55 +0300)] 
lib-index: Handle better race condition there dovecot.index.log and .log.2 are the same link.

13 years agolib-storage: Open index with MAIL_INDEX_OPEN_FLAG_SAVEONLY if mailbox has MAILBOX_FLA...
Timo Sirainen [Thu, 18 Oct 2012 02:23:27 +0000 (05:23 +0300)] 
lib-storage: Open index with MAIL_INDEX_OPEN_FLAG_SAVEONLY if mailbox has MAILBOX_FLAG_SAVEONLY

13 years agolib-index: Added MAIL_INDEX_OPEN_FLAG_SAVEONLY to do only minimal reads from cache...
Timo Sirainen [Thu, 18 Oct 2012 02:22:36 +0000 (05:22 +0300)] 
lib-index: Added MAIL_INDEX_OPEN_FLAG_SAVEONLY to do only minimal reads from cache file.

13 years agolib-index: Code cleanup: Removed mail_cache.data
Timo Sirainen [Thu, 18 Oct 2012 02:16:54 +0000 (05:16 +0300)] 
lib-index: Code cleanup: Removed mail_cache.data

13 years agolib-index: mail_cache_map() API cleanup
Timo Sirainen [Thu, 18 Oct 2012 02:10:29 +0000 (05:10 +0300)] 
lib-index: mail_cache_map() API cleanup

13 years agodict quota: Fixed a potential crash if quota recalculation was triggered at deinit.
Timo Sirainen [Tue, 16 Oct 2012 00:34:51 +0000 (03:34 +0300)] 
dict quota: Fixed a potential crash if quota recalculation was triggered at deinit.

13 years agolib-master: Fixed -i <instance name> parameter handling.
Timo Sirainen [Tue, 16 Oct 2012 00:08:21 +0000 (03:08 +0300)] 
lib-master: Fixed -i <instance name> parameter handling.
It previously worked only if the default config socket wasn't usable.

13 years agoconfigure: Make sure MYSQL_LIBS has -lmysqlclient even if it's not explicitly found.
Timo Sirainen [Fri, 12 Oct 2012 20:05:43 +0000 (23:05 +0300)] 
configure: Make sure MYSQL_LIBS has -lmysqlclient even if it's not explicitly found.

13 years agolib-storage: Fixed crash when attempting to remove subscriptions for nonexistent...
Timo Sirainen [Fri, 12 Oct 2012 05:48:25 +0000 (08:48 +0300)] 
lib-storage: Fixed crash when attempting to remove subscriptions for nonexistent shared users.

13 years agolib-index: Log a warning if locking transaction log takes longer than 30 secs.
Timo Sirainen [Fri, 12 Oct 2012 05:31:15 +0000 (08:31 +0300)] 
lib-index: Log a warning if locking transaction log takes longer than 30 secs.

13 years agosdbox: Make sure mail_attachment_fs=sis-queue isn't attempted to be used.
Timo Sirainen [Thu, 11 Oct 2012 21:30:23 +0000 (00:30 +0300)] 
sdbox: Make sure mail_attachment_fs=sis-queue isn't attempted to be used.
It could be fixed, but nobody seems to have used it so far..

13 years agosdbox: Class didn't have MAIL_STORAGE_CLASS_FLAG_FILE_PER_MSG set
Timo Sirainen [Thu, 11 Oct 2012 21:29:41 +0000 (00:29 +0300)] 
sdbox: Class didn't have MAIL_STORAGE_CLASS_FLAG_FILE_PER_MSG set
This currently only meant that mail_prefetch_count setting wasn't working.

13 years agomaster: If service { protocol } is set and not included in "protocols", ignore its...
Timo Sirainen [Mon, 8 Oct 2012 05:53:54 +0000 (08:53 +0300)] 
master: If service { protocol } is set and not included in "protocols", ignore its settings

13 years agofts-lucene: doveadm fts rescan crashed with mailbox_list_index=yes
Timo Sirainen [Mon, 8 Oct 2012 00:14:12 +0000 (03:14 +0300)] 
fts-lucene: doveadm fts rescan crashed with mailbox_list_index=yes

13 years agolib-storage: Don't crash when searching multiple keywords.
Timo Sirainen [Thu, 4 Oct 2012 21:15:01 +0000 (00:15 +0300)] 
lib-storage: Don't crash when searching multiple keywords.
Fixed by simply removing the keyword merging code.
mail_search_args_simplify() is called before mail_search_args_init(), so the
keywords are still NULL and merging can't be done. Alternative fix would
have been to add string array to mail_search_arg.value containing the
keywords, but all of this is a pretty unnecessary optimization.

13 years agolib-storage: Fixed potential memory leak when mailbox_transaction_commit_get_changes...
Timo Sirainen [Wed, 3 Oct 2012 02:43:27 +0000 (05:43 +0300)] 
lib-storage: Fixed potential memory leak when mailbox_transaction_commit_get_changes() failed

13 years agolib-storage: When configuring mailbox INBOX {}, make sure INBOX is uppercased.
Timo Sirainen [Wed, 3 Oct 2012 02:42:55 +0000 (05:42 +0300)] 
lib-storage: When configuring mailbox INBOX {}, make sure INBOX is uppercased.

13 years agolib-index: Fix for handling view syncing for already deleted transaction logs.
Timo Sirainen [Wed, 3 Oct 2012 02:41:46 +0000 (05:41 +0300)] 
lib-index: Fix for handling view syncing for already deleted transaction logs.
The sync changes' hidden-flag was set randomly, which could have caused
flag changes to get lost.

13 years agoimap: LIST (SPECIAL-USE) shouldn't send INBOX reply.
Timo Sirainen [Wed, 3 Oct 2012 02:20:29 +0000 (05:20 +0300)] 
imap: LIST (SPECIAL-USE) shouldn't send INBOX reply.

13 years agosdbox: Fix to handling transactions with partially failed saves.
Timo Sirainen [Tue, 2 Oct 2012 22:38:20 +0000 (01:38 +0300)] 
sdbox: Fix to handling transactions with partially failed saves.

13 years agomdbox: Fix to handling transactions with partially failed saves.
Timo Sirainen [Tue, 2 Oct 2012 22:26:42 +0000 (01:26 +0300)] 
mdbox: Fix to handling transactions with partially failed saves.

13 years agolib-storage: mailbox_save_cancel() now makes sure that dest_mail is reset.
Timo Sirainen [Tue, 2 Oct 2012 22:20:22 +0000 (01:20 +0300)] 
lib-storage: mailbox_save_cancel() now makes sure that dest_mail is reset.
This fixes e.g. doveadm import, which continues import even though some
messages couldn't be saved.

13 years agolib-storage: struct mail.close() now clears all of its data.
Timo Sirainen [Tue, 2 Oct 2012 22:19:19 +0000 (01:19 +0300)] 
lib-storage: struct mail.close() now clears all of its data.

13 years agodbox: Small code cleanup.
Timo Sirainen [Tue, 2 Oct 2012 22:12:13 +0000 (01:12 +0300)] 
dbox: Small code cleanup.

13 years agolib-storage: When index mkdir() fails with EPERM, create the dir anyway with 0700...
Timo Sirainen [Tue, 2 Oct 2012 20:24:10 +0000 (23:24 +0300)] 
lib-storage: When index mkdir() fails with EPERM, create the dir anyway with 0700 mode.
This avoids failing entirely when /var/mail/user has 0660 permissions and we
don't have access to the group. The error message is still logged.

13 years agolib-master: Fixed crashes with settings cache.
Timo Sirainen [Tue, 2 Oct 2012 20:12:07 +0000 (23:12 +0300)] 
lib-master: Fixed crashes with settings cache.

13 years agodoveadm: Fixed printing large input from doveadm-server.
Timo Sirainen [Tue, 2 Oct 2012 19:37:49 +0000 (22:37 +0300)] 
doveadm: Fixed printing large input from doveadm-server.

13 years agombox: Fixed getting filesystem permissions when parent dir has setgid-bit enabled.
Timo Sirainen [Tue, 2 Oct 2012 18:56:09 +0000 (21:56 +0300)] 
mbox: Fixed getting filesystem permissions when parent dir has setgid-bit enabled.

13 years agolmtp: Fixed hanging on proxying if remote server was down.
Timo Sirainen [Tue, 2 Oct 2012 18:36:43 +0000 (21:36 +0300)] 
lmtp: Fixed hanging on proxying if remote server was down.
Patch by Jack Bates.

13 years agoCompiling fix for HURD
Timo Sirainen [Fri, 28 Sep 2012 12:12:28 +0000 (15:12 +0300)] 
Compiling fix for HURD

13 years agoAvoid using PATH_MAX.
Timo Sirainen [Fri, 28 Sep 2012 12:11:30 +0000 (15:11 +0300)] 
Avoid using PATH_MAX.

13 years agoAvoid using PATH_MAX.
Timo Sirainen [Fri, 28 Sep 2012 12:07:11 +0000 (15:07 +0300)] 
Avoid using PATH_MAX.

13 years agomdbox: Don't crash in storage rebuild if mail's "original mailbox" metadata is missing.
Timo Sirainen [Wed, 26 Sep 2012 23:55:14 +0000 (02:55 +0300)] 
mdbox: Don't crash in storage rebuild if mail's "original mailbox" metadata is missing.

13 years agodoveadm altmove: Make sure all storages get purged (and not more than once)
Timo Sirainen [Wed, 26 Sep 2012 21:19:41 +0000 (00:19 +0300)] 
doveadm altmove: Make sure all storages get purged (and not more than once)

13 years agoi_getpwnam(): Ignore EINVAL errors silently.
Timo Sirainen [Wed, 26 Sep 2012 18:14:23 +0000 (21:14 +0300)] 
i_getpwnam(): Ignore EINVAL errors silently.
At least FreeBSD returns it when attempting to lookup user@domain.

13 years agolazy-expunge: Fixed handling non-default namespace separator.
Timo Sirainen [Wed, 26 Sep 2012 18:12:37 +0000 (21:12 +0300)] 
lazy-expunge: Fixed handling non-default namespace separator.

13 years agoauth ldap: Previous change broke %$ variable.
Timo Sirainen [Mon, 24 Sep 2012 14:03:42 +0000 (17:03 +0300)] 
auth ldap: Previous change broke %$ variable.

13 years agoldap auth: Update %variables after each field update.
Timo Sirainen [Mon, 24 Sep 2012 13:49:29 +0000 (16:49 +0300)] 
ldap auth: Update %variables after each field update.
The previous behavior was a bit confusing. "uid=user" at the beginning
updated the %u variable, but if it was after templates it didn't update it.
Also "=user=%{uid}" that was supposed to be equivalent wasn't. Now the
behavior is consistent across all ways to set the fields.

13 years agolib-storage: Added ALTNOCHECK option to mail_location.
Timo Sirainen [Mon, 24 Sep 2012 11:42:38 +0000 (14:42 +0300)] 
lib-storage: Added ALTNOCHECK option to mail_location.
By default Dovecot verifies that $rootdir/dbox-alt-root symlink matches the
ALT directory location, and logs an error if not. This is mainly to avoid
accidents during initial configuration when for example alt dir was set in
global mail_location but was forgotten to be set in userdb reply's
mail_location. The ALTNOCHECK setting simply doesn't check or create this
symlink, giving a (very) small performance improvement.

13 years agolmtp: Added lmtp_rcpt_check_quota setting to check quota already on RCPT TO.
Timo Sirainen [Mon, 24 Sep 2012 11:33:52 +0000 (14:33 +0300)] 
lmtp: Added lmtp_rcpt_check_quota setting to check quota already on RCPT TO.

13 years agolib-storage: Added STATUS_CHECK_OVER_QUOTA for checking if user is over quota.
Timo Sirainen [Mon, 24 Sep 2012 11:31:16 +0000 (14:31 +0300)] 
lib-storage: Added STATUS_CHECK_OVER_QUOTA for checking if user is over quota.

13 years agoimapc: And another compile fix..
Timo Sirainen [Mon, 24 Sep 2012 11:24:58 +0000 (14:24 +0300)] 
imapc: And another compile fix..
Using the macro would have required config/all-settings.c to include
imapc-client.h, which is a bit too much trouble just for this.

13 years agoimapc: Compile fix for previous change.
Timo Sirainen [Mon, 24 Sep 2012 11:22:40 +0000 (14:22 +0300)] 
imapc: Compile fix for previous change.

13 years agoauth: passdb imap assert-crashed always
Timo Sirainen [Mon, 24 Sep 2012 11:16:41 +0000 (14:16 +0300)] 
auth: passdb imap assert-crashed always

13 years agoimapc: Added IMAPC_DEFAULT_MAX_IDLE_TIME macro.
Timo Sirainen [Mon, 24 Sep 2012 11:16:32 +0000 (14:16 +0300)] 
imapc: Added IMAPC_DEFAULT_MAX_IDLE_TIME macro.

13 years agolib-lda: After auto-creating mailbox only open it, don't bother syncing it.
Timo Sirainen [Sat, 22 Sep 2012 16:23:15 +0000 (19:23 +0300)] 
lib-lda: After auto-creating mailbox only open it, don't bother syncing it.

13 years agomdbox: Delay getting permissions for map/message files.
Timo Sirainen [Fri, 21 Sep 2012 09:44:17 +0000 (11:44 +0200)] 
mdbox: Delay getting permissions for map/message files.
This avoids a stat() if no mailbox is opened.

13 years agolmtp: After successful proxying RCPT TO, the second one to nonexistent user gave...
Timo Sirainen [Fri, 21 Sep 2012 07:26:10 +0000 (09:26 +0200)] 
lmtp: After successful proxying RCPT TO, the second one to nonexistent user gave tempfail error.
Instead of "unknown user" it gave "Can't handle mixed proxy/non-proxy
destinations".

13 years agolmtp: RSET/LHLO should reset any pending proxy connections.
Timo Sirainen [Fri, 21 Sep 2012 07:23:58 +0000 (09:23 +0200)] 
lmtp: RSET/LHLO should reset any pending proxy connections.

13 years agoconfig: Don't ignore invalid network/mask in local/remote blocks
Timo Sirainen [Fri, 21 Sep 2012 07:22:54 +0000 (09:22 +0200)] 
config: Don't ignore invalid network/mask in local/remote blocks