]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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
Timo Sirainen [Mon, 10 Mar 2008 03:41:18 +0000 (05:41 +0200)]
uidlist size caching check was wrong for physical sizes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 03:34:54 +0000 (05:34 +0200)]
Added ldaprc_path setting.
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 03:15:45 +0000 (05:15 +0200)]
Added debug_level LDAP option to specify OpenLDAP's debug level.
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 02:52:23 +0000 (04:52 +0200)]
If we sent client "waiting for auth process" message, we crashed later.
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 02:24:06 +0000 (04:24 +0200)]
Changing "user" from userdb crashed.
--HG--
branch : HEAD
Timo Sirainen [Mon, 10 Mar 2008 01:09:06 +0000 (03:09 +0200)]
Memory leak fix (by Diego Liziero)
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 10:51:55 +0000 (12:51 +0200)]
Added tag 1.1.rc3 for changeset
c73d6224a96b
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 10:51:51 +0000 (12:51 +0200)]
Released v1.1.rc3.
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 10:51:06 +0000 (12:51 +0200)]
Crashfix if file is empty.
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 10:45:17 +0000 (12:45 +0200)]
If trying to log in with password having illegal characters, make sure we
fail early.
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 10:37:26 +0000 (12:37 +0200)]
Use auth-stream API to build all TAB-delimited strings to make sure strings
are escaped properly where necessary.
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 08:32:59 +0000 (10:32 +0200)]
Make sure the primary GID is in supplementary groups when using
mail_privileged_group so when effective GID is switched to the privileged
GID we still have primary GID's access as well.
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 08:31:31 +0000 (10:31 +0200)]
mail_privileged_group didn't work with systems where setresgid() wasn't
supported (e.g. OSX, Solaris)
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Mar 2008 00:11:19 +0000 (02:11 +0200)]
Valgrind warning fix
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 23:10:14 +0000 (01:10 +0200)]
Compiler warning fixes
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 23:07:08 +0000 (01:07 +0200)]
Flags weren't passed correctly to squat.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 12:16:43 +0000 (14:16 +0200)]
deliver -d parameter was broken by recent changes.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 03:59:05 +0000 (05:59 +0200)]
Added tag 1.1.rc2 for changeset
dfd811aa0418
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 03:59:00 +0000 (05:59 +0200)]
Relased v1.1.rc2.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 03:48:02 +0000 (05:48 +0200)]
THREAD fixes: If sent date isn't usable, fallback to received date. If
thread building would introduce loop, the message should not have a parent
then.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 02:40:38 +0000 (04:40 +0200)]
mail_debug=yes: Log recipient/return-path when sending rejects and forwards.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 02:04:20 +0000 (04:04 +0200)]
If the SEARCH TEXT/BODY command contained more parameters, we could have
returned too many/little replies.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 02:03:45 +0000 (04:03 +0200)]
Small optimization.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 01:26:47 +0000 (03:26 +0200)]
When searching words with only non-indexed characters, return all messages
as "maybe".
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Mar 2008 00:09:40 +0000 (02:09 +0200)]
If TLS connection closes with anything except a clean disconnection, log the
reason in the normal disconnected line.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 12:25:06 +0000 (14:25 +0200)]
When rebuilding uidlist, read the existing one entirely into memory at the
beginning. This this is a lot faster than reading it with random access in
smaller pieces.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 06:20:36 +0000 (08:20 +0200)]
Don't crash when expunging (broken by seq_range_array_add_range() change)
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 06:15:35 +0000 (08:15 +0200)]
Added support for dotlocks.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 05:38:41 +0000 (07:38 +0200)]
Minor optimization and possible compile fix.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 05:38:23 +0000 (07:38 +0200)]
If uidlist writing fails, don't assert-crash.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 03:17:56 +0000 (05:17 +0200)]
squat_unpack_num() returned error for numbers >= 2^28, causing Squat to
report index corruption with (very) large files.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 01:52:52 +0000 (03:52 +0200)]
Don't allow too large extension header sizes. They're probably caused by
file corruption.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 01:49:36 +0000 (03:49 +0200)]
Check extension header validity before using it.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 01:02:44 +0000 (03:02 +0200)]
Don't crash if trying to open a non-file as mbox.
--HG--
branch : HEAD
Timo Sirainen [Fri, 7 Mar 2008 00:46:57 +0000 (02:46 +0200)]
If both byte and message count limits weren't set, we recalculated
maildirsize all the time.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 11:15:30 +0000 (13:15 +0200)]
Expunge handler calling fixes.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 08:26:52 +0000 (10:26 +0200)]
mail_index_bsearch_uid(): Small optimization.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 07:45:17 +0000 (09:45 +0200)]
mail_index_ext_register(): Allow registering an extension without record or
header. It can still be used to register expunge/sync handlers.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 07:44:24 +0000 (09:44 +0200)]
Catch dotlock creation timeout error.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 07:43:41 +0000 (09:43 +0200)]
Error message fix.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 07:43:03 +0000 (09:43 +0200)]
Added mailbox_transaction_get_mailbox()
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 07:42:16 +0000 (09:42 +0200)]
imap_quote(): Don't crash if allocating from data stack pool.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Mar 2008 00:08:44 +0000 (02:08 +0200)]
Assert-crashfix when using a specific plugin combination.
--HG--
branch : HEAD
Timo Sirainen [Wed, 5 Mar 2008 01:53:39 +0000 (03:53 +0200)]
dbox: Fixes to creating, deleting and renaming mailboxes when using alt
directories.
--HG--
branch : HEAD
Timo Sirainen [Wed, 5 Mar 2008 00:59:55 +0000 (02:59 +0200)]
NFS checking checks now mail_nfs_index=yes instead of mmap_disable=yes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 5 Mar 2008 00:54:33 +0000 (02:54 +0200)]
Syncing supports now calling a callback after sync instead of just sending a
tagged reply. Use it with EXPUNGE to retry EXPUNGE in case the syncing had
seen new \Deleted flags (Outlook workaround).
--HG--
branch : HEAD
Timo Sirainen [Wed, 5 Mar 2008 00:53:05 +0000 (02:53 +0200)]
uncork stream only after syncing to avoid extra writes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 5 Mar 2008 00:17:52 +0000 (02:17 +0200)]
Fatals/panics logged by master weren't logged properly.
--HG--
branch : HEAD