]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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
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
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
Timo Sirainen [Wed, 4 Jun 2003 17:39:37 +0000 (20:39 +0300)]
New index files were initialized wrong.
--HG--
branch : HEAD
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
Timo Sirainen [Wed, 4 Jun 2003 17:09:15 +0000 (20:09 +0300)]
assert
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Jun 2003 16:37:56 +0000 (19:37 +0300)]
Check dlopen() from libc before from libdl
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Jun 2003 16:35:11 +0000 (19:35 +0300)]
Give more verbose protocol level errors + some fixes.
--HG--
branch : HEAD
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
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
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
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
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
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
Timo Sirainen [Wed, 4 Jun 2003 13:55:59 +0000 (16:55 +0300)]
Handle syncing better while uidlist is locked.
--HG--
branch : HEAD
Timo Sirainen [Wed, 4 Jun 2003 07:53:17 +0000 (10:53 +0300)]
Log using current time, not ioloop_time.
--HG--
branch : HEAD
Timo Sirainen [Fri, 30 May 2003 11:56:25 +0000 (14:56 +0300)]
was missing #ifdef HAVE_OPENSSL
--HG--
branch : HEAD
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
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
Timo Sirainen [Fri, 30 May 2003 01:07:31 +0000 (04:07 +0300)]
Again RTLD_* fixes.
--HG--
branch : HEAD
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
Timo Sirainen [Thu, 29 May 2003 23:03:59 +0000 (02:03 +0300)]
dlopen wasn't actually checked from libc..
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2003 23:01:47 +0000 (02:01 +0300)]
cleanup
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2003 23:00:05 +0000 (02:00 +0300)]
expunges were broken
--HG--
branch : HEAD
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
Timo Sirainen [Thu, 29 May 2003 22:48:15 +0000 (01:48 +0300)]
comment update
--HG--
branch : HEAD
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
Timo Sirainen [Thu, 29 May 2003 21:51:29 +0000 (00:51 +0300)]
Removed unused variable.
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2003 21:40:35 +0000 (00:40 +0300)]
bugfix
--HG--
branch : HEAD
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
Timo Sirainen [Thu, 29 May 2003 21:23:59 +0000 (00:23 +0300)]
Use less memory
--HG--
branch : HEAD
Timo Sirainen [Thu, 29 May 2003 21:10:08 +0000 (00:10 +0300)]
whops, removed debugging code
--HG--
branch : HEAD
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
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
Timo Sirainen [Wed, 28 May 2003 11:28:42 +0000 (14:28 +0300)]
Check if dlopen is in libc too.
--HG--
branch : HEAD
Timo Sirainen [Wed, 28 May 2003 11:15:04 +0000 (14:15 +0300)]
bugfix with a temporary kludge
--HG--
branch : HEAD
Timo Sirainen [Wed, 28 May 2003 11:04:28 +0000 (14:04 +0300)]
Fixed memory leak.
--HG--
branch : HEAD
Timo Sirainen [Tue, 27 May 2003 21:46:44 +0000 (00:46 +0300)]
STLS was missing from capability list.
--HG--
branch : HEAD
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
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
Timo Sirainen [Mon, 26 May 2003 13:20:25 +0000 (16:20 +0300)]
more verbose error message for "lock timeout"
--HG--
branch : HEAD
Timo Sirainen [Mon, 26 May 2003 13:07:12 +0000 (16:07 +0300)]
bugfix
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2003 15:21:44 +0000 (18:21 +0300)]
fix
--HG--
branch : HEAD
Timo Sirainen [Sat, 24 May 2003 15:16:47 +0000 (18:16 +0300)]
bugfixes
--HG--
branch : HEAD
Timo Sirainen [Fri, 23 May 2003 14:48:23 +0000 (17:48 +0300)]
wasn't supposed to be committed
--HG--
branch : HEAD
Timo Sirainen [Fri, 23 May 2003 14:47:25 +0000 (17:47 +0300)]
Extra asserts
--HG--
branch : HEAD
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
Timo Sirainen [Fri, 23 May 2003 14:39:45 +0000 (17:39 +0300)]
Minor speedup
--HG--
branch : HEAD
Timo Sirainen [Fri, 23 May 2003 14:12:43 +0000 (17:12 +0300)]
minor speedup
--HG--
branch : HEAD
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
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
Timo Sirainen [Wed, 21 May 2003 11:42:47 +0000 (14:42 +0300)]
Fixed index corruption
--HG--
branch : HEAD
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
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
Timo Sirainen [Tue, 20 May 2003 18:05:32 +0000 (21:05 +0300)]
Support From-lines which contain timezone in timestamp.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 May 2003 09:57:02 +0000 (12:57 +0300)]
fixes
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 May 2003 09:50:24 +0000 (12:50 +0300)]
Added pool_get_name(), for debugging mostly.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 May 2003 06:56:46 +0000 (09:56 +0300)]
crahsfix
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 May 2003 06:35:02 +0000 (09:35 +0300)]
fixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 May 2003 16:37:56 +0000 (19:37 +0300)]
s/host/addr/ in variables
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 May 2003 16:37:04 +0000 (19:37 +0300)]
s/host/addr/ in a few network functions
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 May 2003 16:26:26 +0000 (19:26 +0300)]
Send client's IP to mail process.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 May 2003 16:02:46 +0000 (19:02 +0300)]
More robust error handling for mbox.
--HG--
branch : HEAD
Timo Sirainen [Sun, 18 May 2003 12:56:14 +0000 (15:56 +0300)]
Some fixes to handling read-only maildirs.
--HG--
branch : HEAD
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
Timo Sirainen [Sun, 18 May 2003 12:23:03 +0000 (15:23 +0300)]
Misc. fixes.
--HG--
branch : HEAD
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
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
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
Timo Sirainen [Sat, 17 May 2003 09:08:10 +0000 (12:08 +0300)]
Don't try to cork files.
--HG--
branch : HEAD
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
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
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
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
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
Timo Sirainen [Wed, 14 May 2003 18:37:07 +0000 (21:37 +0300)]
mboxes were always selected read-only
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 May 2003 18:31:02 +0000 (21:31 +0300)]
AUTH_MODULES -> HAVE_MODULES
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 May 2003 18:29:53 +0000 (21:29 +0300)]
fix
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 May 2003 18:25:52 +0000 (21:25 +0300)]
No, still no oracle here..
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 May 2003 18:23:40 +0000 (21:23 +0300)]
missing
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 May 2003 18:23:04 +0000 (21:23 +0300)]
Added support for dynamically loadable imap/pop3 modules.
--HG--
branch : HEAD
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
Timo Sirainen [Mon, 12 May 2003 06:15:25 +0000 (09:15 +0300)]
fix
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 May 2003 06:14:49 +0000 (09:14 +0300)]
libstorage_index_* -> libindex_*
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 May 2003 06:13:38 +0000 (09:13 +0300)]
Dependency fixes
--HG--
branch : HEAD
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
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
Timo Sirainen [Sun, 11 May 2003 14:43:16 +0000 (17:43 +0300)]
Unexpected SSL connection errors sometimes crashed
--HG--
branch : HEAD
Timo Sirainen [Sun, 11 May 2003 14:27:28 +0000 (17:27 +0300)]
cleanups
--HG--
branch : HEAD
Timo Sirainen [Sun, 11 May 2003 11:33:43 +0000 (14:33 +0300)]
If we don't have access to write subscriptions file, say "permission denied"
to user rather than internal error
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 May 2003 05:34:36 +0000 (08:34 +0300)]
DELETE should report success to client even if it can't actually delete the
folder, as long as it can rename it to "..dir".
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 18:59:38 +0000 (21:59 +0300)]
We have to sync dovecot-uidlist before indexing mails in new/ dir or we'll
get UID conflicts.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 15:53:07 +0000 (18:53 +0300)]
check lstat() error too
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 13:56:32 +0000 (16:56 +0300)]
Returned errno was often wrong.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 11:35:28 +0000 (14:35 +0300)]
No, actually it's valid for server to just ignore any non-permanent flag
updates.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 11:30:32 +0000 (14:30 +0300)]
EXPUNGE should reply OK even if mailbox is read-only. STORE should use
per-session flags, but we'll leave it as FIXME for now..
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 08:59:48 +0000 (11:59 +0300)]
In-memory indexes didn't set index->opened.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 06:59:17 +0000 (09:59 +0300)]
Updates by Farkas Levente
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 05:44:37 +0000 (08:44 +0300)]
Give "Permission denied" error instead of internal error if some call fails
with EACCES.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 May 2003 05:08:29 +0000 (08:08 +0300)]
Don't try to rewrite mbox file if it's read-only.
--HG--
branch : HEAD