]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
13 years agoReleased v2.1.10. 2.1.10
Timo Sirainen [Tue, 18 Sep 2012 18:42:27 +0000 (21:42 +0300)] 
Released v2.1.10.

13 years agofts-lucene: Compiling fix for previous change
Timo Sirainen [Tue, 18 Sep 2012 17:53:50 +0000 (20:53 +0300)] 
fts-lucene: Compiling fix for previous change

13 years agodirector: Fixed weak-user handling when there is only one director.
Timo Sirainen [Tue, 18 Sep 2012 17:48:25 +0000 (20:48 +0300)] 
director: Fixed weak-user handling when there is only one director.

13 years agofts-lucene: Added "normalize" option to put data through user's normalizer function.
Timo Sirainen [Tue, 18 Sep 2012 17:09:03 +0000 (20:09 +0300)] 
fts-lucene: Added "normalize" option to put data through user's normalizer function.

13 years agoBackported parts of normalizer_func_t changes from v2.2 tree.
Timo Sirainen [Tue, 18 Sep 2012 17:07:21 +0000 (20:07 +0300)] 
Backported parts of normalizer_func_t changes from v2.2 tree.

13 years agolib-storage: Compiling fix for previous alias symlink change
Timo Sirainen [Tue, 18 Sep 2012 17:06:56 +0000 (20:06 +0300)] 
lib-storage: Compiling fix for previous alias symlink change

13 years agoauth: userdb static used auth caching wrong when verifying user existence with passdb...
Timo Sirainen [Tue, 18 Sep 2012 16:57:48 +0000 (19:57 +0300)] 
auth: userdb static used auth caching wrong when verifying user existence with passdb lookup.
Cache entries were being looked/added for userdbs instead of passdbs. This
caused problems at least with:

a) Multiple userdbs (where static userdb was the last). Passdb results were
added as cache entries to the first userdbs, possibly causing some confusion.

b) Multiple passdbs, because the first passdb result was added to cache and
used for the rest of the passdbs.

13 years agoquota: Allow negative percentage rules up to -99%
Timo Sirainen [Tue, 18 Sep 2012 16:16:04 +0000 (19:16 +0300)] 
quota: Allow negative percentage rules up to -99%

13 years agoAdded mailbox-alias plugin.
Timo Sirainen [Tue, 18 Sep 2012 15:44:46 +0000 (18:44 +0300)] 
Added mailbox-alias plugin.
Aliases can be created like:

plugin {
  mailbox_alias_old = Sent
  mailbox_alias_new = Sent Messages
  mailbox_alias_old2 = Sent
  mailbox_alias_new2 = Sent Items
}

When creating an alias, the original mailbox is also created. The alias
itself is a symlink to the original. Deleting an alias deletes the symlink.
The original mailbox can't be deleted or renamed while it has aliases.
Aliases cannot be renamed. Aliases are skipped when recalculating quota.

If a mailbox with the alias's name was already created before the aliasing
was enabled, it's not treated as alias until it's first deleted.

13 years agofts-solr: Skip alias symlinks when rescanning.
Timo Sirainen [Tue, 18 Sep 2012 15:41:01 +0000 (18:41 +0300)] 
fts-solr: Skip alias symlinks when rescanning.

13 years agoquota: Skip alias symlinks when calculating quota
Timo Sirainen [Tue, 18 Sep 2012 15:40:46 +0000 (18:40 +0300)] 
quota: Skip alias symlinks when calculating quota

13 years agolib-storage: MAILBOX_LIST_ITER_SKIP_ALIASES now skips also "alias symlinks"
Timo Sirainen [Tue, 18 Sep 2012 15:40:17 +0000 (18:40 +0300)] 
lib-storage: MAILBOX_LIST_ITER_SKIP_ALIASES now skips also "alias symlinks"
An "alias symlink" is a symlink that points to the same directory. These can
safely be skipped when iterating through all mails in all mailboxes (unlike
other symlinks that may point to external storages).

