]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 8 Jul 2004 21:27:22 +0000 (00:27 +0300)]
Fixed compression.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jul 2004 20:26:15 +0000 (23:26 +0300)]
Cache file fixes, API changes, etc. It's still in somewhat ugly state, but
getting better..
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jul 2004 20:24:48 +0000 (23:24 +0300)]
If p_free() frees memory, it must also zero it..
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jul 2004 18:57:16 +0000 (21:57 +0300)]
crashfix
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jul 2004 13:36:29 +0000 (16:36 +0300)]
Wrapper streams shouldn't try to read data if it's already buffered in main
stream. Fixes at least problem with APPEND when the whole message came in
one TCP packet.
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jul 2004 09:34:03 +0000 (12:34 +0300)]
compile fix
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 08:30:14 +0000 (11:30 +0300)]
varchar(255) is max in mysql
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 08:29:53 +0000 (11:29 +0300)]
don't set default port either
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 08:08:44 +0000 (11:08 +0300)]
Updated error message texts.
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 07:10:55 +0000 (10:10 +0300)]
s/user/db_user/
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 06:35:30 +0000 (09:35 +0300)]
Fixes, patch by Andrey Panin
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 06:06:00 +0000 (09:06 +0300)]
Added mysql description to example config file. Changed mysql default
settings.
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jul 2004 05:55:46 +0000 (08:55 +0300)]
Add "Error report written to server log." also to internal login error
messages.
--HG--
branch : HEAD
Timo Sirainen [Mon, 5 Jul 2004 15:01:52 +0000 (18:01 +0300)]
pool_alloconly_free() can free the last allocation.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 22:19:49 +0000 (01:19 +0300)]
fixing crashes from last changes
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 22:09:13 +0000 (01:09 +0300)]
disable cache file with mmap_no_write. it and mmap_disable will need some
non-mmap buffer for reading.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 22:03:21 +0000 (01:03 +0300)]
more checks against using old cache_offsets
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 21:56:12 +0000 (00:56 +0300)]
Make sure we don't set cache_offsets to old cache files.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 21:22:00 +0000 (00:22 +0300)]
cache fix
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 21:10:32 +0000 (00:10 +0300)]
header and extra_rec syncing crashed because of recent changes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 21:07:43 +0000 (00:07 +0300)]
Cache API updates. Don't return direct pointers to mmaped cache file anymore.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 20:11:04 +0000 (23:11 +0300)]
renaming mailbox under existing mailbox gave wrong error message
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 20:00:47 +0000 (23:00 +0300)]
Cache updating is done now by first reserving space where to write, and then
writing to it whenever buffer gets full. There is no persistent cache file
locks anymore because of this, but it also means that the same cached field
may be written multiple times to the file by different processes. Also since
we reserve more space than we actually need at first, it some space can be
wasted if multiple processes are updating the cache.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 14:26:22 +0000 (17:26 +0300)]
Caching fixes and optimizations. Removed all network byte ordering code -
it's not worth the trouble and would require massive changes in indexing
code as well to be useful. Changed next_offset to prev_offset which is
updated while syncing index.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jul 2004 11:50:48 +0000 (14:50 +0300)]
Cache file compression works now and compressed cache file is reopened.
Several other cleanups related to opening - cache file isn't created
immediately anymore.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 20:17:37 +0000 (23:17 +0300)]
Removed mail_index_is_in_memory(). It wasn't implemented and it's useless
anyway. User doesn't need to see "couldn't use index files" error message.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 18:13:45 +0000 (21:13 +0300)]
Updated comment about how syncing is done, and s/extra space/padding/
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 17:21:26 +0000 (20:21 +0300)]
mail_index_sync_sort_flags() now merges flag changes so mail storage
backends don't need to do it (and maildir didn't before). Dirty flags will
be synced now too.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 10:57:52 +0000 (13:57 +0300)]
UIDs for appended messages can now be assigned all at once. Maildir now
updates indexes immediately while saving messages.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 10:43:12 +0000 (13:43 +0300)]
was missing from last commit
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 09:47:13 +0000 (12:47 +0300)]
Dropped MBOX_HEADER_EXTRA_SPACE from 100 to 50. It should be enough.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jul 2004 09:44:21 +0000 (12:44 +0300)]
If we're not connected to all auth sockets, wait before sending greeting so
APOP challenge gets sent.
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 22:03:36 +0000 (01:03 +0300)]
Added APOP authentication for POP3. Patch by Andrey Panin.
This required some changes in auth APIs.
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 18:30:17 +0000 (21:30 +0300)]
Don't keep filling empty spaces which will be overwritten soon anyway. Major
speedup for rewriting large mboxes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 15:36:25 +0000 (18:36 +0300)]
i_stream_read_data() could have returned invalid data at EOF (notable with
mboxes since end of mail = "EOF").
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 13:34:37 +0000 (16:34 +0300)]
body_offset wasn't set if mail had no header.
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 12:45:53 +0000 (15:45 +0300)]
make sure there's only LWSP after X-UID
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 12:14:13 +0000 (15:14 +0300)]
fix for mboxes with pseudo header mail
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 11:50:46 +0000 (14:50 +0300)]
saving messages to empty mbox was buggy
--HG--
branch : HEAD
Timo Sirainen [Fri, 2 Jul 2004 10:33:48 +0000 (13:33 +0300)]
assert crashfix
--HG--
branch : HEAD
Timo Sirainen [Wed, 30 Jun 2004 12:18:35 +0000 (15:18 +0300)]
Cache decision explanation comment.
--HG--
branch : HEAD
Timo Sirainen [Wed, 30 Jun 2004 08:52:39 +0000 (11:52 +0300)]
No maildir filename checking after all.
--HG--
branch : HEAD
Timo Sirainen [Tue, 29 Jun 2004 16:23:54 +0000 (19:23 +0300)]
Temporary: never compress cache file as it's broken now.
--HG--
branch : HEAD
Timo Sirainen [Tue, 29 Jun 2004 15:56:34 +0000 (18:56 +0300)]
Require that filenames in maildir begin with a digit, otherwise complain.
--HG--
branch : HEAD
Timo Sirainen [Tue, 29 Jun 2004 13:18:21 +0000 (16:18 +0300)]
no_partial_rewrite was incorrectly set always
--HG--
branch : HEAD
Timo Sirainen [Tue, 29 Jun 2004 13:10:52 +0000 (16:10 +0300)]
fix, _read() sometimes returned -2 too early
--HG--
branch : HEAD
Timo Sirainen [Tue, 29 Jun 2004 12:10:36 +0000 (15:10 +0300)]
added comment about solaris and changed the macros once again, although may
be useless change..
--HG--
branch : HEAD
Timo Sirainen [Tue, 29 Jun 2004 09:29:55 +0000 (12:29 +0300)]
compile fix when SSL is disabled
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 22:17:59 +0000 (01:17 +0300)]
fix
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 22:03:24 +0000 (01:03 +0300)]
some fixes for handling pseudo headers.
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 21:32:29 +0000 (00:32 +0300)]
Several fixes for updating mbox. Recent changes also made it corrupt
headers.
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 21:31:10 +0000 (00:31 +0300)]
full_value should contain LFs as well
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 17:35:27 +0000 (20:35 +0300)]
Added some smartness for deciding what to cache. Cache compression code compiles, but untested.
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 16:44:38 +0000 (19:44 +0300)]
don't close dotlock fd if it's given as -1
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 16:13:59 +0000 (19:13 +0300)]
Allow giving 0 max_buffer_size, in which case "optimal" size is used.
--HG--
branch : HEAD
Timo Sirainen [Mon, 28 Jun 2004 12:08:00 +0000 (15:08 +0300)]
fixed some fd leaks in error conditions
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Jun 2004 14:00:21 +0000 (17:00 +0300)]
Check immediately if we have write-access to mbox.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Jun 2004 13:47:35 +0000 (16:47 +0300)]
Save MD5 sums of some headers for readonly mboxes and use them for syncing
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Jun 2004 13:43:56 +0000 (16:43 +0300)]
removed assert
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Jun 2004 11:10:41 +0000 (14:10 +0300)]
Record size is allowed to change between index files. This will allow adding
extensions dynamically for existing indexes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 20:10:34 +0000 (23:10 +0300)]
assertfix
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 18:33:22 +0000 (21:33 +0300)]
Added a framework for getting POP3 UIDL strings from mail-storage. The
default still is uidvalidity.uid. Added beginnings of overriding it from
X-UIDL header in mbox.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 18:05:14 +0000 (21:05 +0300)]
crashfix if client closes connection while authenticating
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 17:50:43 +0000 (20:50 +0300)]
Dovecot can now connect to externally running dovecot-auth.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 17:48:35 +0000 (20:48 +0300)]
DEBUG: If GDB environment is set, don't do fd leak checks.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 17:47:06 +0000 (20:47 +0300)]
Default to "" args instead of NULL to avoid some crashes
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 16:36:18 +0000 (19:36 +0300)]
Allow empty section name.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 15:02:50 +0000 (18:02 +0300)]
skip extra whitespace between "dbtype arguments"
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 15:00:24 +0000 (18:00 +0300)]
Add a comment about # chars and whitespace.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 14:50:47 +0000 (17:50 +0300)]
don't change our umask permanently
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 13:43:36 +0000 (16:43 +0300)]
Crashfixes for disabled cache.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 06:09:00 +0000 (09:09 +0300)]
partial syncing fixes
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jun 2004 03:31:52 +0000 (06:31 +0300)]
Complain about reappearing UIDs, but reassign new UIDs to them anyway. Don't
try to update \recent mails if we aren't really going to make them
non-recent.
--HG--
branch : HEAD
Timo Sirainen [Tue, 22 Jun 2004 19:28:15 +0000 (22:28 +0300)]
We didn't specify full path for .subscriptions file, and it was named
without the leading dot..
--HG--
branch : HEAD
Timo Sirainen [Tue, 22 Jun 2004 07:48:18 +0000 (10:48 +0300)]
get_last_error() wasn't virtualizable
--HG--
branch : HEAD
Timo Sirainen [Tue, 22 Jun 2004 07:36:33 +0000 (10:36 +0300)]
Added mail_index_transaction_get_updated_view() which can be used to access
uncommitted messages.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jun 2004 18:13:21 +0000 (21:13 +0300)]
updates
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jun 2004 14:51:04 +0000 (17:51 +0300)]
Removed UIDPLUS after all, it needs more thinking about with maildir.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jun 2004 14:44:47 +0000 (17:44 +0300)]
Cache doesn't crash anymore if we're asking it about messages that exist
only in uncommitted transactions.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jun 2004 14:20:08 +0000 (17:20 +0300)]
Disable cache with mmap_disabled=yes, for now.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 21:27:20 +0000 (00:27 +0300)]
Moved enum mail_thread_type to imap
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 20:55:22 +0000 (23:55 +0300)]
comment update for setting ports in listen
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 20:46:11 +0000 (23:46 +0300)]
assertfix
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 20:33:57 +0000 (23:33 +0300)]
and more fixes..
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 20:25:56 +0000 (23:25 +0300)]
expunge everything in index after missing/invalid X-UID
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 13:48:34 +0000 (16:48 +0300)]
fixes for From-line offset updating
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 13:29:01 +0000 (16:29 +0300)]
Hide "folder internal data" messages
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 13:14:17 +0000 (16:14 +0300)]
Exclusive index locking always used copy-locking without even trying
fcntl-locking.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 13:03:02 +0000 (16:03 +0300)]
Don't die horribly when message with previously expunged UID is inserted
into mbox.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 13:02:08 +0000 (16:02 +0300)]
assert crashfixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 12:23:27 +0000 (15:23 +0300)]
Index syncing fixes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 11:46:10 +0000 (14:46 +0300)]
Never overflow secs_left for stale timeout callback
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 11:23:39 +0000 (14:23 +0300)]
fsync() mbox before unlocking if we've modified it
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 11:17:53 +0000 (14:17 +0300)]
Allow dropping exclusive mbox locks to shared locks.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 10:37:44 +0000 (13:37 +0300)]
Don't require dotlocking to be first in locking list.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 09:40:00 +0000 (12:40 +0300)]
don't do infinite looping
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 09:34:10 +0000 (12:34 +0300)]
cache file fixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 09:23:15 +0000 (12:23 +0300)]
Don't crash if transaction log contains records for messages that don't
exist anymore.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 09:13:14 +0000 (12:13 +0300)]
Several fixes and cleanups to cache file code, still badly broken
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jun 2004 08:05:41 +0000 (11:05 +0300)]
Beginnings of getting cache file working again. Easy to break currently, but
basics seem to work.
--HG--
branch : HEAD