]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 4 Apr 2013 20:03:47 +0000 (23:03 +0300)]
dsync: Mailbox name fixing didn't work when namespace prefixes were used.
Timo Sirainen [Thu, 4 Apr 2013 20:03:30 +0000 (23:03 +0300)]
imapc: Don't assert-crash when ACL plugin tries to lookup "" mailbox.
Timo Sirainen [Thu, 4 Apr 2013 20:03:06 +0000 (23:03 +0300)]
imapc: Give an early error message if imapc_list_prefix ends with separator.
Timo Sirainen [Thu, 4 Apr 2013 19:49:38 +0000 (22:49 +0300)]
lib-storage: Crashfixes for handling shared mailboxes for nonexistent users.
Timo Sirainen [Thu, 4 Apr 2013 19:09:02 +0000 (22:09 +0300)]
istream-chain: Final fixes to handling merged streams.
Timo Sirainen [Thu, 4 Apr 2013 18:46:59 +0000 (21:46 +0300)]
istream-chain: More fixes to handling merged streams.
Timo Sirainen [Thu, 4 Apr 2013 18:23:49 +0000 (21:23 +0300)]
istream-chain: Fixed memory leak.
Timo Sirainen [Thu, 4 Apr 2013 18:18:59 +0000 (21:18 +0300)]
lib-imap-urlauth: Don't memcpy() data over itself.
Timo Sirainen [Thu, 4 Apr 2013 18:18:45 +0000 (21:18 +0300)]
i_stream_read(): Added assert.
Timo Sirainen [Thu, 4 Apr 2013 18:18:28 +0000 (21:18 +0300)]
istream-chain: Fixed handling small streams that get merged into same buffer.
Timo Sirainen [Thu, 4 Apr 2013 17:32:28 +0000 (20:32 +0300)]
ldap auth: Don't access freed memory.
Timo Sirainen [Thu, 4 Apr 2013 17:05:37 +0000 (20:05 +0300)]
lib-storage: Add \Noinferiors flag to INBOX when such namespace config is used.
Timo Sirainen [Thu, 4 Apr 2013 16:45:28 +0000 (19:45 +0300)]
auth: If passdb wasn't used, don't preserve its extra fields in auth request.
Timo Sirainen [Thu, 4 Apr 2013 16:18:22 +0000 (19:18 +0300)]
lib-mail: quoted_printable_decode*() now returns all newlines as CRLF.
This is required by BINARY fetches, since the original data had CRLFs.
Timo Sirainen [Thu, 4 Apr 2013 16:03:26 +0000 (19:03 +0300)]
lib-storage: Fixed searching with multiple parameters and prefetching.
Timo Sirainen [Thu, 4 Apr 2013 15:18:50 +0000 (18:18 +0300)]
imapc, pop3c: Don't hide SSL handshake errors.
Timo Sirainen [Thu, 4 Apr 2013 15:10:04 +0000 (18:10 +0300)]
lib-ssl-iostream: Simplified certificate validation. Also give better error messages.
Timo Sirainen [Thu, 4 Apr 2013 14:40:30 +0000 (17:40 +0300)]
lib-http: Crashfix for previous change.
Timo Sirainen [Thu, 4 Apr 2013 14:39:17 +0000 (17:39 +0300)]
lib-ssl-iostream: Added support for TLS SNI, which caused some API changes.
Timo Sirainen [Thu, 4 Apr 2013 14:34:23 +0000 (17:34 +0300)]
lib-http: Prepare for TLS SNI support.
Timo Sirainen [Thu, 4 Apr 2013 13:53:08 +0000 (16:53 +0300)]
lib-ssl: If debug=TRUE, set also SSL verbose=TRUE
Timo Sirainen [Thu, 4 Apr 2013 12:40:08 +0000 (15:40 +0300)]
lib-ssl-iostream: If handshake callback fails, close the iostreams immediately.
This way the callback itself doesn't have to do it. Also fixes errors caused
by it, since they didn't close the ostream.
Timo Sirainen [Thu, 4 Apr 2013 12:21:52 +0000 (15:21 +0300)]
lib-http: Removed last traces of http_client_connection_error()
Timo Sirainen [Thu, 4 Apr 2013 12:21:00 +0000 (15:21 +0300)]
lib-ssl-iostream: ssl_iostream_set_handshake_callback() API changed.
The callback can now return the error message to caller instead of having to
log it itself.
Timo Sirainen [Thu, 4 Apr 2013 11:58:00 +0000 (14:58 +0300)]
lib-http: Pass connect failures all the way to request callback's error string.
Timo Sirainen [Thu, 4 Apr 2013 11:55:03 +0000 (14:55 +0300)]
lib-http: Reorder http_client_connection deinit code just to be safe.
I'm not sure if this fixes any actual bugs, but just in case request
callbacks cause the connection to be accessed/modified in some way abort the
requests before doing anything else.
Timo Sirainen [Thu, 4 Apr 2013 11:51:20 +0000 (14:51 +0300)]
lib-http: Fixed double-free on delayed connect() failures caused by recent change.
Timo Sirainen [Thu, 4 Apr 2013 11:41:06 +0000 (14:41 +0300)]
lib-http: If SSL init/handshake fails for connection, destroy it.
Timo Sirainen [Thu, 4 Apr 2013 11:30:41 +0000 (14:30 +0300)]
lib-http: If connect() fails, destroy the http_client_connection.
Fixes hanging requests when a peer has multiple connections.
Timo Sirainen [Thu, 4 Apr 2013 11:18:38 +0000 (14:18 +0300)]
lib-http: Simplify error handling by delaying connect() failures.
Timo Sirainen [Thu, 4 Apr 2013 11:11:10 +0000 (14:11 +0300)]
lib-http: If http_client_request_submit() fails, don't immediately call the callback.
This simplifies the caller's error handling since there is now only one
error code path instead of two.
Timo Sirainen [Thu, 4 Apr 2013 10:21:42 +0000 (13:21 +0300)]
lib-http: Removed unused code.
Timo Sirainen [Thu, 4 Apr 2013 10:20:59 +0000 (13:20 +0300)]
lib-ssl-iostream: API changes to return error strings if init() functions fail.
This also fixed a couple of broken error handlings.
Timo Sirainen [Thu, 4 Apr 2013 10:12:26 +0000 (13:12 +0300)]
lib-ssl-iostream: Removed unused iostream-ssl-none.c
Timo Sirainen [Thu, 4 Apr 2013 09:48:52 +0000 (12:48 +0300)]
lib-http: Each peer doesn't need a separate ssl context, enough to have one for http_client.
Also removed #ifdefs for building with SSL support. lib-ssl-iostream
nowadays dynamically loads the SSL library when needed, and also handles
failures if Dovecot was built without SSL support.
Timo Sirainen [Thu, 4 Apr 2013 09:21:04 +0000 (12:21 +0300)]
lib-http: Pass DNS lookup error message to caller instead of logging it.
Timo Sirainen [Wed, 3 Apr 2013 08:36:56 +0000 (11:36 +0300)]
dovecot.m4: Reverted last change with added comments.
Timo Sirainen [Tue, 2 Apr 2013 20:32:10 +0000 (23:32 +0300)]
lib-master: If fifo isn't accepted, don't double-destroy the connection.
Timo Sirainen [Tue, 2 Apr 2013 20:29:43 +0000 (23:29 +0300)]
lib-http: Added ssl_ca setting to specify the CA certificate directly.
Timo Sirainen [Tue, 2 Apr 2013 20:11:30 +0000 (23:11 +0300)]
dovecot.m4: Removed --without-dovecot-install-dirs from distcheck configure flags.
Perhaps the whole feature should be designed some other way. Some plugins
require the dovecot_* variables to point to their real paths.
Timo Sirainen [Tue, 2 Apr 2013 08:22:52 +0000 (11:22 +0300)]
auth: Fixed also DOVECOT-TOKEN (=URLAUTH) and NTLM/GSS-SPNEGO (via winbind) to work.
Timo Sirainen [Tue, 2 Apr 2013 08:18:45 +0000 (11:18 +0300)]
auth: Fixed ANONYMOUS mechanism to work again.
Timo Sirainen [Sun, 31 Mar 2013 16:02:32 +0000 (19:02 +0300)]
quota: Added more debug logs about quota_grace
Timo Sirainen [Sun, 31 Mar 2013 15:43:13 +0000 (18:43 +0300)]
dsync: Fixed syncing without GUIDs.
Timo Sirainen [Sun, 31 Mar 2013 15:35:13 +0000 (18:35 +0300)]
dsync: Don't crash if second user initialization fails.
Timo Sirainen [Sun, 31 Mar 2013 15:24:54 +0000 (18:24 +0300)]
dsync: If remote doesn't send some mails, don't exit with code 0.
Timo Sirainen [Sun, 31 Mar 2013 15:15:00 +0000 (18:15 +0300)]
auth: nodelay and nopassword fields weren't handled correctly.
Timo Sirainen [Sun, 31 Mar 2013 14:25:10 +0000 (17:25 +0300)]
virtual plugin: Fixed saving/copying messages to virtual mailbox.
Timo Sirainen [Sun, 31 Mar 2013 14:24:35 +0000 (17:24 +0300)]
lib-storage: mailbox_get_status() no longer forces mailbox to be synced.
This fixes copying messages with keywords to a virtual mailbox, where
syncing happened too late and caused assert-crash (status was only used to
lookup list of keywords).
The crash could have been solved another way too, but it's probably better
if automatic syncing isn't always performed. doveadm index -n parameter
handling also relies on this behavior.
Timo Sirainen [Sun, 31 Mar 2013 13:46:45 +0000 (16:46 +0300)]
lib-storage: Don't reset mail_save_context.copying|moving|copying_via_save too early.
Timo Sirainen [Sun, 31 Mar 2013 13:46:11 +0000 (16:46 +0300)]
lib-storage: Create a default namespace for auto-created shared mail_users.
Some code nowadays requires user to have prefix="" namespace.
Timo Sirainen [Thu, 28 Mar 2013 09:37:07 +0000 (11:37 +0200)]
maildir++ quota: Fixed relative quota_grace when taking limit from maildirsize file
Timo Sirainen [Wed, 27 Mar 2013 19:10:35 +0000 (21:10 +0200)]
maildir: If maildir_broken_filename_sizes=yes, don't try to fix sizes in filenames.
Timo Sirainen [Wed, 27 Mar 2013 12:45:14 +0000 (14:45 +0200)]
lib-fs: Always keep the error in the parentmost fs.
This fixes problems with getting the correct error message when wrapper
filesystems are used.
Timo Sirainen [Wed, 27 Mar 2013 10:53:35 +0000 (12:53 +0200)]
dsync: Use i_fatal() for invalid parameters, like the rest of doveadm commands.
Probably the parse_arg() API should be changed to allow reporting errors.
Timo Sirainen [Wed, 27 Mar 2013 07:16:56 +0000 (09:16 +0200)]
dsync: Don't access uninitialized variable
Timo Sirainen [Wed, 27 Mar 2013 07:16:42 +0000 (09:16 +0200)]
Compiler warning fix
Timo Sirainen [Tue, 26 Mar 2013 20:41:43 +0000 (22:41 +0200)]
lib-storage: Added assert.
Timo Sirainen [Tue, 26 Mar 2013 20:41:32 +0000 (22:41 +0200)]
dsync: Allow doveadm plugins to override local_location at run().
Timo Sirainen [Tue, 26 Mar 2013 20:40:57 +0000 (22:40 +0200)]
dsync: Allow syncing same mail root dirs if indexes are different.
Fixes dsyncing with storages that have no mail root dirs.
Timo Sirainen [Tue, 26 Mar 2013 20:39:38 +0000 (22:39 +0200)]
dsync: Crashfix when importing from storage without GUIDs.
Timo Sirainen [Tue, 26 Mar 2013 12:38:30 +0000 (14:38 +0200)]
ldap: Another fix to sub-dn-lookup.
Timo Sirainen [Tue, 26 Mar 2013 08:36:49 +0000 (10:36 +0200)]
ldap: Crashfix
Timo Sirainen [Tue, 26 Mar 2013 08:35:38 +0000 (10:35 +0200)]
ldap: Compiling fix to previous change
Timo Sirainen [Tue, 26 Mar 2013 08:25:50 +0000 (10:25 +0200)]
ldap: Improved sub-dn-lookup error message.
Timo Sirainen [Mon, 25 Mar 2013 16:10:16 +0000 (18:10 +0200)]
ldap: Various crashfixes
Timo Sirainen [Mon, 25 Mar 2013 15:56:53 +0000 (17:56 +0200)]
ldap: Don't crash if attributes have no @subrequests.
Timo Sirainen [Mon, 25 Mar 2013 15:02:15 +0000 (17:02 +0200)]
doveadm sync/backup: Added -g <guid> to sync only the specified mailbox (by GUID)
Similar to -m <mailbox name>.
Timo Sirainen [Mon, 25 Mar 2013 12:18:20 +0000 (14:18 +0200)]
dsync: Fixed syncing attribute streams.
Timo Sirainen [Mon, 25 Mar 2013 11:55:41 +0000 (13:55 +0200)]
imap: Fixed more URL escaping in URLFETCH replies.
Timo Sirainen [Sun, 24 Mar 2013 17:04:15 +0000 (19:04 +0200)]
mysql/pgsql: Don't bother logging about having connected to the database.
There's probably no good reason to have them? Errors are of course still
logged.
Timo Sirainen [Sun, 24 Mar 2013 16:58:20 +0000 (18:58 +0200)]
doveadm-server: Don't continue handling commands if input stream is already closed.
This fixes trying to handle extra input from previous dsync command.
Timo Sirainen [Sun, 24 Mar 2013 16:48:28 +0000 (18:48 +0200)]
imap: GENURLAUTH and URLFETCH didn't escape URL parameters when needed.
Timo Sirainen [Sun, 24 Mar 2013 16:14:11 +0000 (18:14 +0200)]
doveadm replicator status: Without <usermask> parameter show overview status.
Timo Sirainen [Sun, 24 Mar 2013 16:13:53 +0000 (18:13 +0200)]
doveadm: Table formatter now hides the titles if all of them are marked hidden.
Timo Sirainen [Sun, 24 Mar 2013 15:48:17 +0000 (17:48 +0200)]
doveadm: Added "replicator replicate" command to force replication of user(s).
Timo Sirainen [Sun, 24 Mar 2013 15:23:33 +0000 (17:23 +0200)]
replication_full_sync_interval default changed from 12h -> 24h
This allows doing full resyncs only at nights.
Timo Sirainen [Sun, 24 Mar 2013 15:21:49 +0000 (17:21 +0200)]
replicator: If sync fails, retry it in 5 minutes.
Timo Sirainen [Sun, 24 Mar 2013 15:04:22 +0000 (17:04 +0200)]
replicator: Replicator queue export/import at exit/startup wasn't really working.
Timo Sirainen [Sun, 24 Mar 2013 14:53:32 +0000 (16:53 +0200)]
doveadm replicator status: Show sync time as "-" for "never".
Timo Sirainen [Sun, 24 Mar 2013 14:52:39 +0000 (16:52 +0200)]
doveadm replicator status: Fixed user mask to work.
Timo Sirainen [Sun, 24 Mar 2013 14:48:53 +0000 (16:48 +0200)]
doveadm: Added "replicator status" command.
Timo Sirainen [Sun, 24 Mar 2013 14:48:29 +0000 (16:48 +0200)]
replicator: Added doveadm socket for communicating with "doveadm replicator".
Timo Sirainen [Sun, 24 Mar 2013 14:04:37 +0000 (16:04 +0200)]
lib-storage: Fixed listing subscribed namespace prefixes.
Timo Sirainen [Sun, 24 Mar 2013 13:33:36 +0000 (15:33 +0200)]
lib-storage: If INBOX isn't subscribed, don't return it in subscriptions list.
Timo Sirainen [Fri, 22 Mar 2013 17:45:52 +0000 (19:45 +0200)]
lib-storage: Compiling fix
Timo Sirainen [Fri, 22 Mar 2013 15:43:52 +0000 (17:43 +0200)]
lib-storage: Fixed crash if shared namespace had subscriptions=yes
Timo Sirainen [Fri, 22 Mar 2013 15:30:36 +0000 (17:30 +0200)]
lib-storage: Added mailbox_list_get_settings()
Timo Sirainen [Fri, 22 Mar 2013 10:48:21 +0000 (12:48 +0200)]
dsync: Use fcntl() locking instead of flock().
Timo Sirainen [Fri, 22 Mar 2013 09:17:14 +0000 (11:17 +0200)]
Compiler warning fix
Timo Sirainen [Fri, 22 Mar 2013 08:29:12 +0000 (10:29 +0200)]
acl: Don't crash when rebuilding acl dict for "unusable" namespaces.
Timo Sirainen [Thu, 21 Mar 2013 21:51:16 +0000 (23:51 +0200)]
login proxy: Set a default 30s timeout.
Timo Sirainen [Thu, 21 Mar 2013 21:50:53 +0000 (23:50 +0200)]
login proxy: Stop proxy_timeout only after successfully logged in (not after connected).
Timo Sirainen [Thu, 21 Mar 2013 12:48:33 +0000 (14:48 +0200)]
dsync: -m '' parameter now syncs mailbox list, but no actual mails.
Timo Sirainen [Wed, 20 Mar 2013 20:06:06 +0000 (22:06 +0200)]
Added signature for changeset
11bd79bf4866
Timo Sirainen [Wed, 20 Mar 2013 20:05:53 +0000 (22:05 +0200)]
Added tag 2.2.rc3 for changeset
11bd79bf4866
Timo Sirainen [Wed, 20 Mar 2013 20:05:53 +0000 (22:05 +0200)]
Released v2.2.rc3.
Timo Sirainen [Wed, 20 Mar 2013 19:44:48 +0000 (21:44 +0200)]
Merged changes from v2.1 tree.
Timo Sirainen [Wed, 20 Mar 2013 19:13:20 +0000 (21:13 +0200)]
doveadm pw -t: Don't ask for password if -p is also specified.
Patch by Paul Wallingford.
Timo Sirainen [Wed, 20 Mar 2013 19:04:29 +0000 (21:04 +0200)]
mbox: Moved .subscriptions back to control_dir/ root instead of control_dir/.imap/