13 years agopop3c: Fetching message size could have returned wrong value
Timo Sirainen [Fri, 14 Sep 2012 17:51:02 +0000 (20:51 +0300)] 
pop3c: Fetching message size could have returned wrong value

13 years agodirector: Improved logging related to disconnections.
Timo Sirainen [Tue, 11 Sep 2012 21:20:47 +0000 (00:20 +0300)] 
director: Improved logging related to disconnections.

13 years agodirector: Already seen USER-WEAK command caused director to disconnect.
Timo Sirainen [Tue, 11 Sep 2012 21:04:34 +0000 (00:04 +0300)] 
director: Already seen USER-WEAK command caused director to disconnect.

13 years agoimapc: Fixed parsing "text" input after OK/NO/BAD/BYE.
Timo Sirainen [Tue, 11 Sep 2012 17:45:38 +0000 (20:45 +0300)] 
imapc: Fixed parsing "text" input after OK/NO/BAD/BYE.

13 years agolib-imap: Added IMAP_PARSE_FLAG_SERVER_TEXT that fixes parsing input from IMAP server.
Timo Sirainen [Tue, 11 Sep 2012 17:44:37 +0000 (20:44 +0300)] 
lib-imap: Added IMAP_PARSE_FLAG_SERVER_TEXT that fixes parsing input from IMAP server.

13 years agolib-storage: Fixed memory leak getting MAILBOX_METADATA_VIRTUAL_SIZE
Dafan Zhai [Tue, 11 Sep 2012 16:14:09 +0000 (19:14 +0300)] 
lib-storage: Fixed memory leak getting MAILBOX_METADATA_VIRTUAL_SIZE
Function virtual_size_add_new forgets to free the 'search_args' object
after it searches the mails.
---
 src/lib-storage/index/index-status.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

13 years agoDecrease minimum memory allocations.
Timo Sirainen [Tue, 11 Sep 2012 15:42:05 +0000 (18:42 +0300)] 
Decrease minimum memory allocations.
This is mainly to avoid wasting settings-related memory for IMAP processes.
Probably something more radical should be done at some point.

13 years agolib-master: Decrease initial memory pool size
Timo Sirainen [Tue, 11 Sep 2012 15:26:33 +0000 (18:26 +0300)] 
lib-master: Decrease initial memory pool size

13 years agoacl: Don't add sameuser -> sameuser entries to ACL dict.
Timo Sirainen [Tue, 11 Sep 2012 14:13:51 +0000 (17:13 +0300)] 
acl: Don't add sameuser -> sameuser entries to ACL dict.

13 years agodoveadm: Added exec command to easily execute commands from libexec_dir.
Timo Sirainen [Thu, 6 Sep 2012 13:50:00 +0000 (16:50 +0300)] 
doveadm: Added exec command to easily execute commands from libexec_dir.
For example: doveadm exec imap -u user@domain

13 years agolib-storage: Added "disabled" setting for namespaces.
Timo Sirainen [Tue, 4 Sep 2012 14:18:08 +0000 (17:18 +0300)] 
lib-storage: Added "disabled" setting for namespaces.

13 years agoVarious fixes to listing mailboxes.
Timo Sirainen [Sun, 2 Sep 2012 13:06:45 +0000 (16:06 +0300)] 
Various fixes to listing mailboxes.
Some of these are a bit kludgy, v2.2 has a larger rewrite of the code to
implement them more nicely.

13 years agombox: Fix to previous public namespace location detection crashfix.
Timo Sirainen [Fri, 31 Aug 2012 13:19:21 +0000 (16:19 +0300)] 
mbox: Fix to previous public namespace location detection crashfix.

13 years agolib-storage: Don't crash when trying to detect public namespace's mail_location.
Timo Sirainen [Fri, 31 Aug 2012 13:17:23 +0000 (16:17 +0300)] 
lib-storage: Don't crash when trying to detect public namespace's mail_location.
Public namespaces have no owner.

13 years agolayout=fs mailbox listing: Fix to prefix=INBOX/ handling
Timo Sirainen [Thu, 30 Aug 2012 18:56:43 +0000 (21:56 +0300)] 
layout=fs mailbox listing: Fix to prefix=INBOX/ handling

