]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
21 years agoAdded APOP authentication for POP3. Patch by Andrey Panin.
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

21 years agoDon't keep filling empty spaces which will be overwritten soon anyway. Major
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

21 years agoi_stream_read_data() could have returned invalid data at EOF (notable with
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

21 years agobody_offset wasn't set if mail had no header.
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

21 years agomake sure there's only LWSP after X-UID
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

21 years agofix for mboxes with pseudo header mail
Timo Sirainen [Fri, 2 Jul 2004 12:14:13 +0000 (15:14 +0300)] 
fix for mboxes with pseudo header mail

--HG--
branch : HEAD

21 years agosaving messages to empty mbox was buggy
Timo Sirainen [Fri, 2 Jul 2004 11:50:46 +0000 (14:50 +0300)] 
saving messages to empty mbox was buggy

--HG--
branch : HEAD

21 years agoassert crashfix
Timo Sirainen [Fri, 2 Jul 2004 10:33:48 +0000 (13:33 +0300)] 
assert crashfix

--HG--
branch : HEAD

21 years agoCache decision explanation comment.
Timo Sirainen [Wed, 30 Jun 2004 12:18:35 +0000 (15:18 +0300)] 
Cache decision explanation comment.

--HG--
branch : HEAD

21 years agoNo maildir filename checking after all.
Timo Sirainen [Wed, 30 Jun 2004 08:52:39 +0000 (11:52 +0300)] 
No maildir filename checking after all.

--HG--
branch : HEAD

21 years agoTemporary: never compress cache file as it's broken now.
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

21 years agoRequire that filenames in maildir begin with a digit, otherwise complain.
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

21 years agono_partial_rewrite was incorrectly set always
Timo Sirainen [Tue, 29 Jun 2004 13:18:21 +0000 (16:18 +0300)] 
no_partial_rewrite was incorrectly set always

--HG--
branch : HEAD

21 years agofix, _read() sometimes returned -2 too early
Timo Sirainen [Tue, 29 Jun 2004 13:10:52 +0000 (16:10 +0300)] 
fix, _read() sometimes returned -2 too early

--HG--
branch : HEAD

21 years agoadded comment about solaris and changed the macros once again, although may
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

21 years agocompile fix when SSL is disabled
Timo Sirainen [Tue, 29 Jun 2004 09:29:55 +0000 (12:29 +0300)] 
compile fix when SSL is disabled

--HG--
branch : HEAD

21 years agofix
Timo Sirainen [Mon, 28 Jun 2004 22:17:59 +0000 (01:17 +0300)] 
fix

--HG--
branch : HEAD

21 years agosome fixes for handling pseudo headers.
Timo Sirainen [Mon, 28 Jun 2004 22:03:24 +0000 (01:03 +0300)] 
some fixes for handling pseudo headers.

--HG--
branch : HEAD

21 years agoSeveral fixes for updating mbox. Recent changes also made it corrupt
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

21 years agofull_value should contain LFs as well
Timo Sirainen [Mon, 28 Jun 2004 21:31:10 +0000 (00:31 +0300)] 
full_value should contain LFs as well

--HG--
branch : HEAD

21 years agoAdded some smartness for deciding what to cache. Cache compression code compiles...
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

21 years agodon't close dotlock fd if it's given as -1
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

21 years agoAllow giving 0 max_buffer_size, in which case "optimal" size is used.
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

21 years agofixed some fd leaks in error conditions
Timo Sirainen [Mon, 28 Jun 2004 12:08:00 +0000 (15:08 +0300)] 
fixed some fd leaks in error conditions

--HG--
branch : HEAD

21 years agoCheck immediately if we have write-access to mbox.
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

21 years agoSave MD5 sums of some headers for readonly mboxes and use them for syncing
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

21 years agoremoved assert
Timo Sirainen [Thu, 24 Jun 2004 13:43:56 +0000 (16:43 +0300)] 
removed assert

--HG--
branch : HEAD

21 years agoRecord size is allowed to change between index files. This will allow adding
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

21 years agoassertfix
Timo Sirainen [Wed, 23 Jun 2004 20:10:34 +0000 (23:10 +0300)] 
assertfix

--HG--
branch : HEAD

21 years agoAdded a framework for getting POP3 UIDL strings from mail-storage. The
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

21 years agocrashfix if client closes connection while authenticating
Timo Sirainen [Wed, 23 Jun 2004 18:05:14 +0000 (21:05 +0300)] 
crashfix if client closes connection while authenticating

--HG--
branch : HEAD

21 years agoDovecot can now connect to externally running dovecot-auth.
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

21 years agoDEBUG: If GDB environment is set, don't do fd leak checks.
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

21 years agoDefault to "" args instead of NULL to avoid some crashes
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

21 years agoAllow empty section name.
Timo Sirainen [Wed, 23 Jun 2004 16:36:18 +0000 (19:36 +0300)] 
Allow empty section name.

--HG--
branch : HEAD

21 years agoskip extra whitespace between "dbtype arguments"
Timo Sirainen [Wed, 23 Jun 2004 15:02:50 +0000 (18:02 +0300)] 
skip extra whitespace between "dbtype arguments"

--HG--
branch : HEAD

21 years agoAdd a comment about # chars and whitespace.
Timo Sirainen [Wed, 23 Jun 2004 15:00:24 +0000 (18:00 +0300)] 
Add a comment about # chars and whitespace.

--HG--
branch : HEAD

21 years agodon't change our umask permanently
Timo Sirainen [Wed, 23 Jun 2004 14:50:47 +0000 (17:50 +0300)] 
don't change our umask permanently

--HG--
branch : HEAD

21 years agoCrashfixes for disabled cache.
Timo Sirainen [Wed, 23 Jun 2004 13:43:36 +0000 (16:43 +0300)] 
Crashfixes for disabled cache.

--HG--
branch : HEAD

21 years agopartial syncing fixes
Timo Sirainen [Wed, 23 Jun 2004 06:09:00 +0000 (09:09 +0300)] 
partial syncing fixes

--HG--
branch : HEAD

21 years agoComplain about reappearing UIDs, but reassign new UIDs to them anyway. Don't
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

21 years agoWe didn't specify full path for .subscriptions file, and it was named
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

21 years agoget_last_error() wasn't virtualizable
Timo Sirainen [Tue, 22 Jun 2004 07:48:18 +0000 (10:48 +0300)] 
get_last_error() wasn't virtualizable

--HG--
branch : HEAD

21 years agoAdded mail_index_transaction_get_updated_view() which can be used to access
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

21 years agoupdates
Timo Sirainen [Mon, 21 Jun 2004 18:13:21 +0000 (21:13 +0300)] 
updates

--HG--
branch : HEAD

21 years agoRemoved UIDPLUS after all, it needs more thinking about with maildir.
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

21 years agoCache doesn't crash anymore if we're asking it about messages that exist
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

21 years agoDisable cache with mmap_disabled=yes, for now.
Timo Sirainen [Mon, 21 Jun 2004 14:20:08 +0000 (17:20 +0300)] 
Disable cache with mmap_disabled=yes, for now.

--HG--
branch : HEAD

21 years agoMoved enum mail_thread_type to imap
Timo Sirainen [Sun, 20 Jun 2004 21:27:20 +0000 (00:27 +0300)] 
Moved enum mail_thread_type to imap

--HG--
branch : HEAD

21 years agocomment update for setting ports in listen
Timo Sirainen [Sun, 20 Jun 2004 20:55:22 +0000 (23:55 +0300)] 
comment update for setting ports in listen

--HG--
branch : HEAD

21 years agoassertfix
Timo Sirainen [Sun, 20 Jun 2004 20:46:11 +0000 (23:46 +0300)] 
assertfix

--HG--
branch : HEAD

21 years agoand more fixes..
Timo Sirainen [Sun, 20 Jun 2004 20:33:57 +0000 (23:33 +0300)] 
and more fixes..

--HG--
branch : HEAD

21 years agoexpunge everything in index after missing/invalid X-UID
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

21 years agofixes for From-line offset updating
Timo Sirainen [Sun, 20 Jun 2004 13:48:34 +0000 (16:48 +0300)] 
fixes for From-line offset updating

--HG--
branch : HEAD

21 years agoHide "folder internal data" messages
Timo Sirainen [Sun, 20 Jun 2004 13:29:01 +0000 (16:29 +0300)] 
Hide "folder internal data" messages

--HG--
branch : HEAD

21 years agoExclusive index locking always used copy-locking without even trying
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

21 years agoDon't die horribly when message with previously expunged UID is inserted
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

21 years agoassert crashfixes
Timo Sirainen [Sun, 20 Jun 2004 13:02:08 +0000 (16:02 +0300)] 
assert crashfixes

--HG--
branch : HEAD

21 years agoIndex syncing fixes.
Timo Sirainen [Sun, 20 Jun 2004 12:23:27 +0000 (15:23 +0300)] 
Index syncing fixes.

--HG--
branch : HEAD

21 years agoNever overflow secs_left for stale timeout callback
Timo Sirainen [Sun, 20 Jun 2004 11:46:10 +0000 (14:46 +0300)] 
Never overflow secs_left for stale timeout callback

--HG--
branch : HEAD

21 years agofsync() mbox before unlocking if we've modified it
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

21 years agoAllow dropping exclusive mbox locks to shared locks.
Timo Sirainen [Sun, 20 Jun 2004 11:17:53 +0000 (14:17 +0300)] 
Allow dropping exclusive mbox locks to shared locks.

--HG--
branch : HEAD

21 years agoDon't require dotlocking to be first in locking list.
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

21 years agodon't do infinite looping
Timo Sirainen [Sun, 20 Jun 2004 09:40:00 +0000 (12:40 +0300)] 
don't do infinite looping

--HG--
branch : HEAD

21 years agocache file fixes
Timo Sirainen [Sun, 20 Jun 2004 09:34:10 +0000 (12:34 +0300)] 
cache file fixes

--HG--
branch : HEAD

21 years agoDon't crash if transaction log contains records for messages that don't
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

21 years agoSeveral fixes and cleanups to cache file code, still badly broken
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

21 years agoBeginnings of getting cache file working again. Easy to break currently, but
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

21 years agoAPPEND/COPY in non-selected mailbox must not remove the Recent-flag
Timo Sirainen [Sun, 20 Jun 2004 06:33:08 +0000 (09:33 +0300)] 
APPEND/COPY in non-selected mailbox must not remove the Recent-flag

--HG--
branch : HEAD

21 years agomail_index_lookup() set rec=NULL incorrectly.
Timo Sirainen [Sun, 20 Jun 2004 06:30:07 +0000 (09:30 +0300)] 
mail_index_lookup() set rec=NULL incorrectly.

--HG--
branch : HEAD

21 years agoFilter internal headers from user visible input stream. Make mailbox_save()
Timo Sirainen [Sun, 20 Jun 2004 06:21:48 +0000 (09:21 +0300)] 
Filter internal headers from user visible input stream. Make mailbox_save()
use the same header list.

--HG--
branch : HEAD

21 years agoAdded istream-header-filter, which allows filtering specified headers from
Timo Sirainen [Sun, 20 Jun 2004 06:20:32 +0000 (09:20 +0300)] 
Added istream-header-filter, which allows filtering specified headers from
input stream.

--HG--
branch : HEAD

21 years agoAdded bsearch_strcasecmp()
Timo Sirainen [Sun, 20 Jun 2004 06:14:44 +0000 (09:14 +0300)] 
Added bsearch_strcasecmp()

--HG--
branch : HEAD

21 years agoMake sure headers end with LF
Timo Sirainen [Sun, 20 Jun 2004 06:14:00 +0000 (09:14 +0300)] 
Make sure headers end with LF

--HG--
branch : HEAD

21 years agoassertfix
Timo Sirainen [Sun, 20 Jun 2004 04:23:16 +0000 (07:23 +0300)] 
assertfix

--HG--
branch : HEAD

21 years agoExpunge fixes
Timo Sirainen [Sun, 20 Jun 2004 04:18:12 +0000 (07:18 +0300)] 
Expunge fixes

--HG--
branch : HEAD

21 years agomail_index_lookup() and mail_index_lookup_extra() now returns 0 if message
Timo Sirainen [Sun, 20 Jun 2004 04:17:42 +0000 (07:17 +0300)] 
mail_index_lookup() and mail_index_lookup_extra() now returns 0 if message
has been expunged, 1 if not.

--HG--
branch : HEAD

21 years agomailbox_save() and mailbox_copy() functions can now return the saved mail so
Timo Sirainen [Sun, 20 Jun 2004 03:25:32 +0000 (06:25 +0300)] 
mailbox_save() and mailbox_copy() functions can now return the saved mail so
it can be immediately queried. Implemented UIDPLUS extension using it.
Maildir implementation missing, so it crashes with it for now.. APPEND with
mbox now doesn't require resyncing the mailbox since it updates indexes
directly.

--HG--
branch : HEAD

21 years agoSet uid1/uid2 for MAIL_INDEX_SYNC_TYPE_APPEND
Timo Sirainen [Sun, 20 Jun 2004 02:06:13 +0000 (05:06 +0300)] 
Set uid1/uid2 for MAIL_INDEX_SYNC_TYPE_APPEND

--HG--
branch : HEAD

21 years agobugfix for extra-records change
Timo Sirainen [Sun, 20 Jun 2004 00:42:27 +0000 (03:42 +0300)] 
bugfix for extra-records change

--HG--
branch : HEAD

21 years agoread() less often
Timo Sirainen [Sat, 19 Jun 2004 22:06:52 +0000 (01:06 +0300)] 
read() less often

--HG--
branch : HEAD

21 years agoseek optimization
Timo Sirainen [Sat, 19 Jun 2004 22:06:30 +0000 (01:06 +0300)] 
seek optimization

--HG--
branch : HEAD

21 years agoFix for the previous Solaris fix. fd_send() was sending two fds.
Timo Sirainen [Sat, 19 Jun 2004 21:44:01 +0000 (00:44 +0300)] 
Fix for the previous Solaris fix. fd_send() was sending two fds.

--HG--
branch : HEAD

21 years agocleanup
Timo Sirainen [Sat, 19 Jun 2004 21:29:39 +0000 (00:29 +0300)] 
cleanup

--HG--
branch : HEAD

21 years agoif socket is leaked, show also the remote side of it
Timo Sirainen [Sat, 19 Jun 2004 21:24:55 +0000 (00:24 +0300)] 
if socket is leaked, show also the remote side of it

--HG--
branch : HEAD

21 years agominor optimization
Timo Sirainen [Sat, 19 Jun 2004 20:29:08 +0000 (23:29 +0300)] 
minor optimization

--HG--
branch : HEAD

21 years agoUse AC_TRY_LINK() for sendfile() checks so it works right with Solaris. Did
Timo Sirainen [Sat, 19 Jun 2004 20:22:00 +0000 (23:22 +0300)] 
Use AC_TRY_LINK() for sendfile() checks so it works right with Solaris. Did
the same for mremap() too just in case.

--HG--
branch : HEAD

21 years agocreate mbox root directory if it doesn't exist
Timo Sirainen [Sat, 19 Jun 2004 20:15:25 +0000 (23:15 +0300)] 
create mbox root directory if it doesn't exist

--HG--
branch : HEAD

21 years agofix for fix
Timo Sirainen [Sat, 19 Jun 2004 20:07:51 +0000 (23:07 +0300)] 
fix for fix

--HG--
branch : HEAD

21 years agoio_remove() fix
Timo Sirainen [Sat, 19 Jun 2004 20:06:55 +0000 (23:06 +0300)] 
io_remove() fix

--HG--
branch : HEAD

21 years agoRemoved AC_ARG_PROGRAM. Lets see if this breaks anything..
Timo Sirainen [Sat, 19 Jun 2004 19:55:15 +0000 (22:55 +0300)] 
Removed AC_ARG_PROGRAM. Lets see if this breaks anything..

--HG--
branch : HEAD

21 years agofix
Timo Sirainen [Sat, 19 Jun 2004 19:52:25 +0000 (22:52 +0300)] 
fix

--HG--
branch : HEAD

21 years agocontinuing maildir sync fix commit
Timo Sirainen [Sat, 19 Jun 2004 19:22:08 +0000 (22:22 +0300)] 
continuing maildir sync fix commit

--HG--
branch : HEAD

21 years agoDon't crash after empty mailbox gets messages
Timo Sirainen [Sat, 19 Jun 2004 19:16:57 +0000 (22:16 +0300)] 
Don't crash after empty mailbox gets messages

--HG--
branch : HEAD

21 years agoDon't crash if we're syncing last commit to maildir, but some file was lost
Timo Sirainen [Sat, 19 Jun 2004 18:43:19 +0000 (21:43 +0300)] 
Don't crash if we're syncing last commit to maildir, but some file was lost

--HG--
branch : HEAD

21 years agoindex errors always need to store the error message to store
Timo Sirainen [Sat, 19 Jun 2004 18:36:25 +0000 (21:36 +0300)] 
index errors always need to store the error message to store

--HG--
branch : HEAD

21 years agodon't crash if we wanted to lock mbox for reading but it also needs rewriting
Timo Sirainen [Sat, 19 Jun 2004 18:21:44 +0000 (21:21 +0300)] 
don't crash if we wanted to lock mbox for reading but it also needs rewriting

--HG--
branch : HEAD

21 years agominor fix for error handling
Timo Sirainen [Sat, 19 Jun 2004 17:41:30 +0000 (20:41 +0300)] 
minor fix for error handling

--HG--
branch : HEAD

21 years agoNew mails pointed to beginning of file.
Timo Sirainen [Sat, 19 Jun 2004 17:14:18 +0000 (20:14 +0300)] 
New mails pointed to beginning of file.

--HG--
branch : HEAD

21 years agoassert crashfix for readonly mboxes
Timo Sirainen [Sat, 19 Jun 2004 01:04:16 +0000 (04:04 +0300)] 
assert crashfix for readonly mboxes

--HG--
branch : HEAD