]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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
Timo Sirainen [Sun, 4 May 2008 20:47:40 +0000 (23:47 +0300)]
ACL plugin was listing mailboxes directly from dovecot-acl-list. It was
supposed to be used only as an optimization to avoid looking into all
mailboxes to see which ones contained dovecot-acl files.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 20:45:42 +0000 (23:45 +0300)]
Added mailbox_name parameter to mailbox_list.iter_is_mailbox().
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 20:44:56 +0000 (23:44 +0300)]
mailbox_list_iter_update() was always setting subscribed flags to processed
nodes. Changed the API so the flags can be specified.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 20:43:18 +0000 (23:43 +0300)]
maildir++ LIST (subscribed): If listing finds a non-subscribed mailbox under
a subscribed one, mark the subscribed one as having children.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 20:09:14 +0000 (23:09 +0300)]
LIST-EXTENDED options were ignored.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 19:35:35 +0000 (22:35 +0300)]
DEBUG: Fixes to calculating minimum initial pool size in debug mode.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 19:05:21 +0000 (22:05 +0300)]
mbox: Always update sync_size when saving mails. We rely on sync_size for
getting the last message's physical size.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 18:55:41 +0000 (21:55 +0300)]
Getting "next message's offset" was broken if a new message had been added
recently. This broke message size calculations.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 18:54:27 +0000 (21:54 +0300)]
Added assert.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 18:54:03 +0000 (21:54 +0300)]
Error message improvements.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 17:42:51 +0000 (20:42 +0300)]
If mail_chroot ends with "/.", remove chroot prefix from home directory.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 16:39:04 +0000 (19:39 +0300)]
Memory pool allocation tweaks.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 16:38:11 +0000 (19:38 +0300)]
Use smaller sentries between allocations. Larger ones make "Growing memory
pool" warnings pointless, because most of the space is wasted on sentries. A
smaller sentry will still catch most of the buffer overflows.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 16:19:23 +0000 (19:19 +0300)]
mbox_lazy_writes: If errors are noticed in mbox, write changes to fix them
immediately to avoid constant errors in logs.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 15:19:57 +0000 (18:19 +0300)]
Handle dict_init() and dict_lookup() failures without crashing.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 15:12:28 +0000 (18:12 +0300)]
Added dict_db_config setting to point to a Berkeley DB config file.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 14:05:12 +0000 (17:05 +0300)]
Don't use krb5_get_error_message(), it doesn't work with Heimdal Kerberos.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 13:57:58 +0000 (16:57 +0300)]
mbox: Don't stop at From_-lines in the message bodies. Use Content-Length:
header to figure out if it belongs to a message body or not.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 11:35:51 +0000 (14:35 +0300)]
The previous gdb check should be done only with --enable-debug.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 01:27:41 +0000 (04:27 +0300)]
Support cross-realm krb5 authentication. Based on patch by Zachary Kotlarek.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 00:44:09 +0000 (03:44 +0300)]
When updating maildir quota create also missing maildirsize file and make
sure the limits in the header are up-to-date.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 00:22:49 +0000 (03:22 +0300)]
Don't restrict login process fd limits when running with GDB=1.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 00:09:18 +0000 (03:09 +0300)]
deliver -e: Write the error string to stderr also with tempfails.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 May 2008 00:00:32 +0000 (03:00 +0300)]
mail_uid and mail_gid settings weren't handled correctly.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 May 2008 23:53:55 +0000 (02:53 +0300)]
If fcntl() fails with EACCES, give a more understandable error message since
it's more similar to EAGAIN than anything to do with permissions.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 May 2008 23:44:01 +0000 (02:44 +0300)]
If auth process dies at startup, deinitialize logs properly so that any
pending log messages from auth process get logged before we kill ourself.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 May 2008 23:39:58 +0000 (02:39 +0300)]
Added "ignore" option to quota rules which causes the mailbox to be ignored
when counting quota.
--HG--
branch : HEAD
Timo Sirainen [Wed, 30 Apr 2008 17:18:37 +0000 (20:18 +0300)]
Fixed several memory leaks in ACL plugin.
--HG--
branch : HEAD
Timo Sirainen [Wed, 30 Apr 2008 14:06:19 +0000 (17:06 +0300)]
Use a larger initial mbox keywords pool size.
--HG--
branch : HEAD
Timo Sirainen [Wed, 30 Apr 2008 14:06:08 +0000 (17:06 +0300)]
Fixed updating first_recent_uid in index header.
--HG--
branch : HEAD
Timo Sirainen [Wed, 30 Apr 2008 14:05:19 +0000 (17:05 +0300)]
DEBUG: Make sure mempool's initial size is large enough to account for
extra sentries.
--HG--
branch : HEAD
Timo Sirainen [Fri, 25 Apr 2008 00:23:49 +0000 (03:23 +0300)]
Static attributes were broken in user_attrs.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 23:10:36 +0000 (02:10 +0300)]
Fixes to handling recent flags with UIDVALIDITY changing.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 22:49:39 +0000 (01:49 +0300)]
Reset cached \Recent flags if UIDVALIDITY changes, because we were using
UIDs in the cache.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 22:31:05 +0000 (01:31 +0300)]
next_hook should be called after our hook is finished with its doings, that
way they get executed in the intended order. This should fix some problems
when multiple plugins are used.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 22:29:15 +0000 (01:29 +0300)]
SIZEOF_ACL_MASK() macro wasn't used as it was intended. Changed so it
allocates enough memory for the struct.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 21:52:56 +0000 (00:52 +0300)]
Expire plugin wasn't working unless expire_altmove was also defined.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 14:24:32 +0000 (17:24 +0300)]
Better error handling for dnotify failures.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 14:03:10 +0000 (17:03 +0300)]
If mailbox hasn't been opened when closing it, don't crash when trying to
flush dirty flags.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 13:59:19 +0000 (16:59 +0300)]
Renamed IO_NOTIFY_DISABLED to IO_NOTIFY_NOSUPPORT. IO_NOTIFY_NOSUPPORT is
now also given by dnotify when trying to listen for files. Fixes busy
looping with dnotify when waiting for dotlock to get deleted.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 13:56:10 +0000 (16:56 +0300)]
Comment updates
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 13:31:07 +0000 (16:31 +0300)]
Allow %variables in static LDAP fields.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 13:08:25 +0000 (16:08 +0300)]
Send the success reply in one write. Based on patch by Onno Molenkamp.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Apr 2008 12:48:01 +0000 (15:48 +0300)]
If remote disconnects, log "Connection closed: reason" just like IMAP does.
--HG--
branch : HEAD
Timo Sirainen [Fri, 18 Apr 2008 09:52:08 +0000 (12:52 +0300)]
Namespace inbox setting defaults to "no", not "yes".
--HG--
branch : HEAD
Timo Sirainen [Wed, 2 Apr 2008 17:46:51 +0000 (20:46 +0300)]
GSSAPI: Show username in "autn_name and authz_name differ" error.
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 17:40:46 +0000 (20:40 +0300)]
Added tag 1.1.rc4 for changeset
4607141a6bdc
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 17:40:42 +0000 (20:40 +0300)]
Released v1.1.rc4.
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 17:34:51 +0000 (20:34 +0300)]
DEBUG: Added buffer overflow checking to alloconly memory pools.
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 17:26:19 +0000 (20:26 +0300)]
mailbox_transaction_commit(): Use separate temporary variables to store
uidvalidity, first_uid and last_uid so that plugins can look at them.
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 08:45:23 +0000 (11:45 +0300)]
Using templates in pass_attrs or user_attrs was somewhat broken, causing
errors for other fields. Fixed by richs at whidbey.net
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 08:42:24 +0000 (11:42 +0300)]
t_buffer_get() overflow check worked only with 64bit systems.
--HG--
branch : HEAD
Timo Sirainen [Tue, 1 Apr 2008 08:30:56 +0000 (11:30 +0300)]
Memory leak fix by Diego Liziero
--HG--
branch : HEAD
Timo Sirainen [Sun, 30 Mar 2008 17:45:50 +0000 (20:45 +0300)]
matches[] wasn't also allocated enough memory.
--HG--
branch : HEAD
Timo Sirainen [Sun, 30 Mar 2008 08:57:57 +0000 (11:57 +0300)]
STORE: Ignore flag changes for read-only (especially EXAMINEd) mailboxes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 30 Mar 2008 08:46:45 +0000 (11:46 +0300)]
str_find_init() allocated too little memory for temporary suffixes buffer.
Found by Diego Liziero.
--HG--
branch : HEAD
Timo Sirainen [Sun, 30 Mar 2008 08:43:33 +0000 (11:43 +0300)]
DEBUG: Catch if we write past t_buffer_get()ed memory.
--HG--
branch : HEAD
Timo Sirainen [Sun, 30 Mar 2008 08:41:35 +0000 (11:41 +0300)]
Fix to previous optimization: Don't crash if we want to read older data from
transaction log.
--HG--
branch : HEAD
Timo Sirainen [Wed, 26 Mar 2008 19:30:15 +0000 (21:30 +0200)]
Log clearly with "auth failed, # attempts" if user gets disconnected before
logging in.
--HG--
branch : HEAD
Timo Sirainen [Wed, 26 Mar 2008 19:27:10 +0000 (21:27 +0200)]
Workaround to never idle-disconnect IDLEing clients got broken by timeout
code changes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 23 Mar 2008 15:55:51 +0000 (17:55 +0200)]
random_fill(): If read(/dev/urandom) returned EINTR, it could have written
random data before the given buffer (buffer underflow). Pointed out by
Sami Farin.
This function is used only by auth and pop3-login (with APOP enabled)
processes, so normal users shouldn't be able to send signals to any of them to
exploit this. Even then the data would be random, making it quite unlikely to
cause anything else than a crash.
--HG--
branch : HEAD
Timo Sirainen [Fri, 21 Mar 2008 06:27:36 +0000 (08:27 +0200)]
Small optimization: Don't try to pread() log file if we already know we've
read everything.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 14:55:44 +0000 (16:55 +0200)]
Try to send tagged replies in the same order as the commands were received
(fixes Apple Mail bug).
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 14:54:19 +0000 (16:54 +0200)]
"Corrupted physical/virtual size" shows now also the UID of the message.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 14:26:59 +0000 (16:26 +0200)]
Don't access freed memory.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 14:26:27 +0000 (16:26 +0200)]
client_command_free()/cancel(): Take pointer-to-pointer parameter and set it
to NULL to make sure it's not accessed again.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 13:42:57 +0000 (15:42 +0200)]
If we have both maybe and definite UIDs, remove all definite UIDs from maybe
UIDs.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 13:34:44 +0000 (15:34 +0200)]
Added FTS_SQUAT environment with partial=n and full=m settings.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 13:09:30 +0000 (15:09 +0200)]
If dovecot-acl-list can't be created because of permission problems, it's
probably because the account is read-only, so don't log an error.
--HG--
branch : HEAD
Timo Sirainen [Thu, 20 Mar 2008 13:02:31 +0000 (15:02 +0200)]
If mbox isn't writable, don't try to update its atime with utime().
--HG--
branch : HEAD
Timo Sirainen [Wed, 19 Mar 2008 18:03:24 +0000 (20:03 +0200)]
Ignore \Recent flag in indexes when searching them (leftovers from v1.0).
--HG--
branch : HEAD
Timo Sirainen [Wed, 19 Mar 2008 05:34:01 +0000 (07:34 +0200)]
Quota: backend= didn't work in rules.
--HG--
branch : HEAD
Timo Sirainen [Wed, 19 Mar 2008 05:32:47 +0000 (07:32 +0200)]
"Invalid quota rule" didn't specify the error message
--HG--
branch : HEAD
Timo Sirainen [Sun, 16 Mar 2008 10:28:58 +0000 (12:28 +0200)]
If first message is expunged from expire_altmove mailbox, don't update dict.
--HG--
branch : HEAD
Timo Sirainen [Sun, 16 Mar 2008 10:10:51 +0000 (12:10 +0200)]
Updated conformed RFCs list
--HG--
branch : HEAD
Timo Sirainen [Sun, 16 Mar 2008 10:01:09 +0000 (12:01 +0200)]
If sync queue has commands that don't allow EXPUNGEs and also commands that
do allow them, sync first the ones that don't allow EXPUNGEs, otherwise we
could send untagged EXPUNGEs before e.g. tagged FETCH reply.
--HG--
branch : HEAD
Timo Sirainen [Sat, 15 Mar 2008 05:31:44 +0000 (07:31 +0200)]
DEBUG: Verify that UIDs are ascending after sync.
--HG--
branch : HEAD
Timo Sirainen [Sat, 15 Mar 2008 04:58:19 +0000 (06:58 +0200)]
Fixed extension record checking.
--HG--
branch : HEAD
Timo Sirainen [Sat, 15 Mar 2008 03:17:21 +0000 (05:17 +0200)]
Reverted last error handling change, it can't happen after all.
--HG--
branch : HEAD
Timo Sirainen [Sat, 15 Mar 2008 03:13:08 +0000 (05:13 +0200)]
Error handling fix
--HG--
branch : HEAD
Timo Sirainen [Sat, 15 Mar 2008 03:02:08 +0000 (05:02 +0200)]
Disable log throttling while mail_debug=yes
--HG--
branch : HEAD
Timo Sirainen [Fri, 14 Mar 2008 06:24:19 +0000 (08:24 +0200)]
MAIL_INDEX_TRANSACTION_FLAG_AVOID_FLAG_UPDATES bugfix
--HG--
branch : HEAD
Timo Sirainen [Fri, 14 Mar 2008 06:52:14 +0000 (08:52 +0200)]
struct mail can't necessarily be casted to struct index_mail. Added a new
get_index_mail() method to return it.
--HG--
branch : HEAD
Timo Sirainen [Fri, 14 Mar 2008 06:50:59 +0000 (08:50 +0200)]
Added transaction flags to struct mailbox_transaction_context.
--HG--
branch : HEAD
Timo Sirainen [Wed, 12 Mar 2008 03:27:14 +0000 (05:27 +0200)]
Expunge handler crashfix
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 15:25:29 +0000 (17:25 +0200)]
Log raw backtrace when dying with "out of memory" error
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 13:08:57 +0000 (15:08 +0200)]
Apparently "alignmentation" isn't a word. Changed to "alignment".
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 13:02:31 +0000 (15:02 +0200)]
Make UID FETCH return the UID as the first field to fix problems with bad
IMAP clients.
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 08:08:05 +0000 (10:08 +0200)]
BODY/BODYSTRUCTURE may have been returned as NULL in some situations.
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 07:08:50 +0000 (09:08 +0200)]
dbox metadata writing fixes
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 07:07:08 +0000 (09:07 +0200)]
When reading dbox metadata, flush the input stream's cached data first to
make sure the latest metadata is used.
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 06:14:21 +0000 (08:14 +0200)]
dbox rebuild: If alt directory doesn't exist, don't fail.
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 04:18:45 +0000 (06:18 +0200)]
Call the next namespaces hook.
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 03:30:14 +0000 (05:30 +0200)]
Error message fixes
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 02:25:36 +0000 (04:25 +0200)]
Removed mail-hash. It's not used anywhere and its API has been redesigned.
--HG--
branch : HEAD
Timo Sirainen [Tue, 11 Mar 2008 02:24:34 +0000 (04:24 +0200)]
Typofix in error message
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 03:46:45 +0000 (05:46 +0200)]
If we caught broken cached virtual/physical size, change the value to the
one in filename/uidlist.
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 03:45:16 +0000 (05:45 +0200)]
If physical/virtual size is in both cache and in filename/uidlist, mark the
cache corrupted if they don't match.
--HG--
branch : HEAD