]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Sat, 2 Jun 2012 16:01:25 +0000 (19:01 +0300)]
Error handling API changes to previous IMAP URL related changes.
Stephan Bosch [Sat, 2 Jun 2012 15:15:46 +0000 (18:15 +0300)]
Adds 'anonymous' field to struct mail_user; derived indirectly from userdb extra fields.
Depends: none
Stephan Bosch [Sat, 2 Jun 2012 15:14:16 +0000 (18:14 +0300)]
imap: Implemented CATENATE extension.
Stephan Bosch [Sat, 2 Jun 2012 14:56:27 +0000 (17:56 +0300)]
Created lib-imap-storage for IMAP-specific functionality that uses lib-storage.
This is done to prevent introducing dependencies on lib-storage in
lib-imap. It contains IMAP message part access functionality, including
URL-based access.
Stephan Bosch [Sat, 2 Jun 2012 14:53:31 +0000 (17:53 +0300)]
lib-imap: Added IMAP URL parser.
Includes support for IMAP URLAUTH URLs.
Includes extensive testsuite.
Creation of IMAP URL string from struct data is not implemented and
deferred to a future patch when this functionality is needed.
Stephan Bosch [Sat, 2 Jun 2012 14:15:18 +0000 (17:15 +0300)]
imap-parser: Added IMAP_PARSE_FLAG_INSIDE_LIST flag.
Adds mode flag to IMAP parser which makes it assume it is inside a (...) list,
making ')' equal to EOL and '\n' an error.
Stephan Bosch [Sat, 2 Jun 2012 14:12:06 +0000 (17:12 +0300)]
Added chain istream.
This is a nephew of the concat stream with the difference that new child
streams can be added dynamically.
Stephan Bosch [Sat, 2 Jun 2012 14:06:21 +0000 (17:06 +0300)]
liblib: Added generic URI parsing functions.
Stephan Bosch [Sat, 2 Jun 2012 13:55:21 +0000 (16:55 +0300)]
Adds ISO8601/RFC3339 date format parsing and construction support.
Interface is somewhat based on message date parser in src/lib-mail, but it
also provides access to struct tm.
Timo Sirainen [Tue, 29 May 2012 19:22:14 +0000 (22:22 +0300)]
Added signature for changeset
c92fb8b928f6
Timo Sirainen [Tue, 29 May 2012 19:22:10 +0000 (22:22 +0300)]
Added tag 2.1.7 for changeset
c92fb8b928f6
Timo Sirainen [Tue, 29 May 2012 19:22:10 +0000 (22:22 +0300)]
Released v2.1.7.
Timo Sirainen [Tue, 29 May 2012 17:51:14 +0000 (20:51 +0300)]
mdbox: Fixed assert-crash with index rebuild when using ns prefix and mail wasn't originally in INBOX.
Timo Sirainen [Tue, 29 May 2012 15:38:01 +0000 (18:38 +0300)]
Fixed assert-crash on some situations when user had no supplementary groups.
Timo Sirainen [Tue, 22 May 2012 21:24:06 +0000 (00:24 +0300)]
lib-storage: Verify that with SEARCH HEADER the header name is valid UTF-8.
Timo Sirainen [Tue, 22 May 2012 20:19:16 +0000 (23:19 +0300)]
TODO updated
Timo Sirainen [Tue, 22 May 2012 20:17:31 +0000 (23:17 +0300)]
Initial version of dsync rewrite.
* doveadm backup not implemented at all yet
* syncing mailbox renames is somewhat broken (at least renaming \noselect
mailboxes)
* saving/restoring "state" is implemented by dsync brain, but not by
doveadm. this should be easy to do, just need to figure out how the
replication code wants it.
Timo Sirainen [Sun, 20 May 2012 00:08:01 +0000 (03:08 +0300)]
director: When we find unwanted connection, wait for 10s for it to disconnect us, not 10ms.
Timo Sirainen [Sat, 19 May 2012 23:41:08 +0000 (02:41 +0300)]
lib-master: Anvil reconnect timeout should be 5 seconds, not 5 milliseconds.
Timo Sirainen [Sat, 19 May 2012 19:25:27 +0000 (22:25 +0300)]
auth: Fixed crash with DIGEST-MD5 when attempting to do master user login without master passdbs.
Timo Sirainen [Sat, 19 May 2012 19:11:41 +0000 (22:11 +0300)]
expire: Handle dict errors. Don't crash if lookup fails.
Based on patch by Michal Grzedzicki
Timo Sirainen [Sat, 19 May 2012 18:18:04 +0000 (21:18 +0300)]
director: Implemented ability to remove directors from a running ring.
Also added doveadm command for adding a new director to a running ring.
Timo Sirainen [Sat, 19 May 2012 18:16:42 +0000 (21:16 +0300)]
director: Don't crash with quickly disconnecting incoming director connections.
Timo Sirainen [Sat, 19 May 2012 15:43:13 +0000 (18:43 +0300)]
lib-storage: If chroot is used and mail_debug=yes, log the chroot path.
Timo Sirainen [Thu, 17 May 2012 15:08:58 +0000 (18:08 +0300)]
update-version.sh: Use mv -f to avoid questions in some systems.
Timo Sirainen [Wed, 16 May 2012 15:57:05 +0000 (18:57 +0300)]
sdbox: Avoid using too many fds when copying messages.
This happened at least with quota plugin.
Timo Sirainen [Wed, 16 May 2012 13:14:31 +0000 (16:14 +0300)]
login: If user is disabled or password expired, say it in logout reason.
Timo Sirainen [Wed, 16 May 2012 13:14:01 +0000 (16:14 +0300)]
auth: If user is disabled or password expired, tell about it to auth-client.
Timo Sirainen [Tue, 15 May 2012 15:52:41 +0000 (18:52 +0300)]
mdbox: mailbox_update() didn't look at the latest index data.
So setting min_next_uid, min_first_recent_uid or min_highest_modseq may have
actually shrank them.
Timo Sirainen [Mon, 14 May 2012 18:07:43 +0000 (21:07 +0300)]
pop3: Added pop3_uidl_duplicates setting.
Timo Sirainen [Mon, 14 May 2012 16:30:03 +0000 (19:30 +0300)]
ldap: If attributes contain ldapAttr=key=template%$ and ldapAttr doesn't exist, skip the field.
This makes it work again the same as with v2.0.
Timo Sirainen [Mon, 14 May 2012 16:01:46 +0000 (19:01 +0300)]
maildir: If dovecot-uidlist can't be opened as read-write, try opening as read-only.
Timo Sirainen [Mon, 14 May 2012 15:42:58 +0000 (18:42 +0300)]
master: Fix to systemd support
Patch by Joop Boonen
Timo Sirainen [Mon, 14 May 2012 15:09:10 +0000 (18:09 +0300)]
lib-master: Added more default ignore prefixes
Timo Sirainen [Thu, 10 May 2012 08:26:53 +0000 (11:26 +0300)]
imapc: Use imapc_list_prefix also for listing subscriptions
Timo Sirainen [Wed, 9 May 2012 12:01:20 +0000 (15:01 +0300)]
master: systemd socket verification wasn't actually being called normally.
Timo Sirainen [Wed, 9 May 2012 03:11:58 +0000 (06:11 +0300)]
lib-storage: Added a mailbox.synced flag, which is set when mailbox sync has succeeded.
Timo Sirainen [Wed, 9 May 2012 01:41:47 +0000 (04:41 +0300)]
lib-storage: mailbox_list_get_storage_name/_get_vname() are now public.
Timo Sirainen [Tue, 8 May 2012 05:49:47 +0000 (08:49 +0300)]
Compiler warning fixes
Timo Sirainen [Tue, 8 May 2012 05:31:27 +0000 (08:31 +0300)]
Compiler warning fixes
Timo Sirainen [Mon, 7 May 2012 22:24:01 +0000 (01:24 +0300)]
lib-storage: Extra check to mail_shared_explicit_inbox=no
Timo Sirainen [Mon, 7 May 2012 22:22:32 +0000 (01:22 +0300)]
layout=fs: Fixes to mail_shared_explicit_inbox=no
Timo Sirainen [Mon, 7 May 2012 20:39:34 +0000 (23:39 +0300)]
lib-storage: Don't auto-drop namespaces with only INBOX shared and mail_shared_explicit_inbox=no
Timo Sirainen [Mon, 7 May 2012 20:39:01 +0000 (23:39 +0300)]
acl: Fixed listing users who have only INBOX shared and mail_shared_explicit_inbox=no
Timo Sirainen [Mon, 7 May 2012 05:36:54 +0000 (08:36 +0300)]
Added signature for changeset
7c249e2a82a9
Timo Sirainen [Mon, 7 May 2012 05:36:43 +0000 (08:36 +0300)]
Added tag 2.1.6 for changeset
7c249e2a82a9
Timo Sirainen [Mon, 7 May 2012 05:36:43 +0000 (08:36 +0300)]
Released v2.1.6.
Timo Sirainen [Mon, 7 May 2012 01:06:49 +0000 (04:06 +0300)]
Makefile: Remove dovecot-config on make uninstall
Timo Sirainen [Sun, 6 May 2012 03:44:04 +0000 (06:44 +0300)]
auth: Previous change caused crashing with userdb lookups
Timo Sirainen [Fri, 4 May 2012 21:01:32 +0000 (00:01 +0300)]
auth: Added %{session} variable for passdb/userdb queries.
Timo Sirainen [Fri, 4 May 2012 20:56:51 +0000 (23:56 +0300)]
acl: Memory leak fixes
Timo Sirainen [Fri, 4 May 2012 20:50:22 +0000 (23:50 +0300)]
mail-log: Memory leak fix
Timo Sirainen [Fri, 4 May 2012 19:55:29 +0000 (22:55 +0300)]
shared mailboxes: If successful userdb lookup doesn't return home, fallback to mail_home setting for %%h.
Timo Sirainen [Fri, 4 May 2012 18:52:05 +0000 (21:52 +0300)]
systemd: If a socket is enabled in systemd but not in Dovecot config, close it.
Based on patch by Michal Hlavinka.
Timo Sirainen [Fri, 4 May 2012 18:40:57 +0000 (21:40 +0300)]
Added mail_shared_explicit_inbox setting.
Timo Sirainen [Fri, 4 May 2012 17:14:20 +0000 (20:14 +0300)]
dbox: Metadata read buffer's size was supposed to be unlimited, not zero.
This was broken by
59f5238c6e61 , which itself had fixed another bug.
Timo Sirainen [Fri, 4 May 2012 17:07:05 +0000 (20:07 +0300)]
doveadm mailbox mutf7: If input data is invalid, exit with EX_DATAERR.
Timo Sirainen [Fri, 4 May 2012 16:01:46 +0000 (19:01 +0300)]
mail-log: Removed broken "are we saving?" check from copy event handling.
Timo Sirainen [Fri, 4 May 2012 16:01:19 +0000 (19:01 +0300)]
notify plugin: mailbox_save_using_mail() now sends "save" events, not "copy".
Timo Sirainen [Fri, 4 May 2012 16:00:04 +0000 (19:00 +0300)]
lib-storage: Don't set mail_save_context->saving=TRUE when copying via save.
Timo Sirainen [Fri, 4 May 2012 02:35:36 +0000 (05:35 +0300)]
lib-storage: Added MAILBOX_TRANSACTION_FLAG_SYNC flag
Timo Sirainen [Tue, 22 May 2012 14:10:20 +0000 (17:10 +0300)]
dbox: Don't reset index when mailbox_update() changes UIDVALIDITY.
Timo Sirainen [Thu, 3 May 2012 20:26:44 +0000 (23:26 +0300)]
lib-index: Fixed MAIL_INDEX_SYNC_FLAG_AVOID_FLAG_UPDATES with concurrent keyword changes.
If session 1 saw keywords="a", session 2 added keyword "b" and session 1
(without the client syncing session) replaced flags with "a", the "b"
keyword wasn't removed.
Timo Sirainen [Thu, 3 May 2012 18:46:07 +0000 (21:46 +0300)]
Added MAIL_INDEX_TRANSACTION_FLAG_SYNC
Timo Sirainen [Tue, 22 May 2012 14:03:20 +0000 (17:03 +0300)]
Don't write "keyword reset" records to transaction log anymore.
These are a bit problematic for dsync's keyword merging to handle.
Timo Sirainen [Tue, 22 May 2012 13:54:55 +0000 (16:54 +0300)]
lib-index: Added mail_transaction_log_view_set_all()
Timo Sirainen [Tue, 22 May 2012 13:54:43 +0000 (16:54 +0300)]
lib-index: Don't log an error if UIDVALIDITY changes.
Normally this should be done by backend only by resetting the index, but
it can be done also by dsync.
Timo Sirainen [Sun, 20 May 2012 00:32:55 +0000 (03:32 +0300)]
Use timeout_add_short() for sub-second timeouts. Fail at compile time if timeout_add() is <1s.
In future timeout_add() could perhaps also be made less precise, so that it
would try to group timeouts to run around at the same time.
Timo Sirainen [Sun, 20 May 2012 00:25:04 +0000 (03:25 +0300)]
Merged changes from v2.1 tree.
Timo Sirainen [Sat, 19 May 2012 19:40:08 +0000 (22:40 +0300)]
Extends struct net_unix_cred with pid field and modifies net_getunixcred() to fill it in if possible.
Depends: none
Timo Sirainen [Sat, 19 May 2012 19:28:19 +0000 (22:28 +0300)]
lib-storage: Sort userdb fields before importing them.
This avoids requiring manual sorting in some situations, such as when
defining new namespaces.
Timo Sirainen [Thu, 3 May 2012 21:48:45 +0000 (00:48 +0300)]
lib-index: Removed unused locking code.
Timo Sirainen [Thu, 3 May 2012 21:41:51 +0000 (00:41 +0300)]
lib-index: Updated dovecot.index file only by recreating it, never write to it directly.
This is safer, and nowadays there shouldn't be much of a performance loss
with it either, since dovecot.index isn't updated very often.
This also allows removing all locking from dovecot.index file, although for
now we'll keep it in case old Dovecot versions are simultaneously writing to
the index.
SATOH Fumiyasu [Fri, 27 Apr 2012 07:47:30 +0000 (16:47 +0900)]
Fix the build failure on AIX
Timo Sirainen [Tue, 1 May 2012 00:15:46 +0000 (03:15 +0300)]
lib-storage: shared/$user/INBOX is now visible only as shared/$user
Timo Sirainen [Tue, 1 May 2012 00:01:49 +0000 (03:01 +0300)]
aqueue: Reversed recent changes, they didn't work as intended.
Timo Sirainen [Mon, 30 Apr 2012 20:04:08 +0000 (23:04 +0300)]
Increased initial memory pool size.
Timo Sirainen [Mon, 30 Apr 2012 19:53:19 +0000 (22:53 +0300)]
seq_range_array_add(): Ranges weren't always merged when they could have.
This didn't break anything, but it used up more memory than necessary.
Timo Sirainen [Sat, 28 Apr 2012 15:24:24 +0000 (18:24 +0300)]
Code cleanup: Use array_count_i() to calculate array's size internally.
Timo Sirainen [Sat, 28 Apr 2012 14:41:14 +0000 (17:41 +0300)]
auth: Include session ID in log line prefix.
Timo Sirainen [Sat, 28 Apr 2012 14:33:34 +0000 (17:33 +0300)]
lib-storage: Allocate MAILBOX_METADATA_CACHE_FIELDS from a new metadata mempool.
Timo Sirainen [Wed, 25 Apr 2012 21:26:58 +0000 (00:26 +0300)]
acl: Fixed looking up parent mailbox name with different namespace vs. layout separators.
Timo Sirainen [Wed, 25 Apr 2012 20:44:32 +0000 (23:44 +0300)]
lib-storage: Fixed expanding path that ends with "~/"
For example mail_location=maildir:~/ would actually try to create '~'
directory.
Timo Sirainen [Wed, 25 Apr 2012 20:34:29 +0000 (23:34 +0300)]
passdb static: Don't crash if password/nopassword isn't set.
Timo Sirainen [Wed, 25 Apr 2012 19:28:03 +0000 (22:28 +0300)]
*-login: Added ssl_require_crl setting.
Timo Sirainen [Wed, 25 Apr 2012 19:12:26 +0000 (22:12 +0300)]
stats plugin: Open /proc/self/io only once, reopening is unnecessary.
Timo Sirainen [Wed, 25 Apr 2012 18:32:00 +0000 (21:32 +0300)]
SSL proxying: Remote's host never matched cert, because auth process changed it to IP.
Now the "host" parameter isn't changed, but a new optional "hostip"
parameter contains the IP address where to connect to.
Timo Sirainen [Wed, 25 Apr 2012 18:29:14 +0000 (21:29 +0300)]
*-login: Don't fail client's certificate if CRL is expired.
This seems to be returned also when there is no CRL..
Timo Sirainen [Wed, 25 Apr 2012 18:28:16 +0000 (21:28 +0300)]
*-login: If client certificate isn't valid, log the reason why.
Timo Sirainen [Wed, 25 Apr 2012 18:26:25 +0000 (21:26 +0300)]
auth: Fixed handling multiple passdbs where some use proxying and others don't.
Timo Sirainen [Wed, 25 Apr 2012 18:23:24 +0000 (21:23 +0300)]
auth: Minor code cleanup.
Timo Sirainen [Wed, 25 Apr 2012 13:44:22 +0000 (16:44 +0300)]
imapc: List INBOX for inbox=yes namespace even imapc_list_prefix is set.
Timo Sirainen [Wed, 25 Apr 2012 13:44:00 +0000 (16:44 +0300)]
lib-storage: Make sure both MAILBOX_CHILDREN and MAILBOX_NOCHILDREN flags aren't set.
Timo Sirainen [Wed, 25 Apr 2012 13:29:22 +0000 (16:29 +0300)]
dsync: Treat \Nonexistent mailboxes the same as \Noselect mailboxes.
Timo Sirainen [Tue, 24 Apr 2012 23:48:36 +0000 (02:48 +0300)]
lib-ssl-iostream: Fixed a memory leak when verifying certificate name.
This mainly mattered when proxying with SSL to remote server.
Timo Sirainen [Tue, 24 Apr 2012 18:12:36 +0000 (21:12 +0300)]
doveadm expunge -d: If mailbox is deleted, unsubscribe it also
Timo Sirainen [Tue, 24 Apr 2012 18:09:25 +0000 (21:09 +0300)]
trash plugin: Fixed behavior when quota is already over limit.
Timo Sirainen [Tue, 24 Apr 2012 18:03:19 +0000 (21:03 +0300)]
quota: Set to quota transaction how many bytes/messages we're over quota.
Timo Sirainen [Mon, 23 Apr 2012 14:59:39 +0000 (17:59 +0300)]
imapc: Fixed imapc_list_prefix setting to work with INBOX.
Timo Sirainen [Mon, 23 Apr 2012 13:35:41 +0000 (16:35 +0300)]
Added signature for changeset
469cee314d9c