13 years agoimapc: If imapc_list_prefix=INBOX, don't treat INBOX/INBOX as the INBOX itself.
Timo Sirainen [Tue, 28 Aug 2012 16:06:01 +0000 (19:06 +0300)] 
imapc: If imapc_list_prefix=INBOX, don't treat INBOX/INBOX as the INBOX itself.

13 years agodict file: Fixed corruption with large values.
Timo Sirainen [Tue, 28 Aug 2012 15:53:30 +0000 (18:53 +0300)] 
dict file: Fixed corruption with large values.
Patch by Ewald Dieterich.

13 years agoimapc: max_idle_time setting didn't actually work.
Timo Sirainen [Tue, 28 Aug 2012 12:57:22 +0000 (15:57 +0300)] 
imapc: max_idle_time setting didn't actually work.

13 years agolmtp proxy: Include session ID string in timeout reply text.
Timo Sirainen [Tue, 28 Aug 2012 10:23:37 +0000 (13:23 +0300)] 
lmtp proxy: Include session ID string in timeout reply text.

13 years agodict-redis: Fixed infinite looping
Timo Sirainen [Sun, 26 Aug 2012 16:23:48 +0000 (19:23 +0300)] 
dict-redis: Fixed infinite looping

13 years agodict redis: Fixed dict_lookup() to skip all previous pending replies.
Timo Sirainen [Tue, 21 Aug 2012 07:02:44 +0000 (10:02 +0300)] 
dict redis: Fixed dict_lookup() to skip all previous pending replies.

13 years agoauth: Don't add "master" to passdb reply if the passdb itself already added it.
Timo Sirainen [Fri, 24 Aug 2012 12:12:32 +0000 (15:12 +0300)] 
auth: Don't add "master" to passdb reply if the passdb itself already added it.

13 years agoauth: Make it clearer in debug messages if the replies are passdb or userdb.
Timo Sirainen [Fri, 24 Aug 2012 09:25:55 +0000 (12:25 +0300)] 
auth: Make it clearer in debug messages if the replies are passdb or userdb.

13 years agodoveadm copy/move: Added "user" parameter to specify the source user.
Timo Sirainen [Thu, 23 Aug 2012 20:46:15 +0000 (23:46 +0300)] 
doveadm copy/move: Added "user" parameter to specify the source user.

13 years agoimap: Fixes to handling UTF-8 namespace prefixes
Timo Sirainen [Thu, 23 Aug 2012 19:56:56 +0000 (22:56 +0300)] 
imap: Fixes to handling UTF-8 namespace prefixes

13 years agolib-storage: Verify that namespace prefix is valid UTF8 string.
Timo Sirainen [Thu, 23 Aug 2012 19:33:23 +0000 (22:33 +0300)] 
lib-storage: Verify that namespace prefix is valid UTF8 string.

13 years agombox: Fixed listing mailboxes under INBOX directory.
Timo Sirainen [Thu, 23 Aug 2012 19:21:42 +0000 (22:21 +0300)] 
mbox: Fixed listing mailboxes under INBOX directory.

13 years agodoveadm: Added "copy" command.
Timo Sirainen [Thu, 23 Aug 2012 18:29:40 +0000 (21:29 +0300)] 
doveadm: Added "copy" command.

13 years agolib-storage: Make sure a save context doesn't leak metadata to the next save.
Timo Sirainen [Thu, 23 Aug 2012 08:56:56 +0000 (11:56 +0300)] 
lib-storage: Make sure a save context doesn't leak metadata to the next save.

13 years agoconfigure: Removed OpenBSD /dev/arandom checking.
Timo Sirainen [Wed, 22 Aug 2012 14:42:06 +0000 (17:42 +0300)] 
configure: Removed OpenBSD /dev/arandom checking.
Patch by Brad Smith

"The use of arandom was never a requirement for Dovecot and I had submitted
the use of arandom due to ports policy to do so anyway."

