]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 20 Jul 2004 17:06:25 +0000 (20:06 +0300)]
Limit how much a single transaction can reserve space
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jul 2004 17:06:08 +0000 (20:06 +0300)]
mail_cache_lookup_headers() fix
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jul 2004 16:50:56 +0000 (19:50 +0300)]
Cache fixes. Decisions are saved again.
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jul 2004 12:45:13 +0000 (15:45 +0300)]
Compile fix when modules were disabled. Patch by Andrey Panin.
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jul 2004 12:44:29 +0000 (15:44 +0300)]
md5_final() didn't properly clear the whole MD5 context. Also changed to use
safe_memset(). Patch by Andrey Panin
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 17:34:32 +0000 (20:34 +0300)]
header caching fixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 12:54:42 +0000 (15:54 +0300)]
SSL proxy was destroyed after login instead of staying in background.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 12:43:05 +0000 (15:43 +0300)]
Fixed reconnecting to PostgreSQL.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 12:40:57 +0000 (15:40 +0300)]
Fixes reconnecting to MySQL and some cleanups. Patch by Tomi Hakala.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 12:36:59 +0000 (15:36 +0300)]
Don't send EXISTS after each EXPUNGE.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 12:31:27 +0000 (15:31 +0300)]
Don't crash if mail_index_view_sync_next() is called again after it's finished.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 02:31:13 +0000 (05:31 +0300)]
Changed default cache fields
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 02:30:56 +0000 (05:30 +0300)]
Changed default cache fields.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 02:28:01 +0000 (05:28 +0300)]
Avoid parsing headers twice to get IMAP envelope.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 02:25:06 +0000 (05:25 +0300)]
Header caching redesigned. New design allows caching decisions per field, so
they can be divided to temporary/permanent. Cached headers are now always
returned in original order, old code didn't guarantee it. Some other caching
changes. (still missing code to store changes in caching decisions)
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 Jul 2004 01:44:59 +0000 (04:44 +0300)]
bsearch_strcasecmp() actually called strcmp..
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 Jul 2004 16:20:54 +0000 (19:20 +0300)]
Fixed to compile with Solaris LDAP library
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jul 2004 12:26:31 +0000 (15:26 +0300)]
Delay memory allocations for cache transaction. We don't always need it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jul 2004 18:14:45 +0000 (21:14 +0300)]
outlook-no-nuls workaround fix
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jul 2004 11:35:50 +0000 (14:35 +0300)]
Broke mailbox_sync() into iterator.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jul 2004 11:31:34 +0000 (14:31 +0300)]
View syncing fixes/cleanups.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jul 2004 08:07:03 +0000 (11:07 +0300)]
Handle recent flags in index file correctly. Fixes recent flag losing when
copying or saving mails with flags.
--HG--
branch : HEAD
Timo Sirainen [Sun, 11 Jul 2004 22:45:29 +0000 (01:45 +0300)]
mbox recent fixes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 11 Jul 2004 21:09:30 +0000 (00:09 +0300)]
Use CMP_DEV_T() macro to compare struct stat.st_dev
--HG--
branch : HEAD
Timo Sirainen [Sun, 11 Jul 2004 21:04:46 +0000 (00:04 +0300)]
Recent flags should be fully working now with maildir.
--HG--
branch : HEAD
Timo Sirainen [Sat, 10 Jul 2004 17:24:08 +0000 (20:24 +0300)]
Split client_workarounds to imap_ and pop3_ ones. Added outlook-no-nuls POP3
workaround.
--HG--
branch : HEAD
Timo Sirainen [Sat, 10 Jul 2004 11:16:05 +0000 (14:16 +0300)]
Cache fixes. Lookups now look into transactions too.
--HG--
branch : HEAD
Timo Sirainen [Sat, 10 Jul 2004 11:15:42 +0000 (14:15 +0300)]
fetch_mail needs to be deinitialized before transaction is
committed or rollbacked
--HG--
branch : HEAD
Timo Sirainen [Sat, 10 Jul 2004 11:14:58 +0000 (14:14 +0300)]
thread/sort: commit the transaction, don't rollback..
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:59:44 +0000 (22:59 +0300)]
And section fix for --exec-mail..
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:59:02 +0000 (22:59 +0300)]
Added --exec-mail option to master. It can be used to parse Dovecot config
file and exec() imap/pop3 process directly. Moved --inetd option into
environment as it's only for internal use.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:22:15 +0000 (22:22 +0300)]
Create all the missing paths up to maildir
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:21:18 +0000 (22:21 +0300)]
check EISDIR in next mkdir() too..
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:16:27 +0000 (22:16 +0300)]
Some more mailbox name checks.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:12:32 +0000 (22:12 +0300)]
Crashfix with empty mailbox
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:09:17 +0000 (22:09 +0300)]
SIGHUP correctly reloads configuration now
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 19:08:35 +0000 (22:08 +0300)]
When i_set_failure_file() is called, make sure the handlers are reset back
to defaults.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 18:31:26 +0000 (21:31 +0300)]
Never treat "mailbox/" as a valid mailbox name.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 17:19:04 +0000 (20:19 +0300)]
If we're setting flags to saved mail, put it to cur/ directory directly.
Flags aren't allowed in new dir.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 11:45:01 +0000 (14:45 +0300)]
Refcounting fixes. Unexpectedly destroyed SSL connection could have left
looping for a long time.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 10:57:32 +0000 (13:57 +0300)]
We could read authid past the buffer if \0password wasn't given in input.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jul 2004 00:10:37 +0000 (03:10 +0300)]
Always create cache transaction. Easier that way .. and fixes a crash.
--HG--
branch : HEAD
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