]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Mon, 2 Jun 2008 18:00:49 +0000 (21:00 +0300)]
dbox: Forgot to add pop3.uidl cache variables in previous commit.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:23:28 +0000 (20:23 +0300)]
Link test-imap with libcharset.a as well (required by some linkers)
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:18:11 +0000 (20:18 +0300)]
dbox sync rebuilding: Don't leave all maildir file fds open until the end of
sync. It can cause too many open files.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:01:42 +0000 (20:01 +0300)]
dbox: Use POP3 UIDLs from metadata if they exist.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 17:00:45 +0000 (20:00 +0300)]
dbox: When converting maildir-format file to native dbox format, be sure to
set received/save dates in metadata. Try to write virtual size as well if it
exists in the maildir filename.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 16:18:54 +0000 (19:18 +0300)]
deliver: Added -c parameter to provide path to delivered mail. This allows
maildir to save it using hard links.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 16:17:31 +0000 (19:17 +0300)]
maildir copy: Try to use hard linking also between different namespaces.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 15:57:13 +0000 (18:57 +0300)]
dbox: Fixed opening a maildir-converted file.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 15:51:02 +0000 (18:51 +0300)]
dbox: Crashfix when using old maildir files.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 15:25:15 +0000 (18:25 +0300)]
dbox: If converted maildir filenames don't contain ,W=<vsize>, don't return
broken values.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 13:23:50 +0000 (16:23 +0300)]
maildir -> dbox conversion: Create the destination mailbox so the conversion
won't fail with rename() error.
--HG--
branch : HEAD
Timo Sirainen [Mon, 2 Jun 2008 13:19:54 +0000 (16:19 +0300)]
dbox: Support creating non-selectable mailboxes ("directories").
--HG--
branch : HEAD
Timo Sirainen [Sat, 31 May 2008 11:27:27 +0000 (14:27 +0300)]
Rewrite X-IMAPbase: header before updating index file header, so that we
write the latest mtime as sync_stamp.
--HG--
branch : HEAD
Timo Sirainen [Sat, 31 May 2008 10:59:46 +0000 (13:59 +0300)]
Don't try to call a cancelled command if it hasn't started running. Cancel
the input-waiting command last. These should fix "Trying to close mailbox
with open transactions" assert when client disconnects.
--HG--
branch : HEAD
Timo Sirainen [Sat, 31 May 2008 10:47:11 +0000 (13:47 +0300)]
MAIL_FETCH_UIDL_BACKEND crashed with non-maildir backends. Changed the API a
bit and fixed/cleaned/optimized POP3 UIDL listing a bit.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 19:55:46 +0000 (22:55 +0300)]
Added tag 1.1.rc7 for changeset
290bd8b0c2d7
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 19:55:36 +0000 (22:55 +0300)]
Released v1.1.rc7.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 19:54:34 +0000 (22:54 +0300)]
Link test-imap with libmail.a as well (required by some linkers)
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 09:00:29 +0000 (12:00 +0300)]
Previous fix broke CMP_ST_CTIME() nsec checks.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 08:58:56 +0000 (11:58 +0300)]
Fixed compiling in BSD systems.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 00:15:22 +0000 (03:15 +0300)]
Added tag 1.1.rc6 for changeset
79857a116d28
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2008 00:15:07 +0000 (03:15 +0300)]
Released v1.1.rc6.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 23:54:06 +0000 (02:54 +0300)]
When saving new messages, make sure we parse the "Date" header so we can
add "date.sent" to cache file even if "hdr.Date" isn't added.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 23:09:20 +0000 (02:09 +0300)]
Fixes to handling races in initial index creation.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 16:11:32 +0000 (19:11 +0300)]
SEARCH/SORT/THREAD: If search parameters are missing, return a clear error
message.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 16:08:05 +0000 (19:08 +0300)]
If SORT/THREAD has invalid search parameters, return BAD instead of NO.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 15:57:56 +0000 (18:57 +0300)]
Maildir: If POP3 UIDL extra field is found from dovecot-uidlist, it's used
instead of the default UIDL format (or X-UIDL: header).
Patch by Nicholas Von Hollen @ Mailtrust.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 15:49:55 +0000 (18:49 +0300)]
Sort index optimization: Don't write changes to sort IDs if we're doing it
only to give sort ID space to expunged messages.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 15:47:46 +0000 (18:47 +0300)]
Sort index: Fix to renumbering sort IDs.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 13:29:35 +0000 (16:29 +0300)]
Sort index: Handle reset_id growing while adding non-wanted messages to sort
list.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 04:05:18 +0000 (07:05 +0300)]
Fixes to sort indexing.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 03:17:24 +0000 (06:17 +0300)]
logview: Show ext reset.preserve_data.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 03:16:06 +0000 (06:16 +0300)]
Message sort index handling rewrite to fix several race conditions when
multiple processes are sorting at the same time. Also fixes sorting to work
correctly with 64bit timestamps and file sizes.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2008 01:47:53 +0000 (04:47 +0300)]
Added mail_index_ext_reset_inc() to atomically increase extension's
reset_id. Added clear_data parameter to mail_index_ext_reset*().
--HG--
branch : HEAD
Timo Sirainen [Wed, 28 May 2008 16:03:42 +0000 (19:03 +0300)]
Print raw backtrace when dying with out-of-memory (with all log backends).
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 23:09:47 +0000 (02:09 +0300)]
Avoid using shadow variables. Unfortunately -Wshadow also complains about
index variable conflicting with index(), which is used in way too many
places to change.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 21:16:12 +0000 (00:16 +0300)]
mbox: Be sure to flush output when writing to non-seekable "mboxes" (pipes).
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 21:12:01 +0000 (00:12 +0300)]
mbox: When saving messages buffer the output until it's full, so if we die
at the beginning we don't just leave a single From_-line.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 15:50:58 +0000 (18:50 +0300)]
Minor cleanup to previous commit.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 15:49:35 +0000 (18:49 +0300)]
If dovecot-uidlist contains a filename with '/', log an error and recreate
the uidlist instead of assert-crashing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 15:47:24 +0000 (18:47 +0300)]
Code cleanup
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 11:46:00 +0000 (14:46 +0300)]
Prefix AC_CACHE_CHECK variables with i_cv_.
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2008 11:05:09 +0000 (14:05 +0300)]
Once $KRB5_CFLAGS is set, use it instead of calling krb5-config again.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 19:31:10 +0000 (22:31 +0300)]
Don't crash if subscribed mailbox begins with hierarchy separator.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 13:05:09 +0000 (16:05 +0300)]
If SUBSCRIBE or UNSUBSCRIBE fails, we returned "Unknown error".
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 12:10:59 +0000 (15:10 +0300)]
expire-tool: Fixed changing uid/gid.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 02:01:47 +0000 (05:01 +0300)]
Maildir: Moved uidlist refreshing to maildir_uidlist_lookup() where it
benefits all callers.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:49:08 +0000 (04:49 +0300)]
Fixed previous transaction log assert-avoidance check.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:44:18 +0000 (04:44 +0300)]
Fixed GSSAPI checks. Perhaps it works now with Solaris krb5-config also.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:19:49 +0000 (04:19 +0300)]
If index file's header shows that it's unusable (e.g. major version change
or CPU arch change), make sure they're not tried to be used and handle the
rebuilding nicely.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:18:42 +0000 (04:18 +0300)]
When creating a new transaction log, don't reuse an existing one if its
sequence isn't 1.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 01:17:39 +0000 (04:17 +0300)]
Avoid assert-crashing with broken transaction log files.
--HG--
branch : HEAD
Timo Sirainen [Sun, 25 May 2008 00:11:15 +0000 (03:11 +0300)]
squat: Flush NFS caches.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 23:58:42 +0000 (02:58 +0300)]
dbox: fdatasync() when saving.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 23:52:39 +0000 (02:52 +0300)]
dbox: Don't write message UID to u.* files' header, since the filename
itself specifies the UID already. When reading u.* files ignore the UID
field completely. This would allow hard linking u.* files, but the metadata
will then contain only a single mailbox's flags+keywords.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 23:50:23 +0000 (02:50 +0300)]
dbox error handling fix
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 23:50:06 +0000 (02:50 +0300)]
dbox: Some mails could have been written using m.* files, even though
everything was supposed to be u.* for now.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 22:52:17 +0000 (01:52 +0300)]
mbox: If INBOX creation fails because of EACCES, try with privileged group
enabled.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 22:45:31 +0000 (01:45 +0300)]
Maildir: If dovecot-uidlist has wrong cached virtual size, remove it when we
detect it. If maildir filename has wrong W value, log a clear error about it.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 22:30:11 +0000 (01:30 +0300)]
timeout_add(0, ..) was looping in timeout handling code.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 22:00:27 +0000 (01:00 +0300)]
Make sure MAIL_RECENT flag is cleared from index file's flags so it can be
used in future for other purposes. Increased minor version number because of
this.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 21:47:27 +0000 (00:47 +0300)]
zlib plugin: Uncompress if the message begins with zlib header instead of
looking at the 'Z' flag. This fixes copying with hard links. Based on a
patch by Richard Platel.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 21:34:03 +0000 (00:34 +0300)]
LIST X-STATUS: Send LIST reply before STATUS reply.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 13:57:28 +0000 (16:57 +0300)]
dbox & cydir: If mailbox doesn't exist, return it as \nonexistent instead of
\noselect.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 13:56:47 +0000 (16:56 +0300)]
Mailbox flags could have been wrong with filesystem layout.
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2008 12:24:05 +0000 (15:24 +0300)]
LIST-EXTENDED: CHILDINFO shouldn't be quoted.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 May 2008 15:16:41 +0000 (18:16 +0300)]
Compile fix
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 23:25:40 +0000 (02:25 +0300)]
maildir uidlist: Include old and new UID in "Duplicate file entry" warning.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 22:20:19 +0000 (01:20 +0300)]
Maildir error handling fixes if appending to uidlist failed.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 22:12:34 +0000 (01:12 +0300)]
kqueue: If opening a file fails with ESTALE, don't log an error. It probably
just means the file was deleted by another NFS client.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 22:00:22 +0000 (01:00 +0300)]
Replaced HAVE_ST_NSEC macro checks with more generic ST_?TIME_NSEC() macros
for getting the nanosecond and ST_NTIMES_EQUAL() macro for comparing them.
Added support for BSD st_?timespec fields.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 21:40:31 +0000 (00:40 +0300)]
Fixed compiling on systems without nanoseconds in struct stat.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 20:43:56 +0000 (23:43 +0300)]
If client tries to change the selected mailbox state while another command
is still running, wait until the command is finished.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 May 2008 09:09:44 +0000 (12:09 +0300)]
Added %T = trim modifier.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 06:54:03 +0000 (09:54 +0300)]
buffer test failed if stack wasn't cleared by OS.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 05:51:12 +0000 (08:51 +0300)]
If file isn't found from uidlist, refresh the file and look again in case it
was added after the previous mailbox sync (but after the previous view sync
that found new messages).
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 05:31:44 +0000 (08:31 +0300)]
net_is_in_network(): Fixed to work with big endian machines.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 05:31:20 +0000 (08:31 +0300)]
net_is_in_network(): Added IPv6 unit tests
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 04:53:11 +0000 (07:53 +0300)]
"Can't open log file" error was missing linefeed.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 04:43:13 +0000 (07:43 +0300)]
Moved net_is_in_network() to lib/network.c.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 04:01:40 +0000 (07:01 +0300)]
Show the new uidlist_* fields in maildir header.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 04:01:26 +0000 (07:01 +0300)]
Keep track of dovecot-uidlist mtime+size in index file. If it's up-to-date
(and unless indexes weren't updated at some point, it always is) and we're
saving a new message, don't bother reading the uidlist contents.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 03:05:39 +0000 (06:05 +0300)]
More maildir saving code cleanups
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 02:36:43 +0000 (05:36 +0300)]
Fix to previous cleanup.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 May 2008 02:22:56 +0000 (05:22 +0300)]
Code cleanup
--HG--
branch : HEAD
Timo Sirainen [Tue, 13 May 2008 06:50:27 +0000 (09:50 +0300)]
W=<vsize> is now always added to maildir filenames (the code was
accidentally commented out).
--HG--
branch : HEAD
Diego Liziero [Sun, 11 May 2008 12:49:02 +0000 (14:49 +0200)]
make outofmem_area static
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 May 2008 16:04:16 +0000 (19:04 +0300)]
Removed unused variable popped_frame_pos. Patch by Diego Liziero.
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 May 2008 19:44:45 +0000 (22:44 +0300)]
If SSL function fails and there are no errors, return "Unknown error"
instead of "Success" as the reason.
--HG--
branch : HEAD
Timo Sirainen [Mon, 5 May 2008 23:52:51 +0000 (02:52 +0300)]
If we lose a maildir filename, make sure the message gets marked as expunged
in index.
--HG--
branch : HEAD
Timo Sirainen [Mon, 5 May 2008 22:27:23 +0000 (01:27 +0300)]
Removed a bad assert.
--HG--
branch : HEAD
Timo Sirainen [Mon, 5 May 2008 15:41:32 +0000 (18:41 +0300)]
If inotify_add_watch() fails, log an error.
--HG--
branch : HEAD
Timo Sirainen [Mon, 5 May 2008 15:39:56 +0000 (18:39 +0300)]
If inotify instance limit is reached, give a hint about max_user_instances
file that can be increased.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 22:01:22 +0000 (01:01 +0300)]
Added tag 1.1.rc5 for changeset
3b09af6458e5
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 22:01:13 +0000 (01:01 +0300)]
Released v1.1.rc5.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 21:46:51 +0000 (00:46 +0300)]
Added ATTR_UNUSED to function parameters that won't be implemented for v1.1.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 21:37:52 +0000 (00:37 +0300)]
Free OpenSSL memory at deinit.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 21:24:54 +0000 (00:24 +0300)]
Removed accidentally committed debug sleep().
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 21:22:36 +0000 (00:22 +0300)]
ACL: If any of the flag set rights were given, STORE FLAGS allowed replacing
all flags (+/-FLAGS worked correctly).
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 21:18:56 +0000 (00:18 +0300)]
ACL: If we don't have 'w' access, don't allow creating new keywords.
--HG--
branch : HEAD