13 years agoistream-concat bugfixes
Timo Sirainen [Wed, 22 Aug 2012 12:17:53 +0000 (15:17 +0300)] 
istream-concat bugfixes

13 years agoauth: Unregister SCRAM-SHA-1 at deinit.
Timo Sirainen [Wed, 22 Aug 2012 04:49:55 +0000 (07:49 +0300)] 
auth: Unregister SCRAM-SHA-1 at deinit.

13 years agoreplicator: Crashfix
Timo Sirainen [Sun, 19 Aug 2012 09:53:06 +0000 (12:53 +0300)] 
replicator: Crashfix

13 years agodoveadm: Improved "passdb lookup failed" error message.
Timo Sirainen [Fri, 17 Aug 2012 16:01:03 +0000 (19:01 +0300)] 
doveadm: Improved "passdb lookup failed" error message.

13 years agodoveadm backup: Fixed "is source empty" check.
Timo Sirainen [Fri, 17 Aug 2012 06:17:48 +0000 (09:17 +0300)] 
doveadm backup: Fixed "is source empty" check.
In POP3 boxes there is only INBOX, and it's possible that source becomes
empty while backup has mails. The check is now "has source always been
empty?"

13 years agoimap: Implemented THREAD=ORDEREDSUBJECT extension.
Timo Sirainen [Wed, 15 Aug 2012 10:43:16 +0000 (13:43 +0300)] 
imap: Implemented THREAD=ORDEREDSUBJECT extension.

13 years agolib-storage: MAX_SORT_PROGRAM_SIZE was too small
Timo Sirainen [Wed, 15 Aug 2012 09:37:34 +0000 (12:37 +0300)] 
lib-storage: MAX_SORT_PROGRAM_SIZE was too small

13 years agoimapc: Added imapc_max_idle_time setting to force activity on connection.
Timo Sirainen [Tue, 14 Aug 2012 20:09:44 +0000 (23:09 +0300)] 
imapc: Added imapc_max_idle_time setting to force activity on connection.
Reducing this from the default 29 minutes should help when there's a
stateful firewall between imapc and the backend server.

13 years agofs layout: Kludge to show INBOX/INBOX mailbox when necessary.
Timo Sirainen [Tue, 14 Aug 2012 00:03:26 +0000 (03:03 +0300)] 
fs layout: Kludge to show INBOX/INBOX mailbox when necessary.
This happens with one prefix="" namespace and another prefix=INBOX/
namespace when the INBOX mailbox itself has children.

13 years agolib-storage: mailbox_list_get_storage_name() shouldn't treat INBOX specially in inbox...
Timo Sirainen [Tue, 14 Aug 2012 00:02:02 +0000 (03:02 +0300)] 
lib-storage: mailbox_list_get_storage_name() shouldn't treat INBOX specially in inbox=no namespaces.

13 years agolib-storage: If alias_for references inbox=yes namespace, copy the inbox=yes to the...
Timo Sirainen [Tue, 14 Aug 2012 00:01:07 +0000 (03:01 +0300)] 
lib-storage: If alias_for references inbox=yes namespace, copy the inbox=yes to the alias ns.
So even though this still doesn't allow giving multiple inbox=yes settings
in configuration file, it's now possible for multiple namespaces to have
them. They just need to point to the exact same INBOX.

13 years agoimap LIST: Don't set \haschildren flag for namespace prefix if it has list=no
Timo Sirainen [Mon, 13 Aug 2012 22:54:34 +0000 (01:54 +0300)] 
imap LIST: Don't set \haschildren flag for namespace prefix if it has list=no

13 years agoMemory leak fix
Timo Sirainen [Mon, 13 Aug 2012 04:26:25 +0000 (07:26 +0300)] 
Memory leak fix

13 years agoquoted-printable decode didn't ignore whitespace at the end of soft line break.
Timo Sirainen [Fri, 10 Aug 2012 04:31:28 +0000 (07:31 +0300)] 
quoted-printable decode didn't ignore whitespace at the end of soft line break.

13 years agoRemoved accidentally committed debug code
Timo Sirainen [Thu, 9 Aug 2012 23:34:34 +0000 (02:34 +0300)] 
Removed accidentally committed debug code

