]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
22 years agoMake sure PRNG gets initialized before chrooting so it can open /dev/urandom.
Timo Sirainen [Wed, 18 Jun 2003 01:12:32 +0000 (04:12 +0300)] 
Make sure PRNG gets initialized before chrooting so it can open /dev/urandom.

--HG--
branch : HEAD

22 years agos/max_logging_users/login_max_logging_users/
Timo Sirainen [Mon, 16 Jun 2003 14:39:51 +0000 (17:39 +0300)] 
s/max_logging_users/login_max_logging_users/

--HG--
branch : HEAD

22 years agocompile fixes
Timo Sirainen [Mon, 16 Jun 2003 08:31:51 +0000 (11:31 +0300)] 
compile fixes

--HG--
branch : HEAD

22 years agoupdated
Timo Sirainen [Sun, 15 Jun 2003 04:02:05 +0000 (07:02 +0300)] 
updated

--HG--
branch : HEAD

22 years agoOnly NOOP and CHECK will now always do a real mailbox sync. Other commands
Timo Sirainen [Sun, 15 Jun 2003 03:42:28 +0000 (06:42 +0300)] 
Only NOOP and CHECK will now always do a real mailbox sync. Other commands
will also do it but no often than once in 5 seconds. Also with maildir we
don't anymore try to sync it before running commands since syncing is now
done automatically whenever we try to access a file that doesn't exist.

--HG--
branch : HEAD

22 years agowhops, don't commit debugging
Timo Sirainen [Sun, 15 Jun 2003 02:22:28 +0000 (05:22 +0300)] 
whops, don't commit debugging

--HG--
branch : HEAD

22 years agoDirty maildir flags support works now.
Timo Sirainen [Sun, 15 Jun 2003 02:20:52 +0000 (05:20 +0300)] 
Dirty maildir flags support works now.

--HG--
branch : HEAD

22 years agoMake sure we unlock index before unreferencing it, since it's not actually
Timo Sirainen [Sun, 15 Jun 2003 02:20:12 +0000 (05:20 +0300)] 
Make sure we unlock index before unreferencing it, since it's not actually
closed at that time

--HG--
branch : HEAD

22 years agoWe might have crashed if we ended up killing login processes with too old
Timo Sirainen [Sun, 15 Jun 2003 01:11:16 +0000 (04:11 +0300)] 
We might have crashed if we ended up killing login processes with too old
auth requests.

--HG--
branch : HEAD

22 years ago"SEARCH DELETED" didn't return anything if all messages were deleted.
Timo Sirainen [Sat, 14 Jun 2003 17:43:26 +0000 (20:43 +0300)] 
"SEARCH DELETED" didn't return anything if all messages were deleted.

--HG--
branch : HEAD

22 years agoClose index files before deleting the mailbox.
Timo Sirainen [Sat, 14 Jun 2003 17:38:06 +0000 (20:38 +0300)] 
Close index files before deleting the mailbox.

--HG--
branch : HEAD

22 years agoCheck for EISDIR error as well. Fixed problems with BSD/OS.
Timo Sirainen [Sat, 14 Jun 2003 17:22:02 +0000 (20:22 +0300)] 
Check for EISDIR error as well. Fixed problems with BSD/OS.

--HG--
branch : HEAD

22 years agoOpenSSL proxy changes - hopefully fixes something. Also don't crash with
Timo Sirainen [Wed, 11 Jun 2003 23:26:13 +0000 (02:26 +0300)] 
OpenSSL proxy changes - hopefully fixes something. Also don't crash with
"key not found from hash" if SSL handshake fails.

--HG--
branch : HEAD

22 years agoRemoved useless parameters from message_get_body_size(). Also did some small
Timo Sirainen [Wed, 4 Jun 2003 23:00:44 +0000 (02:00 +0300)] 
Removed useless parameters from message_get_body_size(). Also did some small
optimizations to it.

--HG--
branch : HEAD

22 years agoNew index files were initialized wrong.
Timo Sirainen [Wed, 4 Jun 2003 17:39:37 +0000 (20:39 +0300)] 
New index files were initialized wrong.

--HG--
branch : HEAD

