]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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/
Timo Sirainen [Wed, 20 Mar 2013 18:56:58 +0000 (20:56 +0200)]
layout=fs: Fixed crash with mbox when control dir was enabled.
Timo Sirainen [Wed, 20 Mar 2013 18:47:46 +0000 (20:47 +0200)]
dsync: Fixed retrying a search when GUIDs aren't available.
Timo Sirainen [Wed, 20 Mar 2013 18:47:14 +0000 (20:47 +0200)]
dsync: Avoid a creating a lot of searches for each synced mailbox.
Timo Sirainen [Wed, 20 Mar 2013 18:24:31 +0000 (20:24 +0200)]
dsync: Don't crash when requested mail doesn't have a GUID.
Timo Sirainen [Wed, 20 Mar 2013 18:17:15 +0000 (20:17 +0200)]
layout=fs: Fixed assert-crash when mail root doesn't exist (pop3c).
Timo Sirainen [Wed, 20 Mar 2013 17:18:01 +0000 (19:18 +0200)]
imap: Don't crash with invalid FETCH BODY[sections]
Timo Sirainen [Wed, 20 Mar 2013 16:52:51 +0000 (18:52 +0200)]
example-config: Removed a warning about mail_attachment_dir not being tested.
Timo Sirainen [Wed, 20 Mar 2013 16:46:10 +0000 (18:46 +0200)]
fts: Fixed crash when searching virtual mailboxes and fts backend without lookup_multi().
Patch by Mike Abbott / Apple
Timo Sirainen [Wed, 20 Mar 2013 16:24:21 +0000 (18:24 +0200)]
lib-lda: Send QUIT after DATA replies have been received.
Timo Sirainen [Wed, 20 Mar 2013 16:09:46 +0000 (18:09 +0200)]
acl: Put ACL files to control dir if storage doesn't have a mail directory.
Timo Sirainen [Wed, 20 Mar 2013 15:59:32 +0000 (17:59 +0200)]
layout=index: Fixed mailbox_exists()
Timo Sirainen [Wed, 20 Mar 2013 15:54:52 +0000 (17:54 +0200)]
imap: Fixed RESETKEY assert-crashing
Timo Sirainen [Wed, 20 Mar 2013 15:44:07 +0000 (17:44 +0200)]
layout=index: Don't return a path for \Noselect mailboxes.
Timo Sirainen [Wed, 20 Mar 2013 15:43:32 +0000 (17:43 +0200)]
lib-storage: mailbox_rename() shouldn't require source mailbox to exist.
\Noselect mailboxes may not exist. The nonexistence will be noticed
eventually in the backend code.
Timo Sirainen [Wed, 20 Mar 2013 15:10:47 +0000 (17:10 +0200)]
lib-fs: Fixed fs_default_copy() to work with async writes.
Timo Sirainen [Wed, 20 Mar 2013 10:04:39 +0000 (12:04 +0200)]
replicator: Renamed doveadm-connection to dsync-client.
Timo Sirainen [Wed, 20 Mar 2013 07:59:27 +0000 (09:59 +0200)]
dsync: Fixed attribute value comparisons.
Timo Sirainen [Tue, 19 Mar 2013 21:31:41 +0000 (23:31 +0200)]
Compiler warning fix.
Timo Sirainen [Tue, 19 Mar 2013 17:08:17 +0000 (19:08 +0200)]
lib-storage: Added a way to create plugins that forcibly hook into mail storage.
Mostly meant for doveadm_sieve plugin.
Timo Sirainen [Tue, 19 Mar 2013 17:05:27 +0000 (19:05 +0200)]
lib-storage: Mailbox attributes can now be accessed via istreams.
The idea is to use istreams for larger values.
Timo Sirainen [Tue, 19 Mar 2013 16:52:39 +0000 (18:52 +0200)]
dsync: Fixed sending mailbox attributes with stream ibc.
Timo Sirainen [Tue, 19 Mar 2013 16:50:55 +0000 (18:50 +0200)]
dsync: Mail requests were lost when attributes were being synced.
Timo Sirainen [Tue, 19 Mar 2013 16:48:47 +0000 (18:48 +0200)]
acl: Don't iterate ACL attributes if prefix has no chance of matching them.
Timo Sirainen [Tue, 19 Mar 2013 12:00:49 +0000 (14:00 +0200)]
acl: Preserve dovecot-acl file's mtime when dsyncing.
Timo Sirainen [Tue, 19 Mar 2013 12:00:21 +0000 (14:00 +0200)]
acl: Don't unnecessarily rewrite dovecot-acl file when re-adding the same ACL.
Timo Sirainen [Tue, 19 Mar 2013 11:59:22 +0000 (13:59 +0200)]
dsync: Set last_change timestamp for unset attributes.
Timo Sirainen [Tue, 19 Mar 2013 11:59:02 +0000 (13:59 +0200)]
lib-storage: Allow mailbox_attribute_set() to also unset values.
This allows giving the last_change timestamp also when unsetting.
Timo Sirainen [Tue, 19 Mar 2013 11:34:12 +0000 (13:34 +0200)]
lib-storage: mailbox_attribute_set() now uses struct mail_attribute_value.
This allows settig the last_change value, as well as using streams and
setting other flags in future.
Timo Sirainen [Tue, 19 Mar 2013 10:39:43 +0000 (12:39 +0200)]
net_is_in_network(): Don't assert-crash with invalid IP.
It's probably better to do the check here instead of remembering for caller
to do the check.
Timo Sirainen [Tue, 19 Mar 2013 10:18:25 +0000 (12:18 +0200)]
test-json-parser: Fixed failing test with some non-gcc/clang compilers.
Timo Sirainen [Tue, 19 Mar 2013 10:13:33 +0000 (12:13 +0200)]
ldap auth: Removed base() wrapper around @dn values.
The idea was to provide extensibility, but it can better be done with LDAP
URLs.
Timo Sirainen [Tue, 19 Mar 2013 09:52:15 +0000 (11:52 +0200)]
lib-fs: fs-test now sets the ssl_client_set.ca_dir
Timo Sirainen [Tue, 19 Mar 2013 09:42:51 +0000 (11:42 +0200)]
Moved ssl_client_ca_dir and ssl_crypto_device to mail_storage_settings.
Probably could also be moved to master_service_settings, but that makes
accessing them a bit more tricky with the current code.
Timo Sirainen [Tue, 19 Mar 2013 09:39:07 +0000 (11:39 +0200)]
lib-fs: Allow passing through SSL client settings via struct fs_settings.
Timo Sirainen [Mon, 18 Mar 2013 19:31:34 +0000 (21:31 +0200)]
ldap auth: "!ldapField" now requests the given field, but doesn't return it directly.
It's only useful for listing fields that %{ldap_ptr} can potentially access.
Timo Sirainen [Mon, 18 Mar 2013 19:23:54 +0000 (21:23 +0200)]
ldap auth: Added %{ldap_ptr:realAttr} to get the value from the realAttr.
For example:
password_attrs = \
=proxy=y, \
=host=%{ldap_ptr:activeHost}, \
primaryHost, secondaryHost
Where activeHost's value is either "primaryHost" or "secondaryHost".
Timo Sirainen [Mon, 18 Mar 2013 19:20:54 +0000 (21:20 +0200)]
ldap auth: Fix to previous change.
Timo Sirainen [Mon, 18 Mar 2013 18:51:33 +0000 (20:51 +0200)]
ldap auth: Support field values containing DNs to other LDAP records and getting them.
For example:
user_attrs = \
=user=%{ldap:uid}, \
@mail=base(%{ldap:mailDN}), \
=uid=%{ldap:uidNumber@mail}, \
=gid=%{ldap:gidNumber@mail}, \
=home=%{ldap:rootPath@mail}/%d/%n
This first does the regular lookup, and then does another lookup using
mailDN's value as the new lookup's base. The other lookup's filter is
currently hardcoded to "no filter".
Timo Sirainen [Mon, 18 Mar 2013 14:51:58 +0000 (16:51 +0200)]
auth: Return "nologin" and "proxy" fields to login process without "=value".
Timo Sirainen [Mon, 18 Mar 2013 13:59:40 +0000 (15:59 +0200)]
Compiling fix for Solaris
Timo Sirainen [Mon, 18 Mar 2013 13:47:14 +0000 (15:47 +0200)]
istream-qp-decoder: Fixed assert-crashing with buffer size allocations.
The original implementation was copy&pasted from istream-base64-decoder
without enough thinking..
Timo Sirainen [Mon, 18 Mar 2013 13:46:16 +0000 (15:46 +0200)]
quoted-printable decoding: Don't add CR if it wasn't in input.
This guarantees that the decoded Q-P won't be larger than its input.