13 years agolib-master: Another settings parser cache fix
Timo Sirainen [Thu, 9 Aug 2012 23:33:19 +0000 (02:33 +0300)] 
lib-master: Another settings parser cache fix

13 years agofts-solr: Optimized expunging messages: delete more than one ID per request.
Timo Sirainen [Tue, 7 Aug 2012 21:44:27 +0000 (00:44 +0300)] 
fts-solr: Optimized expunging messages: delete more than one ID per request.

13 years agolib-master: Settings cache crashed after config_cache_size was reached.
Timo Sirainen [Tue, 7 Aug 2012 14:56:24 +0000 (17:56 +0300)] 
lib-master: Settings cache crashed after config_cache_size was reached.
This affected login processes when local {} and/or remote {} blocks were
specified. Also fixed the cache behavior to be MRU.

13 years agopop3-migration: Avoid disconnection from POP3 server due to idling.
Timo Sirainen [Fri, 3 Aug 2012 14:39:54 +0000 (17:39 +0300)] 
pop3-migration: Avoid disconnection from POP3 server due to idling.

13 years agodoveadm-server: Make sure another command isn't started before previous one is finished.
Timo Sirainen [Wed, 1 Aug 2012 20:14:19 +0000 (23:14 +0300)] 
doveadm-server: Make sure another command isn't started before previous one is finished.

13 years agofts: Fixed a crash if virtual mailbox search couldn't be optimized by backend.
Timo Sirainen [Wed, 1 Aug 2012 19:43:45 +0000 (22:43 +0300)] 
fts: Fixed a crash if virtual mailbox search couldn't be optimized by backend.

13 years agofts: Fixed crash on error handling
Timo Sirainen [Wed, 1 Aug 2012 19:39:57 +0000 (22:39 +0300)] 
fts: Fixed crash on error handling

13 years agoauth: Minor code cleanup
Timo Sirainen [Wed, 1 Aug 2012 18:14:30 +0000 (21:14 +0300)] 
auth: Minor code cleanup

13 years agoAdded signature for changeset bc86680293d2
Timo Sirainen [Wed, 1 Aug 2012 17:37:05 +0000 (20:37 +0300)] 
Added signature for changeset bc86680293d2

13 years agoAdded tag 2.1.9 for changeset bc86680293d2
Timo Sirainen [Wed, 1 Aug 2012 17:36:53 +0000 (20:36 +0300)] 
Added tag 2.1.9 for changeset bc86680293d2

13 years agoReleased v2.1.9. 2.1.9
Timo Sirainen [Wed, 1 Aug 2012 17:36:53 +0000 (20:36 +0300)] 
Released v2.1.9.

13 years agoauth: Support empty ldap base (for ldap servers that support it).
Timo Sirainen [Wed, 1 Aug 2012 17:25:26 +0000 (20:25 +0300)] 
auth: Support empty ldap base (for ldap servers that support it).

13 years agoauth: winbind mechanism supports now spaces in filenames.
Timo Sirainen [Wed, 1 Aug 2012 17:24:58 +0000 (20:24 +0300)] 
auth: winbind mechanism supports now spaces in filenames.

13 years agofts: Fixed crash in fts_lookup_multi() for backends that can't handle it (fts-squat)
Timo Sirainen [Wed, 1 Aug 2012 17:24:00 +0000 (20:24 +0300)] 
fts: Fixed crash in fts_lookup_multi() for backends that can't handle it (fts-squat)

13 years agolib-storage: Fixed attempting to delete a non-symlink with Solaris
Timo Sirainen [Wed, 1 Aug 2012 11:13:40 +0000 (14:13 +0300)] 
lib-storage: Fixed attempting to delete a non-symlink with Solaris
Also fixed error message to say it's about unlink(), not stat().

13 years agofts-solr: Compiler warning fix
Timo Sirainen [Tue, 31 Jul 2012 20:10:53 +0000 (23:10 +0300)] 
fts-solr: Compiler warning fix

