]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 22 Feb 2011 13:00:37 +0000 (15:00 +0200)]
lib-settings: Fixed setting "strlist/key=value" when strlist hadn't been initialized yet.
This happened when using -O parameter.
Timo Sirainen [Tue, 22 Feb 2011 11:57:20 +0000 (13:57 +0200)]
lib-lda: Added submission_host setting to send mails via SMTP instead of sendmail.
Timo Sirainen [Tue, 22 Feb 2011 09:59:57 +0000 (11:59 +0200)]
imap: Fixed infinite loop / memory eating with SEARCHRES + pipelining $.
If SEARCH RETURN (SAVE) command was running long enough so that Dovecot
started executing the next command, and if that command used $ in
messageset, Dovecot went into infinite function recursion.
Mike Kazantsev (sacrilege) [Tue, 22 Feb 2011 09:14:31 +0000 (11:14 +0200)]
systemd service: added [Install] section, so it can be used independently from dovecot.socket
Timo Sirainen [Tue, 22 Feb 2011 09:04:55 +0000 (11:04 +0200)]
doveadm expire: Added more error and debug messages.
Timo Sirainen [Tue, 22 Feb 2011 08:43:28 +0000 (10:43 +0200)]
doveadm import: Settings weren't correctly used for the import storage.
For example plugins weren't loaded, causing problems with zlib compressed
messages.
Timo Sirainen [Tue, 22 Feb 2011 08:21:26 +0000 (10:21 +0200)]
lib-index: Verify that expunge-guid records have valid UID.
Timo Sirainen [Fri, 18 Feb 2011 03:56:38 +0000 (05:56 +0200)]
Compiler warning fix.
Timo Sirainen [Fri, 18 Feb 2011 03:55:34 +0000 (05:55 +0200)]
Added uni_utf8_data_is_valid().
Pascal Volk [Thu, 17 Feb 2011 15:30:46 +0000 (15:30 +0000)]
man: Storage quota values are reported in kilobytes.
Timo Sirainen [Thu, 17 Feb 2011 08:57:05 +0000 (10:57 +0200)]
dsync: Flush workers' output earlier when saving messages.
Timo Sirainen [Thu, 17 Feb 2011 08:55:38 +0000 (10:55 +0200)]
dsync: Error handling fix to "proxy client timed out".
Timo Sirainen [Thu, 17 Feb 2011 08:55:07 +0000 (10:55 +0200)]
dsync: Fixed somewhat random failures with saving messages to remote dsync.
Timo Sirainen [Thu, 17 Feb 2011 07:54:26 +0000 (09:54 +0200)]
dbox index rebuild: If alt dir isn't mounted (can't be mkdir()ed), abort rebuild.
Timo Sirainen [Thu, 17 Feb 2011 07:32:35 +0000 (09:32 +0200)]
dbox: Check that attachment extref parts won't point outside message.
Timo Sirainen [Thu, 17 Feb 2011 07:28:55 +0000 (09:28 +0200)]
istream-limit: Allow seeking past limit without assert-crashing.
The next read() will simply return EOF.
Timo Sirainen [Thu, 17 Feb 2011 07:01:38 +0000 (09:01 +0200)]
example-config: mail_max_userip_connections default is 10, even for pop3.
3 would probably be better, but there's no way to set per-protocol defaults
currently.
Timo Sirainen [Thu, 17 Feb 2011 06:58:43 +0000 (08:58 +0200)]
pgsql: Added assert.
Timo Sirainen [Thu, 17 Feb 2011 06:41:46 +0000 (08:41 +0200)]
pgsql: Don't assert-crash on "query timed out" error.
Timo Sirainen [Thu, 17 Feb 2011 06:29:47 +0000 (08:29 +0200)]
lib-storage: Fixed renaming mailboxes in a non-private namespace.
Timo Sirainen [Thu, 17 Feb 2011 06:12:21 +0000 (08:12 +0200)]
lmtp: Don't forget LHLO host when sending multiple messages in session.
Timo Sirainen [Fri, 11 Feb 2011 21:44:39 +0000 (23:44 +0200)]
auth: If username contains invalid chars, log sanitized username even without auth_debug.
Timo Sirainen [Fri, 11 Feb 2011 21:35:52 +0000 (23:35 +0200)]
doveadm: Previous mailbox create -s fix broke -A/-u parameters.
Fixed now properly the root cause: -S parameter was handled as -s by getopt.
Dennis Schridde [Thu, 10 Feb 2011 13:58:43 +0000 (14:58 +0100)]
Put modulename in quotes when complaining about its non-existence
Timo Sirainen [Thu, 10 Feb 2011 01:03:28 +0000 (03:03 +0200)]
master: Change stderr to /dev/null just before forking.
Timo Sirainen [Thu, 10 Feb 2011 00:51:22 +0000 (02:51 +0200)]
istream-header-filter: Fixes handling HEADER_FILTER_END_BODY_WITH_LF correctly.
Timo Sirainen [Thu, 10 Feb 2011 00:21:03 +0000 (02:21 +0200)]
Maildir++: Fixed crash when listing subscriptions for a subscriptions=no namespace from LAYOUT=fs namespace.
Timo Sirainen [Wed, 9 Feb 2011 23:54:26 +0000 (01:54 +0200)]
Added import_environment setting.
This also cleans up different places in code where TZ and other environments
are preserved. If it's not in the import_environment setting, it's not
preserved.
Timo Sirainen [Wed, 9 Feb 2011 22:45:51 +0000 (00:45 +0200)]
doveadm: Fixed giving parameters to mail commands.
Timo Sirainen [Tue, 8 Feb 2011 01:31:46 +0000 (03:31 +0200)]
lib-master: If post-login socket disconnects unexpectedly, suggest process_limit being the reason.
Timo Sirainen [Tue, 8 Feb 2011 01:31:01 +0000 (03:31 +0200)]
master: If process limit is reached, just accept and close the client connection.
This makes it a bit clearer what the problem is, so that client can log a
better error message.
Timo Sirainen [Mon, 7 Feb 2011 20:37:45 +0000 (22:37 +0200)]
lib-storage: Give restrict_access() uid/gid source (userdb or mail_u/gid setting).
Timo Sirainen [Mon, 7 Feb 2011 20:37:19 +0000 (22:37 +0200)]
restrict_access(): Show uid/gid source in setuid()/setgid() failure messages if given.
Timo Sirainen [Fri, 4 Feb 2011 17:48:29 +0000 (19:48 +0200)]
lmtp: Fixed handling recipient_delimiter when it was found from domain name.
Timo Sirainen [Wed, 2 Feb 2011 21:58:32 +0000 (23:58 +0200)]
imap: Fixed a hang when trying to COPY to a nonexistent mailbox.
Timo Sirainen [Sun, 30 Jan 2011 22:27:53 +0000 (00:27 +0200)]
lib-sql: Implemented sql_result_get_field_value_binary() for MySQL.
Timo Sirainen [Sun, 30 Jan 2011 21:57:14 +0000 (23:57 +0200)]
dovecot-config, dovecot.m4: Export SQL_LIBS as DOVECOT_SQL_LIBS
Timo Sirainen [Sun, 30 Jan 2011 21:56:23 +0000 (23:56 +0200)]
lib-sql: Install libdovecot-sql.so as well.
Timo Sirainen [Sun, 30 Jan 2011 21:16:46 +0000 (23:16 +0200)]
lib-storage: layout=noop now shows INBOX as existing if namespace has inbox=yes.
It also shows INBOX as always being subscribed.
Timo Sirainen [Sun, 30 Jan 2011 15:51:17 +0000 (17:51 +0200)]
script: Root permissions weren't being dropped before executing the script.
Timo Sirainen [Wed, 26 Jan 2011 19:47:52 +0000 (21:47 +0200)]
ioloop: Use -1 for infinite poll/epoll timeout rather than INT_MAX.
Should improve performance a tiny bit and also works around a CPU eater bug
in Linux 2.6.37.
Timo Sirainen [Mon, 24 Jan 2011 22:32:50 +0000 (00:32 +0200)]
lib-storage: Give a better error message if mail_location has INBOX but no mail root dir.
Timo Sirainen [Mon, 24 Jan 2011 22:10:46 +0000 (00:10 +0200)]
dotlocks: When locking using hard links, make sure the dotlock's timestamp is new enough.
Timo Sirainen [Sun, 23 Jan 2011 22:31:05 +0000 (00:31 +0200)]
dbox: mailbox_create/update() might not have updated index header correctly.
Timo Sirainen [Fri, 21 Jan 2011 19:46:24 +0000 (21:46 +0200)]
IDLE: Don't assert-crash if IDLE+DONE is sent in same TCP packet.
Timo Sirainen [Fri, 21 Jan 2011 17:16:34 +0000 (19:16 +0200)]
Added doveadm zlibconnect command for testing IMAP COMPRESS.
Timo Sirainen [Fri, 21 Jan 2011 17:15:37 +0000 (19:15 +0200)]
zlib: Make sure output stream flushes the stream automatically when not corked.
Fixes hangs with IMAP COMPRESS extension.
Timo Sirainen [Thu, 20 Jan 2011 21:16:23 +0000 (23:16 +0200)]
dotlocks: Refresh current time after having waited for a lock.
Timo Sirainen [Thu, 20 Jan 2011 21:09:44 +0000 (23:09 +0200)]
lib-storage: Fixed handling chroot/home for services that don't really chroot (lmtp).
Pascal Volk [Wed, 19 Jan 2011 20:06:39 +0000 (20:06 +0000)]
lmtp: Write "+ext" part to Delivered-To: header.
(reverted changeset
19231e3585db )
Timo Sirainen [Tue, 18 Jan 2011 22:25:47 +0000 (00:25 +0200)]
auth: Logging improvement for nopassword=y.
Timo Sirainen [Mon, 17 Jan 2011 19:25:01 +0000 (21:25 +0200)]
lib-index: Avoid corrupting dovecot.index file when recreating it even in case of broken file locking.
Christian Wiese [Sun, 16 Jan 2011 19:47:15 +0000 (21:47 +0200)]
auth: Fixed mech_winbind_ntlm by using mech_winbind_auth_initial()
In changeset 9002 a new function named mech_winbind_auth_initial() was
introduced, but only the mech_winbind_spnego module part was changed to finally
use this function.
The mech_winbind_ntlm module part was not properly adapted which leads to a non
functioning NTLM authentication mechanism while using winbind, because it will
never call the `ntlm_auth` helper.
The simple fix is to replace mech_generic_auth_initial() with
mech_winbind_auth_initial() as auth_initial "hook" when setting up the
mech_winbind_ntlm module, like it is done in the mech_winbind_spnego module.
References:
- Changeset 9002: http://hg.dovecot.org/dovecot-2.0/diff/
9d0037a997f4 /src/auth/mech-winbind.c
---
src/auth/mech-winbind.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Timo Sirainen [Sun, 16 Jan 2011 19:26:13 +0000 (21:26 +0200)]
man: Updated dsync.1's -o parameter description.
Timo Sirainen [Sun, 16 Jan 2011 19:25:34 +0000 (21:25 +0200)]
man: Added -o parameter to dovecot-lda.1
Timo Sirainen [Sun, 16 Jan 2011 19:15:10 +0000 (21:15 +0200)]
mkdir_*chown/chgrp(): If chown() fails, rmdir() the directory.
Timo Sirainen [Sun, 16 Jan 2011 16:53:27 +0000 (18:53 +0200)]
dsync: Fixed crash when mailbox had zero cache_fields but its array was initialized.
Timo Sirainen [Thu, 13 Jan 2011 11:18:20 +0000 (13:18 +0200)]
Added signature for changeset
440fcf8cb338
Timo Sirainen [Thu, 13 Jan 2011 11:18:17 +0000 (13:18 +0200)]
Added tag 2.0.9 for changeset
440fcf8cb338
Timo Sirainen [Thu, 13 Jan 2011 11:18:17 +0000 (13:18 +0200)]
Released v2.0.9.
Timo Sirainen [Sun, 9 Jan 2011 21:39:00 +0000 (23:39 +0200)]
i_stream_read(): Added extra assert.
Timo Sirainen [Sun, 9 Jan 2011 21:38:49 +0000 (23:38 +0200)]
istream-seekable: Minor code cleanup.
Timo Sirainen [Sun, 9 Jan 2011 20:01:36 +0000 (22:01 +0200)]
auth: Don't give an error if doing a passdb lookup and the result has NULL password.
Timo Sirainen [Sun, 9 Jan 2011 19:37:24 +0000 (21:37 +0200)]
pgsql: When executing synchronous queries, don't wrongly add a connect timeout.
Timo Sirainen [Sun, 9 Jan 2011 19:13:31 +0000 (21:13 +0200)]
cydir: Minor code fix.
Timo Sirainen [Sat, 8 Jan 2011 19:03:15 +0000 (21:03 +0200)]
istream-seekable: Minor code cleanup.
Timo Sirainen [Wed, 5 Jan 2011 18:21:38 +0000 (20:21 +0200)]
dsync: Don't crash if message can't be saved to destination mailbox.
Timo Sirainen [Wed, 5 Jan 2011 16:47:40 +0000 (18:47 +0200)]
mdbox: Don't leave partially written messages to mdbox files.
Timo Sirainen [Wed, 5 Jan 2011 16:11:04 +0000 (18:11 +0200)]
dsync: Fixed iterating through mailboxes when using proxy.
This fixes "Unexpected reply from server: +" errors.
Timo Sirainen [Tue, 4 Jan 2011 11:57:33 +0000 (13:57 +0200)]
config: Give clear error that auth settings aren't supported inside local/remote blocks.
Timo Sirainen [Tue, 4 Jan 2011 11:53:17 +0000 (13:53 +0200)]
login: ssl_require_client_cert and ssl_username_from_cert settings should have had auth_ prefix.
The actual functionality was provided by the auth_* settings, but with these
duplicated settings login process didn't give as good error messages.
Timo Sirainen [Tue, 4 Jan 2011 11:22:20 +0000 (13:22 +0200)]
auth: Minor code cleanup, use PASSWORD_HIDDEN_STR macro.
Timo Sirainen [Tue, 4 Jan 2011 11:17:57 +0000 (13:17 +0200)]
maildir: Fixed renaming child mailboxes when using a namespace prefix.
Timo Sirainen [Tue, 4 Jan 2011 10:34:48 +0000 (12:34 +0200)]
maildir: Getting mailbox GUID unnecessarily rewrote the uidlist.
Timo Sirainen [Tue, 4 Jan 2011 10:14:02 +0000 (12:14 +0200)]
IDLE was listed twice in capabilities.
Timo Sirainen [Tue, 4 Jan 2011 10:04:42 +0000 (12:04 +0200)]
dsync: Saved messages' save-date was set to 1970-01-01.
Timo Sirainen [Tue, 4 Jan 2011 09:55:36 +0000 (11:55 +0200)]
virtual: Fixed saving multiple mails in a transaction (e.g. copy multiple messages).
Timo Sirainen [Tue, 4 Jan 2011 09:44:07 +0000 (11:44 +0200)]
lib-sql: Include Dovecot version number check when loading SQL plugins.
Timo Sirainen [Mon, 3 Jan 2011 17:06:49 +0000 (19:06 +0200)]
lib-lda: Simplified mail_deliver_deduplicate_guid_if_needed() API.
Timo Sirainen [Mon, 3 Jan 2011 17:06:02 +0000 (19:06 +0200)]
lib-storage: Added mailbox_save_get_transaction().
Timo Sirainen [Mon, 3 Jan 2011 16:59:07 +0000 (18:59 +0200)]
lmtp: If delivering duplicate messages to same user's INBOX, use different GUIDs.
This is to avoid POP3 clients getting confused with duplicate UIDLs, when
using GUIDs as UIDLs.
Timo Sirainen [Mon, 3 Jan 2011 16:57:05 +0000 (18:57 +0200)]
dbox: If mail GUID is changed for copied mail, create a new copy of it so it changes.
Timo Sirainen [Sat, 1 Jan 2011 12:34:14 +0000 (14:34 +0200)]
lib-storage: Added warning comments about mail_get_*header*utf8().
Timo Sirainen [Sat, 1 Jan 2011 11:27:16 +0000 (13:27 +0200)]
lib-storage: Don't double-demimefy headers when DISPLAYFROM/DISPLAYTO sorting.
Timo Sirainen [Thu, 30 Dec 2010 11:45:11 +0000 (13:45 +0200)]
lib-storage: Fixed deleting symlinked mailbox.
Timo Sirainen [Thu, 30 Dec 2010 11:41:10 +0000 (13:41 +0200)]
unlink_directory(): Return ELOOP for unexpected symlinks also when O_NOFOLLOW isn't supported.
Timo Sirainen [Thu, 30 Dec 2010 10:45:52 +0000 (12:45 +0200)]
doveadm quota: Don't crash if quota isn't enabled.
Timo Sirainen [Thu, 30 Dec 2010 10:40:50 +0000 (12:40 +0200)]
doveadm: Fixed mailbox-guid search key to work with shared/public mailboxes.
Timo Sirainen [Thu, 30 Dec 2010 10:04:30 +0000 (12:04 +0200)]
vpopmail: "Service disabled" check wasn't being done correctly.
Timo Sirainen [Thu, 30 Dec 2010 09:51:59 +0000 (11:51 +0200)]
doveadm user: If user isn't found, exit with status 2.
Timo Sirainen [Fri, 17 Dec 2010 13:23:07 +0000 (13:23 +0000)]
lda: Removed optimization of not creating temp files for large mails when not using Sieve.
The backwards seeking was still needed if bouncing the mail because of
out of quota.
Timo Sirainen [Fri, 17 Dec 2010 13:16:01 +0000 (13:16 +0000)]
snarf: Make sure destination mailbox is open when syncing it.
Timo Sirainen [Wed, 15 Dec 2010 17:07:01 +0000 (17:07 +0000)]
master-child API change: Use a separate fd for tracking when master dies.
This works around a Linux performance problem where when one process writes
to status fd all the other processes of the same service type wake up.
Timo Sirainen [Mon, 13 Dec 2010 13:40:27 +0000 (13:40 +0000)]
net_listen(): If IPv6 isn't supported, don't fallback to IPv4 if my_ip is given.
Timo Sirainen [Mon, 13 Dec 2010 13:27:18 +0000 (13:27 +0000)]
quota: Quota warnings could have been executed at incorrect times with some configs.
If target mailbox had quota ignored, the warning was sent if the mail would
have otherwise exceeded the warning threshold. Same when using multiple
quota roots where all of the roots weren't used for the target mailbox.
Timo Sirainen [Thu, 9 Dec 2010 20:49:53 +0000 (20:49 +0000)]
imap: Fixed a memory leak in ESEARCH
Timo Sirainen [Thu, 9 Dec 2010 11:16:24 +0000 (11:16 +0000)]
lib-storage: Added assert check to make sure we never do timeout_add(0)
Timo Sirainen [Wed, 8 Dec 2010 23:17:11 +0000 (23:17 +0000)]
acl: Crashfix at deinit in some configurations.
Timo Sirainen [Tue, 7 Dec 2010 02:00:45 +0000 (02:00 +0000)]
auth: Master user login + prefetch userdb changed username to master user.
Timo Sirainen [Tue, 7 Dec 2010 01:50:43 +0000 (01:50 +0000)]
auth: Checkpassword's output fields are now logged with auth_debug=yes