22 years agombox with in-memory indexes don't have control_dir and doesn't need it, so
Timo Sirainen [Wed, 4 Jun 2003 17:09:56 +0000 (20:09 +0300)] 
mbox with in-memory indexes don't have control_dir and doesn't need it, so
don't crash then.

--HG--
branch : HEAD

22 years agoassert
Timo Sirainen [Wed, 4 Jun 2003 17:09:15 +0000 (20:09 +0300)] 
assert

--HG--
branch : HEAD

22 years agoCheck dlopen() from libc before from libdl
Timo Sirainen [Wed, 4 Jun 2003 16:37:56 +0000 (19:37 +0300)] 
Check dlopen() from libc before from libdl

--HG--
branch : HEAD

22 years agoGive more verbose protocol level errors + some fixes.
Timo Sirainen [Wed, 4 Jun 2003 16:35:11 +0000 (19:35 +0300)] 
Give more verbose protocol level errors + some fixes.

--HG--
branch : HEAD

22 years agoAdd charset/us-ascii into body/bodystructure replies if no charset is given
Timo Sirainen [Wed, 4 Jun 2003 16:13:23 +0000 (19:13 +0300)] 
Add charset/us-ascii into body/bodystructure replies if no charset is given
for text/* body parts.

--HG--
branch : HEAD

22 years agoActually it should assume that beginning of string is LWSP..
Timo Sirainen [Wed, 4 Jun 2003 16:03:47 +0000 (19:03 +0300)] 
Actually it should assume that beginning of string is LWSP..

--HG--
branch : HEAD

22 years agoimap_quote_append() shouldn't have checked previous string for lwsp
Timo Sirainen [Wed, 4 Jun 2003 16:03:15 +0000 (19:03 +0300)] 
imap_quote_append() shouldn't have checked previous string for lwsp

--HG--
branch : HEAD

22 years agoIMAP protocol doesn't allow server to send NULs to client. Send ascii #128
Timo Sirainen [Wed, 4 Jun 2003 15:57:58 +0000 (18:57 +0300)] 
IMAP protocol doesn't allow server to send NULs to client. Send ascii #128
instead.

--HG--
branch : HEAD

22 years agoimap_quote*() will now pack all LWSP into a single space and convert NULs to
Timo Sirainen [Wed, 4 Jun 2003 14:48:38 +0000 (17:48 +0300)] 
imap_quote*() will now pack all LWSP into a single space and convert NULs to
ascii 128.

--HG--
branch : HEAD

22 years agomessage_parse_header(): skip all LWSP after ':' or in continued header. It's
Timo Sirainen [Wed, 4 Jun 2003 14:47:22 +0000 (17:47 +0300)] 
message_parse_header(): skip all LWSP after ':' or in continued header. It's
not what RFC2822 says, but it's historically better behaviour.

--HG--
branch : HEAD

22 years agoHandle syncing better while uidlist is locked.
Timo Sirainen [Wed, 4 Jun 2003 13:55:59 +0000 (16:55 +0300)] 
Handle syncing better while uidlist is locked.

--HG--
branch : HEAD

22 years agoLog using current time, not ioloop_time.
Timo Sirainen [Wed, 4 Jun 2003 07:53:17 +0000 (10:53 +0300)] 
Log using current time, not ioloop_time.

--HG--
branch : HEAD

22 years agowas missing #ifdef HAVE_OPENSSL
Timo Sirainen [Fri, 30 May 2003 11:56:25 +0000 (14:56 +0300)] 
was missing #ifdef HAVE_OPENSSL

--HG--
branch : HEAD

22 years agoKeep mailbox indexes cached for a while after they've been closed. Should
Timo Sirainen [Fri, 30 May 2003 02:01:15 +0000 (05:01 +0300)] 
Keep mailbox indexes cached for a while after they've been closed. Should
speed up at least multiple APPENDs.

--HG--
branch : HEAD

22 years agoIf we're asking only custom flags (eg. APPEND), don't do any mailbox syncing.
Timo Sirainen [Fri, 30 May 2003 01:53:07 +0000 (04:53 +0300)] 
If we're asking only custom flags (eg. APPEND), don't do any mailbox syncing.

--HG--
branch : HEAD

22 years agoAgain RTLD_* fixes.
Timo Sirainen [Fri, 30 May 2003 01:07:31 +0000 (04:07 +0300)] 
Again RTLD_* fixes.

--HG--
branch : HEAD

22 years agoAll systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0.
Timo Sirainen [Fri, 30 May 2003 01:02:06 +0000 (04:02 +0300)] 
All systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0.

--HG--
branch : HEAD

22 years agodlopen wasn't actually checked from libc..
Timo Sirainen [Thu, 29 May 2003 23:03:59 +0000 (02:03 +0300)] 
dlopen wasn't actually checked from libc..

--HG--
branch : HEAD

22 years agocleanup
Timo Sirainen [Thu, 29 May 2003 23:01:47 +0000 (02:01 +0300)] 
cleanup

--HG--
branch : HEAD

22 years agoexpunges were broken
Timo Sirainen [Thu, 29 May 2003 23:00:05 +0000 (02:00 +0300)] 
expunges were broken

--HG--
branch : HEAD

22 years agoSome fixes/cleanups for cases when maildir doesn't exist
Timo Sirainen [Thu, 29 May 2003 22:49:19 +0000 (01:49 +0300)] 
Some fixes/cleanups for cases when maildir doesn't exist

--HG--
branch : HEAD

22 years agocomment update
Timo Sirainen [Thu, 29 May 2003 22:48:15 +0000 (01:48 +0300)] 
comment update

--HG--
branch : HEAD

22 years agoFixes for syncing mails that are kept in new/ dir.
Timo Sirainen [Thu, 29 May 2003 22:48:02 +0000 (01:48 +0300)] 
Fixes for syncing mails that are kept in new/ dir.

--HG--
branch : HEAD

22 years agoRemoved unused variable.
Timo Sirainen [Thu, 29 May 2003 21:51:29 +0000 (00:51 +0300)] 
Removed unused variable.

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Thu, 29 May 2003 21:40:35 +0000 (00:40 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agomail_index_data_get_mmaped() didn't work with in-memory indexes
Timo Sirainen [Thu, 29 May 2003 21:37:53 +0000 (00:37 +0300)] 
mail_index_data_get_mmaped() didn't work with in-memory indexes

--HG--
branch : HEAD

22 years agoUse less memory
Timo Sirainen [Thu, 29 May 2003 21:23:59 +0000 (00:23 +0300)] 
Use less memory

--HG--
branch : HEAD

22 years agowhops, removed debugging code
Timo Sirainen [Thu, 29 May 2003 21:10:08 +0000 (00:10 +0300)] 
whops, removed debugging code

--HG--
branch : HEAD

22 years agouidlist file is read/updated much less often now. did some other
Timo Sirainen [Thu, 29 May 2003 21:08:53 +0000 (00:08 +0300)] 
uidlist file is read/updated much less often now. did some other
improvements for syncing as well.

--HG--
branch : HEAD

22 years agoflag updates and expunge now set the cur/ dirty-synced to avoid extra sync
Timo Sirainen [Thu, 29 May 2003 14:15:57 +0000 (17:15 +0300)] 
flag updates and expunge now set the cur/ dirty-synced to avoid extra sync
after them.

--HG--
branch : HEAD

22 years agoCheck if dlopen is in libc too.
Timo Sirainen [Wed, 28 May 2003 11:28:42 +0000 (14:28 +0300)] 
Check if dlopen is in libc too.

--HG--
branch : HEAD

22 years agobugfix with a temporary kludge
Timo Sirainen [Wed, 28 May 2003 11:15:04 +0000 (14:15 +0300)] 
bugfix with a temporary kludge

--HG--
branch : HEAD

22 years agoFixed memory leak.
Timo Sirainen [Wed, 28 May 2003 11:04:28 +0000 (14:04 +0300)] 
Fixed memory leak.

--HG--
branch : HEAD

22 years agoSTLS was missing from capability list.
Timo Sirainen [Tue, 27 May 2003 21:46:44 +0000 (00:46 +0300)] 
STLS was missing from capability list.

--HG--
branch : HEAD

22 years agoIf mail didn't end with linefeed, we sent it wrong.
Timo Sirainen [Tue, 27 May 2003 07:13:42 +0000 (10:13 +0300)] 
If mail didn't end with linefeed, we sent it wrong.

--HG--
branch : HEAD

22 years agoAllow first_valid_gid to be 0. Drop any supplementary groups not in valid
Timo Sirainen [Mon, 26 May 2003 15:26:29 +0000 (18:26 +0300)] 
Allow first_valid_gid to be 0. Drop any supplementary groups not in valid
gid range.

--HG--
branch : HEAD

22 years agomore verbose error message for "lock timeout"
Timo Sirainen [Mon, 26 May 2003 13:20:25 +0000 (16:20 +0300)] 
more verbose error message for "lock timeout"

--HG--
branch : HEAD

22 years agobugfix
Timo Sirainen [Mon, 26 May 2003 13:07:12 +0000 (16:07 +0300)] 
bugfix

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Sat, 24 May 2003 15:21:44 +0000 (18:21 +0300)] 
fix

--HG--
branch : HEAD

22 years agobugfixes
Timo Sirainen [Sat, 24 May 2003 15:16:47 +0000 (18:16 +0300)] 
bugfixes

--HG--
branch : HEAD

22 years agowasn't supposed to be committed
Timo Sirainen [Fri, 23 May 2003 14:48:23 +0000 (17:48 +0300)] 
wasn't supposed to be committed

--HG--
branch : HEAD

22 years agoExtra asserts
Timo Sirainen [Fri, 23 May 2003 14:47:25 +0000 (17:47 +0300)] 
Extra asserts

--HG--
branch : HEAD

22 years agoRemoved I/O priorities. They were pretty much useless and were just getting
Timo Sirainen [Fri, 23 May 2003 14:40:49 +0000 (17:40 +0300)] 
Removed I/O priorities. They were pretty much useless and were just getting
in way.

--HG--
branch : HEAD

22 years agoMinor speedup
Timo Sirainen [Fri, 23 May 2003 14:39:45 +0000 (17:39 +0300)] 
Minor speedup

--HG--
branch : HEAD

22 years agominor speedup
Timo Sirainen [Fri, 23 May 2003 14:12:43 +0000 (17:12 +0300)] 
minor speedup

--HG--
branch : HEAD

22 years agoClear old poll revents when removing the IO. Just extra sanity check.
Timo Sirainen [Fri, 23 May 2003 13:54:51 +0000 (16:54 +0300)] 
Clear old poll revents when removing the IO. Just extra sanity check.

--HG--
branch : HEAD

22 years agoReset line->name and full_value* fields at end of headers. Envelope parser
Timo Sirainen [Thu, 22 May 2003 23:04:41 +0000 (02:04 +0300)] 
Reset line->name and full_value* fields at end of headers. Envelope parser
was treating the EOH as duplicate of last header.

--HG--
branch : HEAD

22 years agoFixed index corruption
Timo Sirainen [Wed, 21 May 2003 11:42:47 +0000 (14:42 +0300)] 
Fixed index corruption

--HG--
branch : HEAD

22 years agoCheck that imap/pop3 module directories exist if they're enabled. Give a
Timo Sirainen [Tue, 20 May 2003 18:49:41 +0000 (21:49 +0300)] 
Check that imap/pop3 module directories exist if they're enabled. Give a
warning if module support is enabled in config file but not built into
binary.

--HG--
branch : HEAD

22 years agoGenerate temporary RSA key when requested. Could be slow, should do some
Timo Sirainen [Tue, 20 May 2003 18:22:04 +0000 (21:22 +0300)] 
Generate temporary RSA key when requested. Could be slow, should do some
caching in master process side..

--HG--
branch : HEAD

22 years agoSupport From-lines which contain timezone in timestamp.
Timo Sirainen [Tue, 20 May 2003 18:05:32 +0000 (21:05 +0300)] 
Support From-lines which contain timezone in timestamp.

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Mon, 19 May 2003 09:57:02 +0000 (12:57 +0300)] 
fixes

--HG--
branch : HEAD

22 years agoAdded pool_get_name(), for debugging mostly.
Timo Sirainen [Mon, 19 May 2003 09:50:24 +0000 (12:50 +0300)] 
Added pool_get_name(), for debugging mostly.

--HG--
branch : HEAD

22 years agocrahsfix
Timo Sirainen [Mon, 19 May 2003 06:56:46 +0000 (09:56 +0300)] 
crahsfix

--HG--
branch : HEAD

22 years agofixes
Timo Sirainen [Mon, 19 May 2003 06:35:02 +0000 (09:35 +0300)] 
fixes

--HG--
branch : HEAD

22 years agos/host/addr/ in variables
Timo Sirainen [Sun, 18 May 2003 16:37:56 +0000 (19:37 +0300)] 
s/host/addr/ in variables

--HG--
branch : HEAD

22 years agos/host/addr/ in a few network functions
Timo Sirainen [Sun, 18 May 2003 16:37:04 +0000 (19:37 +0300)] 
s/host/addr/ in a few network functions

--HG--
branch : HEAD

22 years agoSend client's IP to mail process.
Timo Sirainen [Sun, 18 May 2003 16:26:26 +0000 (19:26 +0300)] 
Send client's IP to mail process.

--HG--
branch : HEAD

22 years agoMore robust error handling for mbox.
Timo Sirainen [Sun, 18 May 2003 16:02:46 +0000 (19:02 +0300)] 
More robust error handling for mbox.

--HG--
branch : HEAD

22 years agoSome fixes to handling read-only maildirs.
Timo Sirainen [Sun, 18 May 2003 12:56:14 +0000 (15:56 +0300)] 
Some fixes to handling read-only maildirs.

--HG--
branch : HEAD

22 years agoMaildir syncing updates: it's now faster, it handles read-only folders, it
Timo Sirainen [Sun, 18 May 2003 12:26:06 +0000 (15:26 +0300)] 
Maildir syncing updates: it's now faster, it handles read-only folders, it
handles many out of disk space conditions (uidlist doesn't) and all commands
finally handle the condition when maildir filename was renamed after
our syncing but before we had the chance to open it.

--HG--
branch : HEAD

22 years agoMisc. fixes.
Timo Sirainen [Sun, 18 May 2003 12:23:03 +0000 (15:23 +0300)] 
Misc. fixes.

--HG--
branch : HEAD

22 years agoMaildir: CONTROL=<dir> in MAIL environment now specifies where to save
Timo Sirainen [Sat, 17 May 2003 13:09:54 +0000 (16:09 +0300)] 
Maildir: CONTROL=<dir> in MAIL environment now specifies where to save
.customflags and dovecot-uidlist files. This can be useful if the main
mail directory is under hard quota.

--HG--
branch : HEAD

22 years agoAutomatically set file streams to blocking and don't try to io_add() them.
Timo Sirainen [Sat, 17 May 2003 09:28:49 +0000 (12:28 +0300)] 
Automatically set file streams to blocking and don't try to io_add() them.

--HG--
branch : HEAD

22 years agoIf there's no limit in stream, don't fail with "unexpected EOF".
Timo Sirainen [Sat, 17 May 2003 09:16:16 +0000 (12:16 +0300)] 
If there's no limit in stream, don't fail with "unexpected EOF".

--HG--
branch : HEAD

22 years agoDon't try to cork files.
Timo Sirainen [Sat, 17 May 2003 09:08:10 +0000 (12:08 +0300)] 
Don't try to cork files.

--HG--
branch : HEAD

22 years agoIf there were no timeouts, struct timeval wasn't initialized and select()
Timo Sirainen [Fri, 16 May 2003 17:14:54 +0000 (20:14 +0300)] 
If there were no timeouts, struct timeval wasn't initialized and select()
might have failed because of it. Patch by Mark E. Mallett.

--HG--
branch : HEAD

22 years agoIf client tries to do LOGIN even if it's disabled, send [ALERT] to user.
Timo Sirainen [Fri, 16 May 2003 17:09:42 +0000 (20:09 +0300)] 
If client tries to do LOGIN even if it's disabled, send [ALERT] to user.

--HG--
branch : HEAD

22 years agoDon't advertise AUTH=PLAIN in capability if disable_plaintext_auth = yes and
Timo Sirainen [Fri, 16 May 2003 17:05:42 +0000 (20:05 +0300)] 
Don't advertise AUTH=PLAIN in capability if disable_plaintext_auth = yes and
SSL/TLS is not yet negotiated.

--HG--
branch : HEAD

22 years agoReset the header using mmaped memory + msync, instead of lseek() + write()
Timo Sirainen [Thu, 15 May 2003 19:42:12 +0000 (22:42 +0300)] 
Reset the header using mmaped memory + msync, instead of lseek() + write()
which was buggy with OpenBSD (didn't update the mmap).

--HG--
branch : HEAD

22 years agoRenamed buffer_*_space() to buffer_*_space_unsafe() and added several
Timo Sirainen [Thu, 15 May 2003 19:22:21 +0000 (22:22 +0300)] 
Renamed buffer_*_space() to buffer_*_space_unsafe() and added several
warnings about using them. Fixed their usage in a few places in sources
where they could have produced invalid results (no buffer overflows,
luckily).

--HG--
branch : HEAD

22 years agomboxes were always selected read-only
Timo Sirainen [Wed, 14 May 2003 18:37:07 +0000 (21:37 +0300)] 
mboxes were always selected read-only

--HG--
branch : HEAD

22 years agoAUTH_MODULES -> HAVE_MODULES
Timo Sirainen [Wed, 14 May 2003 18:31:02 +0000 (21:31 +0300)] 
AUTH_MODULES -> HAVE_MODULES

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Wed, 14 May 2003 18:29:53 +0000 (21:29 +0300)] 
fix

--HG--
branch : HEAD

22 years agoNo, still no oracle here..
Timo Sirainen [Wed, 14 May 2003 18:25:52 +0000 (21:25 +0300)] 
No, still no oracle here..

--HG--
branch : HEAD

22 years agomissing
Timo Sirainen [Wed, 14 May 2003 18:23:40 +0000 (21:23 +0300)] 
missing

--HG--
branch : HEAD

22 years agoAdded support for dynamically loadable imap/pop3 modules.
Timo Sirainen [Wed, 14 May 2003 18:23:04 +0000 (21:23 +0300)] 
Added support for dynamically loadable imap/pop3 modules.

--HG--
branch : HEAD

22 years agoAdded command_register() and related functions so we can dynamically
Timo Sirainen [Wed, 14 May 2003 17:23:11 +0000 (20:23 +0300)] 
Added command_register() and related functions so we can dynamically
register new commands.

--HG--
branch : HEAD

22 years agofix
Timo Sirainen [Mon, 12 May 2003 06:15:25 +0000 (09:15 +0300)] 
fix

--HG--
branch : HEAD

22 years agolibstorage_index_* -> libindex_*
Timo Sirainen [Mon, 12 May 2003 06:14:49 +0000 (09:14 +0300)] 
libstorage_index_* -> libindex_*

--HG--
branch : HEAD

22 years agoDependency fixes
Timo Sirainen [Mon, 12 May 2003 06:13:38 +0000 (09:13 +0300)] 
Dependency fixes

--HG--
branch : HEAD

22 years agoDon't check errno of getpwnam() and getspnam() functions. They don't seem to
Timo Sirainen [Mon, 12 May 2003 06:04:04 +0000 (09:04 +0300)] 
Don't check errno of getpwnam() and getspnam() functions. They don't seem to
be set correctly in all systems and it's unlikely the error is anything else
than "user doesn't exist".

--HG--
branch : HEAD

22 years agoDon't give internal errors when trying to select, delete or rename
Timo Sirainen [Mon, 12 May 2003 05:44:05 +0000 (08:44 +0300)] 
Don't give internal errors when trying to select, delete or rename
(non-existing) mailboxes under mbox.

--HG--
branch : HEAD

22 years agoUnexpected SSL connection errors sometimes crashed
Timo Sirainen [Sun, 11 May 2003 14:43:16 +0000 (17:43 +0300)] 
Unexpected SSL connection errors sometimes crashed

--HG--
branch : HEAD

22 years agocleanups
Timo Sirainen [Sun, 11 May 2003 14:27:28 +0000 (17:27 +0300)] 
cleanups

--HG--
branch : HEAD