13 years agoimapc: Fixed crashes during mailbox close.
Timo Sirainen [Tue, 31 Jul 2012 20:02:22 +0000 (23:02 +0300)] 
imapc: Fixed crashes during mailbox close.

13 years agolib-storage: Improved missing namespace error messages.
Timo Sirainen [Tue, 31 Jul 2012 19:33:21 +0000 (22:33 +0300)] 
lib-storage: Improved missing namespace error messages.

13 years agoscript: Don't add an empty parameter to executed command line
Timo Sirainen [Tue, 31 Jul 2012 19:30:19 +0000 (22:30 +0300)] 
script: Don't add an empty parameter to executed command line
Also fixed an error check

13 years agofts-solr: Log a better error if Solr sends invalid XML input.
Timo Sirainen [Tue, 31 Jul 2012 19:03:00 +0000 (22:03 +0300)] 
fts-solr: Log a better error if Solr sends invalid XML input.

13 years agoauth: if passwd-file isn't the only userdb, don't complain about missing userdb fields
Timo Sirainen [Tue, 31 Jul 2012 17:59:22 +0000 (20:59 +0300)] 
auth: if passwd-file isn't the only userdb, don't complain about missing userdb fields

13 years agoimap: Fixed LIST handling with reference parameter.
Timo Sirainen [Tue, 31 Jul 2012 15:34:53 +0000 (18:34 +0300)] 
imap: Fixed LIST handling with reference parameter.
For example "LIST shared/ %" failed to list shared/user namespace prefix.

13 years agolib-storage: Avoid creating shared user for an empty username.
Timo Sirainen [Tue, 31 Jul 2012 15:33:45 +0000 (18:33 +0300)] 
lib-storage: Avoid creating shared user for an empty username.

13 years agolib-storage: When saving a mail, set date.save to cache immediately.
Timo Sirainen [Sat, 28 Jul 2012 17:31:30 +0000 (20:31 +0300)] 
lib-storage: When saving a mail, set date.save to cache immediately.

13 years agolib-storage: When copying a mail, use a new timestamp for date.save instead of preser...
Timo Sirainen [Sat, 28 Jul 2012 17:31:13 +0000 (20:31 +0300)] 
lib-storage: When copying a mail, use a new timestamp for date.save instead of preserving it.

13 years agofts-lucene: Fixed handling non-lowercase SEARCH HEADER FROM/TO/SUBJECT/CC/BCC
Timo Sirainen [Sat, 28 Jul 2012 17:00:32 +0000 (20:00 +0300)] 
fts-lucene: Fixed handling non-lowercase SEARCH HEADER FROM/TO/SUBJECT/CC/BCC
Based on patch by Matthew Powell.

13 years agoverbose_ssl=yes: Log debug messages with debug level instead of as info...
Timo Sirainen [Sat, 28 Jul 2012 16:57:10 +0000 (19:57 +0300)] 
verbose_ssl=yes: Log debug messages with debug level instead of as info...

13 years agoverbose_ssl=yes: Log debug messages with debug level instead of as warnings.
Timo Sirainen [Sat, 28 Jul 2012 16:56:07 +0000 (19:56 +0300)] 
verbose_ssl=yes: Log debug messages with debug level instead of as warnings.

13 years agolib-charset: Removed unnecessary buffer size increases, which only caused out-of...
Timo Sirainen [Sat, 28 Jul 2012 16:33:14 +0000 (19:33 +0300)] 
lib-charset: Removed unnecessary buffer size increases, which only caused out-of-memory errors.

13 years agopop3c: If POP3 server doesn't support CAPA command, try to use UIDL anyway.
Timo Sirainen [Wed, 25 Jul 2012 12:39:14 +0000 (15:39 +0300)] 
pop3c: If POP3 server doesn't support CAPA command, try to use UIDL anyway.

13 years agolib-dict: Added memcached backend using its binary protocol.
Timo Sirainen [Mon, 23 Jul 2012 18:43:39 +0000 (21:43 +0300)] 
lib-dict: Added memcached backend using its binary protocol.

