# HG changeset patch # User Timo Sirainen # Date 1203628360 -7200 # Node ID 958e377fc1dcdc88be2f8cfaba68fc5ad4c15dc6 # Parent 346d4a44c2f418d27930c0cb6603a2112a9c628a Released v1.1.rc1. diff -r 346d4a44c2f4 -r 958e377fc1dc NEWS --- a/NEWS Thu Feb 21 22:52:38 2008 +0200 +++ b/NEWS Thu Feb 21 23:12:40 2008 +0200 @@ -1,4 +1,4 @@ -v1.1.UNSTABLE +v1.1.rc1 2008-02-21 Timo Sirainen * After Dovecot v1.1 has modified index or dovecot-uidlist files, they can't be opened anymore with Dovecot versions earlier than @@ -39,6 +39,174 @@ case-insensitively. We use i;unicode-casemap algorithm. + Config files support splitting values to multiple lines with \ +v1.0.10 2007-12-29 Timo Sirainen + + * Security hole with LDAP+auth cache: If base setting contained + %variables they weren't included in auth cache key, which broke + caching. This could have caused different users with same passwords + to log in as each other. + + - LDAP: Fixed potential infinite looping when connection to LDAP + server was lost and there were queued requests. + - mbox: More changes to fix problems caused by v1.0.8 and v1.0.9. + - Maildir: Fixed a UIDLIST_IS_LOCKED() assert-crash in some conditions + (caused by changes in v1.0.9) + - If protocols=none, don't require imap executables to exist + +v1.0.9 2007-12-11 Timo Sirainen + + + Maildir: Don't wait on dovecot-uidlist.lock when we just want to + find out a new filename for the message. + - mbox: v1.0.8 changes sometimes caused FETCH to fail with + "got too little data", disconnecting the client. + - Fixed a memory leak when FETCHing message header/body multiple + times within a command (e.g. BODY[1] BODY[2]) + - IMAP: Partial body fetching was still slow with mboxes + +v1.0.8 2007-11-28 Timo Sirainen + + + Authentication: Added "password_noscheme" field that can be used + instead of "password". "password" treats "{prefix}" as a password + scheme while "password_noscheme" treats it as part of the password + itself. So "password_noscheme" should be used if you're storing + passwords as plaintext. Non-plaintext passwords never begin + with "{", so this isn't a problem with them. + - IMAP: Partial body fetching was sometimes non-optimal, causing + the entire message to be read for every FETCH command. + - deliver failed to save the message when envelope sender address + contained spaces. + - Maildir++ quota: We could have randomly recalculated quota when + it wasn't necessary. + - Login process could have crashed after logging in if client sent + data before "OK Logged in" reply was sent (i.e. before master had + replied that login succeeded). + - Don't assert-crash when reading dovecot.index.logs generated by + Dovecot v1.1. + - Authentication: Don't assert-crash if password beings with "{" but + doesn't contain "}". + - Authentication cache didn't work when using settings that changed + the username (e.g. auth_username_format). + +v1.0.7 2007-10-29 Timo Sirainen + + - deliver: v1.0.6's "From " line ignoring could have written to a + bad location in stack, possibly causing problems. + +v1.0.6 2007-10-28 Timo Sirainen + + * IDLE: Interval between mailbox change notifies is now 1 second, + because some clients keep a long-running IDLE connection and use + other connections to actually read the mails. + * SORT: If Date: header is missing or broken, fallback to using + INTERNALDATE (as the SORT draft nowadays specifies). + + + deliver: If message begins with a "From " line, ignore it. + + zlib plugin: If maildir file has a "Z" flag, open it with zlib. + - CREATE: Don't assert-crash if trying to create namespace prefix. + - SEARCH: Fixes to handling NOT operator with sequence ranges. + - LDAP reconnection fixes + - Maildir: Don't break when renaming mailboxes with '*' or '%' + characters and children. + - mbox: Fixed "file size unexpectedly shrinked" error in some + conditions. + - quota+mbox: Don't fail if trying to delete a directory. + - Fixes to running from inetd + +v1.0.5 2007-09-09 Timo Sirainen + + - deliver: v1.0.4 broke home directory handling + - maildir: Creating mailboxes didn't use dovecot-shared's group for + cur/new/tmp directories. + +v1.0.4 2007-09-08 Timo Sirainen + + * Assume a MIME message if Content-Type: header exists, even if + Mime-Version: header doesn't. + + - IMAP: CREATE ns_prefix/box/ didn't work right when namespace prefix + existed. + - deliver: plugin {} settings were overriding settings from userdb. + - mbox: Expunging the first message might not have worked always + - PostgreSQL: If we can't connect to server, timeout queries after + a while instead of trying forever. + - Solaris: sendfile() support was broken and could have caused + 100% CPU usage and the connection hanging. + +v1.0.3 2007-08-01 Timo Sirainen + + - deliver: v1.0.2's bounce fix caused message to be always saved to + INBOX even if Sieve script had discard, reject or redirect commands. + - LDAP: auth_bind=yes and empty auth_bind_userdn leaked memory + - ACL plugin: If user was given i (insert) right for a mailbox, but + not all s/t/w (seen, deleted, other flags) rights, COPY and APPEND + commands weren't supposed to allow saving those flags. This is + technically a security fix, but it's unlikely this caused problems + for anyone. + - ACL plugin: i (insert) right didn't work unless user was also given + l (lookup) right. + - Solaris: Fixed filesystem quota for autofs mounts. + +v1.0.2 2007-07-15 Timo Sirainen + + * dbox isn't built anymore by default. It will be redesigned so it + shouldn't be used. + + + Maildir: Support reading dovecot-uidlist (v3) files created by + Dovecot v1.1. + - Maildir: "UIDVALIDITY changed" errors could happen with newly + created mailboxes + - If "INBOX." namespace was used, LIST returned it with \HasNoChildren + which caused some clients not to show any other mailboxes. + - Maildir++ quota: If multiple processes were updating maildirsize + at the same time, we failed with "Unknown error". + - IMAP: IDLE didn't actually disconnect client after 30 minutes of + inactivity. + - LDAP passdb/userdb was leaking memory + - deliver: %variables in plugin {} weren't expanded + - deliver: Don't bounce the mail if Sieve plugin returns failure + +v1.0.1 2007-06-15 Timo Sirainen + + * deliver: If Return-Path doesn't contain user and domain, don't try + to bounce the mail (this is how it was supposed to work earlier too) + * deliver: %variables in mail setting coming from userdb aren't + expanded anymore (again how it should have worked). The expansion + could have caused problems if paths contained any '%' characters. + + + Print Dovecot version number with dovecot -n and -a + + deliver: Added -e parameter to write rejection error to stderr and + exit with EX_NOPERM instead of sending the rejection by executing + sendmail. + + dovecot --log-error logs now a warning, an error and a fatal + - Trying to start Dovecot while it's already running doesn't anymore + wipe out login_dir and break the running Dovecot. + - maildir: Fixed "UID larger than next_uid" errors which happened + sometimes when dovecot-uidlist file didn't exist but index files did + (usually because mailbox didn't have any messages when it was + selected for the first time) + - maildir: We violated maildir spec a bit by not having keyword + characters sorted in the filename. + - maildir: If we don't have write access to cur/ directory, treat the + mailbox as read-only. This fixes some internal error problems with + trying to use read-only maildirs. + - maildir: Deleting a symlinked maildir failed with internal error. + - mbox: pop3_uidl_format=%m wasn't working right + - mbox: If non-filesystem quota was enabled, we could have failed + with "Unexpectedly lost From-line" errors while saving new messages + - mysql auth: %c didn't work. Patch by Andrey Panin + - APPEND / SEARCH: If internaldate was outside valid value for time_t, + we returned BAD error for APPEND and SEARCH never matched. With 64bit + systems this shouldn't have happened. With 32bit systems the valid + range is usually for years 1902..2037. + - COPY: We sent "Hang in there.." too early sometimes and checked it + too often (didn't break anything, but was slower than needed). + - deliver: Postfix's sendmail binary wasn't working with mail_debug=yes + - Don't corrupt ssl-parameters.dat files when running multiple Dovecot + instances. + - Cache compression caused dovecot.index.cache to be completely deleted + with big endian CPUs if 64bit file offsets were used (default) + - Fixed "(index_mail_parse_header): assertion failed" crash + v1.0.0 2007-04-13 Timo Sirainen + Documentation updated. diff -r 346d4a44c2f4 -r 958e377fc1dc TODO --- a/TODO Thu Feb 21 22:52:38 2008 +0200 +++ b/TODO Thu Feb 21 23:12:40 2008 +0200 @@ -1,6 +1,5 @@ - do something about From_-lines splitting mails with mboxes - dbox doesn't fsync? - - maildir save: should we fsync new/cur dir after rename()s? - seq_range_array_add_range() optimization - lucene: handle replacement chars? - squat: diff -r 346d4a44c2f4 -r 958e377fc1dc configure.in --- a/configure.in Thu Feb 21 22:52:38 2008 +0200 +++ b/configure.in Thu Feb 21 23:12:40 2008 +0200 @@ -1,5 +1,5 @@ AC_PREREQ([2.59]) -AC_INIT([dovecot],[1.1.beta16],[dovecot@dovecot.org]) +AC_INIT([dovecot],[1.1.rc1],[dovecot@dovecot.org]) AC_CONFIG_SRCDIR([src]) AM_INIT_AUTOMAKE