]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Mon, 2 Apr 2012 18:49:05 +0000 (21:49 +0300)]
imap: Enabling SPECIAL-USE selection option should also enable the same return option.
Timo Sirainen [Fri, 30 Mar 2012 02:20:08 +0000 (05:20 +0300)]
imapc: Added imapc_features=rfc822.size setting to use RFC822.size for physical sizes.
Timo Sirainen [Fri, 30 Mar 2012 02:11:09 +0000 (05:11 +0300)]
pop3-replication: Don't request virtual size from IMAP mailbox, we don't need it.
Timo Sirainen [Fri, 30 Mar 2012 01:26:00 +0000 (04:26 +0300)]
pop3-migration: Migrate also POP3 ordering.
Timo Sirainen [Fri, 30 Mar 2012 01:25:46 +0000 (04:25 +0300)]
dsync: Preserve pop3 ordering.
This is currently done only when syncing locally, because it's not easy to
add more fields for the current dsync proxying protocol in backwards
compatible way. dsync redesign should fix this.
Timo Sirainen [Fri, 30 Mar 2012 01:23:59 +0000 (04:23 +0300)]
lib-storage: Added mailbox_save_set_pop3_order() and implemented for Maildir.
Timo Sirainen [Fri, 30 Mar 2012 00:46:37 +0000 (03:46 +0300)]
Added pop3-migration plugin for getting POP3 UIDLs from POP3 server.
The idea is to use this with dsync to migrate mails via imapc, but for
getting POP3 UIDLs via pop3c.
Timo Sirainen [Fri, 30 Mar 2012 00:43:08 +0000 (03:43 +0300)]
pop3c: Allow accessing via INBOX, regardless of what namespace it exists in.
Timo Sirainen [Fri, 30 Mar 2012 00:42:21 +0000 (03:42 +0300)]
layout=fs: Don't crash in iteration if there is no root dir (pop3c).
Timo Sirainen [Fri, 30 Mar 2012 00:07:12 +0000 (03:07 +0300)]
dsync: Fixed handling messages without GUID.
Timo Sirainen [Wed, 28 Mar 2012 22:58:35 +0000 (01:58 +0300)]
fts-solr: Added assert + minor code cleanup
Timo Sirainen [Mon, 26 Mar 2012 21:12:39 +0000 (00:12 +0300)]
*-login: Previous SSL fixes were still broken with service_count=1.
Timo Sirainen [Mon, 26 Mar 2012 17:46:55 +0000 (20:46 +0300)]
lib-settings: Make static analyzer happier.
Timo Sirainen [Mon, 26 Mar 2012 17:39:09 +0000 (20:39 +0300)]
Changes to make static analyzer happier.
Timo Sirainen [Mon, 26 Mar 2012 17:38:18 +0000 (20:38 +0300)]
pgsql: Fixed a potential crash if connection got closed during synchronous query.
Timo Sirainen [Mon, 26 Mar 2012 15:17:52 +0000 (18:17 +0300)]
fts-solr: Indexing mail bodies was broken.
Timo Sirainen [Mon, 26 Mar 2012 14:24:59 +0000 (17:24 +0300)]
director: Avoid crashing if all directors are removed when reconnecting.
There's no way to currently remove directors though, so this couldn't have
actually happened.
Timo Sirainen [Mon, 26 Mar 2012 14:01:21 +0000 (17:01 +0300)]
net_listen(): If bind(ip=any) fails with non-EADDRINUSE, don't crash.
Timo Sirainen [Mon, 26 Mar 2012 13:57:32 +0000 (16:57 +0300)]
stats: When freeing memory, make sure we don't crash if some list gets empty.
Timo Sirainen [Mon, 26 Mar 2012 13:23:18 +0000 (16:23 +0300)]
lib-storage: If trying to copy a message into already deleted mailbox, don't crash.
Timo Sirainen [Mon, 26 Mar 2012 12:34:46 +0000 (15:34 +0300)]
data-stack: Fixed calling t_push()/t_malloc() before data_stack_init().
Timo Sirainen [Sat, 24 Mar 2012 12:21:59 +0000 (14:21 +0200)]
Compiling fix for building without SSL.
Timo Sirainen [Fri, 23 Mar 2012 12:37:22 +0000 (14:37 +0200)]
Compiler warning fixes.
Timo Sirainen [Fri, 23 Mar 2012 11:59:52 +0000 (13:59 +0200)]
Fixed compiling without SSL.
Timo Sirainen [Fri, 23 Mar 2012 11:46:27 +0000 (13:46 +0200)]
mail_temp_scan_interval comment update.
Timo Sirainen [Fri, 23 Mar 2012 11:44:54 +0000 (13:44 +0200)]
Added mail_temp_scan_interval setting and changed its default from 8h -> 1w.
Timo Sirainen [Fri, 23 Mar 2012 11:35:05 +0000 (13:35 +0200)]
unlink_old_files(): Update atime before scan, not after.
If Maildir/dbox scanning takes long this makes sure that a lot of processes
won't be scanning it in parallel.
Timo Sirainen [Fri, 23 Mar 2012 11:24:34 +0000 (13:24 +0200)]
net_getunixcred(): Fixed Solaris to use getpeerucred() properly.
Timo Sirainen [Fri, 23 Mar 2012 10:26:50 +0000 (12:26 +0200)]
lib-mail: message_date_parse() now also accepts '.' separator in hh.mm.ss time.
Timo Sirainen [Thu, 22 Mar 2012 16:28:59 +0000 (18:28 +0200)]
sdbox: Don't log "Rebuilding index" when another process already did it and we cancel it.
Timo Sirainen [Thu, 22 Mar 2012 16:05:08 +0000 (18:05 +0200)]
quota: Added a kludge to avoid recalculating quota.
Timo Sirainen [Thu, 22 Mar 2012 15:44:51 +0000 (17:44 +0200)]
lib-storage: Don't access mail->box->view, but mail->transaction->view.
They may not be the same. In such cases e.g. mail_set_uid() may have
accessed a wrong mail.
Timo Sirainen [Thu, 22 Mar 2012 15:12:35 +0000 (17:12 +0200)]
Increased initial memory pool sizes.
Timo Sirainen [Thu, 22 Mar 2012 15:11:37 +0000 (17:11 +0200)]
mdbox: Fixed a long loop/crash when mdbox is broken during saving.
Timo Sirainen [Thu, 22 Mar 2012 14:03:38 +0000 (16:03 +0200)]
lib-master: Minor memory leak fix on deinit.
Timo Sirainen [Thu, 22 Mar 2012 14:03:29 +0000 (16:03 +0200)]
imap-login: Memory leak fix.
Timo Sirainen [Thu, 22 Mar 2012 14:03:04 +0000 (16:03 +0200)]
*-login: Another crashfix
Timo Sirainen [Thu, 22 Mar 2012 13:32:00 +0000 (15:32 +0200)]
*-login: Fixed crashing when proxying SSL connections to a remote server.
Timo Sirainen [Wed, 21 Mar 2012 17:01:44 +0000 (19:01 +0200)]
config: Added a comment
Timo Sirainen [Wed, 21 Mar 2012 16:58:37 +0000 (18:58 +0200)]
lib-settings: settings_parser_apply_changes() now deduplicates SET_STRLIST arrays.
This fixes overriding strlist keys in config file filters, e.g.:
plugin {
foo = general
}
protocol lda {
plugin {
foo = lda-specific setting
}
}
Timo Sirainen [Wed, 21 Mar 2012 12:25:12 +0000 (14:25 +0200)]
maildir: Avoid duplicate S=size and W=sizes in maildir filenames.
This happens with maildir_copy_with_hardlinks=no and when copying a mail
with zlib compression enabled.
Timo Sirainen [Wed, 21 Mar 2012 11:43:56 +0000 (13:43 +0200)]
auth: Don't check client PID in non-login auth sockets.
This fixes PID conflict errors when using TCP auth sockets for e.g. MTAs.
Timo Sirainen [Wed, 21 Mar 2012 10:08:32 +0000 (12:08 +0200)]
imap: Handle XLIST command by running LIST command.
If the SPECIAL-USE mailboxes are enabled, this results in mostly compatible
output. This change allows easily enabling the GMail XLIST extension simply
by adding +XLIST to imap_capability setting.
Timo Sirainen [Tue, 20 Mar 2012 15:46:44 +0000 (17:46 +0200)]
doveadm import: Copy also message flags.
Timo Sirainen [Mon, 19 Mar 2012 13:53:25 +0000 (15:53 +0200)]
layout=fs: Renaming non-UTF8 mailbox names wasn't done in all situations.
Timo Sirainen [Fri, 16 Mar 2012 16:48:46 +0000 (18:48 +0200)]
Added signature for changeset
b9adfd52cb66
Timo Sirainen [Fri, 16 Mar 2012 16:48:40 +0000 (18:48 +0200)]
Added tag 2.1.3 for changeset
b9adfd52cb66
Timo Sirainen [Fri, 16 Mar 2012 16:48:40 +0000 (18:48 +0200)]
Released v2.1.3.
Timo Sirainen [Fri, 16 Mar 2012 16:45:50 +0000 (18:45 +0200)]
dbox: Reverted recent fstat() avoidance change. It didn't do that, just broke mdbox.
Timo Sirainen [Thu, 15 Mar 2012 16:24:15 +0000 (18:24 +0200)]
Compiler warning fixes.
Timo Sirainen [Thu, 15 Mar 2012 16:24:11 +0000 (18:24 +0200)]
replicator: Fixed off-by-one-second "do we do a full sync now?" check.
Timo Sirainen [Thu, 15 Mar 2012 14:42:22 +0000 (16:42 +0200)]
Added signature for changeset
744e0d7f1b25
Timo Sirainen [Thu, 15 Mar 2012 14:42:18 +0000 (16:42 +0200)]
Added tag 2.1.2 for changeset
744e0d7f1b25
Timo Sirainen [Thu, 15 Mar 2012 14:42:18 +0000 (16:42 +0200)]
Released v2.1.2.
Timo Sirainen [Thu, 15 Mar 2012 14:39:38 +0000 (16:39 +0200)]
example-config: Added auth_proxy_self setting.
Timo Sirainen [Thu, 15 Mar 2012 12:18:55 +0000 (14:18 +0200)]
imap: Use mailbox_exists() to find out if namespace prefix is selectable or not.
mailbox_list_mailbox() should be treated as an internal function, since
ACLs don't apply to it.
Timo Sirainen [Thu, 15 Mar 2012 12:18:13 +0000 (14:18 +0200)]
lib-storage: mailbox_exists() now returns namespace prefix as selectable if it is.
Timo Sirainen [Thu, 15 Mar 2012 11:25:36 +0000 (13:25 +0200)]
layout=maildir++: Don't list INBOX if it doesn't match the list patterns.
Timo Sirainen [Thu, 15 Mar 2012 10:59:41 +0000 (12:59 +0200)]
auth: If global passdb is missing, don't complain if protocol x and !x { passdb } exists.
Timo Sirainen [Wed, 14 Mar 2012 14:24:05 +0000 (16:24 +0200)]
layout=fs: Rename mailbox names that aren't valid UTF-8 to avoid crashes later.
Timo Sirainen [Wed, 14 Mar 2012 13:40:58 +0000 (15:40 +0200)]
mailbox_list_index=yes: Don't add autocreated mailboxes to index before they are created.
Timo Sirainen [Wed, 14 Mar 2012 13:40:35 +0000 (15:40 +0200)]
mailbox_list_index=yes: Don't crash at deinit (fix to previous change)
Timo Sirainen [Wed, 14 Mar 2012 13:34:14 +0000 (15:34 +0200)]
mailbox_list_index=yes: Delay opening/creating the index until it's needed.
This also fixes an error when trying to create the index before the parent
director is created.
Timo Sirainen [Wed, 14 Mar 2012 12:59:24 +0000 (14:59 +0200)]
auth: Make sure auth cache doesn't break if any cache keys have TABs.
Timo Sirainen [Wed, 14 Mar 2012 12:55:25 +0000 (14:55 +0200)]
auth: Fixed auth cache key generation to support %{long} variables
Timo Sirainen [Wed, 14 Mar 2012 11:42:08 +0000 (13:42 +0200)]
liblib: Added var_get_key_range()
Timo Sirainen [Wed, 14 Mar 2012 11:39:00 +0000 (13:39 +0200)]
anvil: s/memcpy/memmove/ for updating checksum list.
This may have caused anvil to update penalties wrong.
Timo Sirainen [Wed, 14 Mar 2012 11:34:43 +0000 (13:34 +0200)]
test-primes: Fixed undefined behavior.
Timo Sirainen [Wed, 14 Mar 2012 11:14:28 +0000 (13:14 +0200)]
doveconf: Dump protocol/local/remote sections even if there was an error earlier.
This allows getting a mostly-working config file rather than a truncated
one.
Timo Sirainen [Tue, 13 Mar 2012 19:19:53 +0000 (21:19 +0200)]
lib-storage: mailbox_list_iter_next() now enforces backends not to return mailbox name from data stack.
Timo Sirainen [Tue, 13 Mar 2012 19:18:32 +0000 (21:18 +0200)]
mailbox_list_index=yes iteration: Don't allocate returned mailbox names from data stack.
This breaks dsync.
Timo Sirainen [Tue, 13 Mar 2012 15:01:56 +0000 (17:01 +0200)]
dbox: Avoid unnecessary fstat() call during file creation.
Timo Sirainen [Tue, 13 Mar 2012 14:32:56 +0000 (16:32 +0200)]
lib-storage: Don't log errors if trying to open a mailbox with too long name.
Handle ENAMETOOLONG errors the same as ENOENT.
Timo Sirainen [Tue, 13 Mar 2012 14:14:13 +0000 (16:14 +0200)]
fts: Another crashfix for recent changes.
Timo Sirainen [Tue, 13 Mar 2012 13:11:13 +0000 (15:11 +0200)]
director: Compiler warning fix
Timo Sirainen [Mon, 12 Mar 2012 15:36:29 +0000 (17:36 +0200)]
stats: When logging about a session crash, log also its service.
Timo Sirainen [Mon, 12 Mar 2012 12:32:23 +0000 (14:32 +0200)]
fts: Crashfix when FTS isn't needed for performing search.
Timo Sirainen [Mon, 12 Mar 2012 11:45:19 +0000 (13:45 +0200)]
fts: Added fts_index_timeout setting to abort search if indexing hasn't finished by then.
This timeout shows up to client as:
tag NO [INUSE] Timeout while waiting for indexing to finish
Timo Sirainen [Mon, 12 Mar 2012 11:17:50 +0000 (13:17 +0200)]
director: Improved request timeout error more.
Timo Sirainen [Mon, 12 Mar 2012 11:15:26 +0000 (13:15 +0200)]
director: If request times out, log more information.
Timo Sirainen [Mon, 12 Mar 2012 10:59:54 +0000 (12:59 +0200)]
Makefile: Delete dovecot-config on distclean
Timo Sirainen [Sun, 11 Mar 2012 12:50:05 +0000 (14:50 +0200)]
Makefile: Fixed header filename.
Timo Sirainen [Sun, 11 Mar 2012 10:42:53 +0000 (12:42 +0200)]
Makefile: Fixed compiling with automake 1.11.2+
Timo Sirainen [Sun, 11 Mar 2012 07:08:08 +0000 (09:08 +0200)]
checkpassword: Compiling fix for some systems
Timo Sirainen [Sat, 10 Mar 2012 16:32:34 +0000 (18:32 +0200)]
mbox: Fixed accessing v1.x mbox index files without errors.
Timo Sirainen [Sat, 10 Mar 2012 13:53:39 +0000 (15:53 +0200)]
stats: Fixes to handling per-command stats updates.
Timo Sirainen [Sat, 10 Mar 2012 13:44:27 +0000 (15:44 +0200)]
lib-storage: Update search's cost more widely and less often.
Timo Sirainen [Sat, 10 Mar 2012 13:07:23 +0000 (15:07 +0200)]
doveadm config: Don't fail on invalid config (e.g. plugin not found)
This command is often used in init scripts and such to stop/restart Dovecot.
Timo Sirainen [Sat, 10 Mar 2012 13:03:11 +0000 (15:03 +0200)]
stats: UPDATE-CMD for an existing command wasn't handled properly.
The command's stats themselves weren't updated. Also due to recent change
updating session's stats from a command no longer works properly, because
the session could also be updated in the middle of the command.
Timo Sirainen [Sat, 10 Mar 2012 12:28:48 +0000 (14:28 +0200)]
checkpassword: Set CREDENTIALS_LOOKUP=1 for passdb lookups
Timo Sirainen [Sat, 10 Mar 2012 12:17:37 +0000 (14:17 +0200)]
checkpassword: Implemented support for credentials lookup.
Timo Sirainen [Sat, 10 Mar 2012 12:11:32 +0000 (14:11 +0200)]
checkpassword: Escape transferred extra fields properly.
Timo Sirainen [Sat, 10 Mar 2012 11:49:12 +0000 (13:49 +0200)]
checkpassword: Error handling fix
Timo Sirainen [Sat, 10 Mar 2012 11:47:16 +0000 (13:47 +0200)]
checkpassword: If username+password is too large, treat it as regular auth failure.
Timo Sirainen [Sat, 10 Mar 2012 11:37:39 +0000 (13:37 +0200)]
auth: checkpassword code cleanup. Also fixed some error handling.
Removes a lot of copy&pasted code between passdb and userdb.
Timo Sirainen [Thu, 8 Mar 2012 14:03:45 +0000 (16:03 +0200)]
director: Avoid user getting redirected to different servers near its expiration.
Fixes a problem when user is logging in at the same time on director1 which
thinks the user is expired, and on director2 which thinks the user expires
only in 1 second.
Timo Sirainen [Thu, 8 Mar 2012 08:48:08 +0000 (10:48 +0200)]
lib-master: Fixed passing request data from login process.
Timo Sirainen [Thu, 8 Mar 2012 08:39:58 +0000 (10:39 +0200)]
imap: Crashfix when running standalone.
Timo Sirainen [Thu, 8 Mar 2012 08:21:09 +0000 (10:21 +0200)]
Makefile: s/MKDIR_P/mkdir_p/ to make it actually work
Timo Sirainen [Wed, 7 Mar 2012 18:16:33 +0000 (20:16 +0200)]
director: Keep track of the highest supported protocol version in the ring.