13 years agoredis dict: Added support for set/unset/atomic_inc.
Timo Sirainen [Mon, 23 Jul 2012 14:24:13 +0000 (17:24 +0300)] 
redis dict: Added support for set/unset/atomic_inc.
This allows using Redis as dict quota backend.

13 years agolib-dict: Allow backends to have iteration methods as NULL if they don't support it.
Timo Sirainen [Mon, 23 Jul 2012 14:23:37 +0000 (17:23 +0300)] 
lib-dict: Allow backends to have iteration methods as NULL if they don't support it.

13 years agoquota: Added quota_ignore_save_errors plugin setting.
Timo Sirainen [Mon, 23 Jul 2012 11:23:32 +0000 (14:23 +0300)] 
quota: Added quota_ignore_save_errors plugin setting.
If mail is being saved but current quota usage lookup fails with internal
error, save the mail anyway instead of failing.

13 years agoauth: Fixed error handling in GSSAPI when __gss_userok() was used.
Timo Sirainen [Tue, 17 Jul 2012 13:20:20 +0000 (16:20 +0300)] 
auth: Fixed error handling in GSSAPI when __gss_userok() was used.
An invalid username would have been treated as successful and auth process
probably would have crashed.

13 years agoauth: GSSAPI RFC compliancy fixes.
Timo Sirainen [Tue, 17 Jul 2012 13:17:40 +0000 (16:17 +0300)] 
auth: GSSAPI RFC compliancy fixes.
Patch by Ben Morrow:

The first problem is that, because of the way the client invokes
libsasl, it sends a GSSAPI request which does not ask for mutual
authentication. This means that on the server gss_accept_sec_context
returns GSS_S_COMPLETE with a zero-length output token. Dovecot
currently sends this to the client as a zero-length continuation
response, but this is incorrect according to RFC 4752: what it ought to
do instead is proceed straight to the security layer negotiations, and
send a gss_wrap packet.

The second is that Cyrus sends an empty authz identity; that is, the
security layer negotiation packet, when gss_unwrapped, is exactly 4
bytes long. Dovecot objects to this, but in RFC 4422 this is explicitly
allowed, and means the authz identity is identical to the authn
identity.

13 years agoconfig: Fixed error reporting when reloading settings for master process fails.
Timo Sirainen [Tue, 17 Jul 2012 12:44:36 +0000 (15:44 +0300)] 
config: Fixed error reporting when reloading settings for master process fails.

13 years agodoc: Install mkcert.sh, dovecot-openssl.cnf and solr-schema.xml files.
Timo Sirainen [Tue, 17 Jul 2012 12:31:03 +0000 (15:31 +0300)] 
doc: Install mkcert.sh, dovecot-openssl.cnf and solr-schema.xml files.

13 years agologin: Don't allow STARTTLS if ssl=no in client's settings, even if ssl=yes globally.
Timo Sirainen [Tue, 17 Jul 2012 12:28:24 +0000 (15:28 +0300)] 
login: Don't allow STARTTLS if ssl=no in client's settings, even if ssl=yes globally.

13 years agolib-master: Updated default mountpoint ignore prefix list.
Timo Sirainen [Tue, 17 Jul 2012 12:21:32 +0000 (15:21 +0300)] 
lib-master: Updated default mountpoint ignore prefix list.

13 years agodirector: Changed director_username_hash setting's default from %u to %Lu
Timo Sirainen [Tue, 17 Jul 2012 12:14:21 +0000 (15:14 +0300)] 
director: Changed director_username_hash setting's default from %u to %Lu
This allows potential trouble when username isn't always lowercased.

13 years agoexample-config: Added director_username_hash setting.
Timo Sirainen [Tue, 17 Jul 2012 12:13:21 +0000 (15:13 +0300)] 
example-config: Added director_username_hash setting.

13 years agolib-mail: mail_user_hash() has now a faster code path for format=%Lu
Timo Sirainen [Tue, 17 Jul 2012 12:10:35 +0000 (15:10 +0300)] 
lib-mail: mail_user_hash() has now a faster code path for format=%Lu