]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Sun, 9 Feb 2003 17:23:20 +0000 (19:23 +0200)]
More realm fixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 9 Feb 2003 17:10:19 +0000 (19:10 +0200)]
usernames with '@' char were supposed to be treated as user@realm, but that
was a bit buggy
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 19:09:40 +0000 (21:09 +0200)]
Allocate larger initial pool for maildir syncing.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 18:58:49 +0000 (20:58 +0200)]
DEBUG: we cleared wrong memory block..
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 17:13:36 +0000 (19:13 +0200)]
Moved login process verbose stuff under verbose_debug.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 15:42:46 +0000 (17:42 +0200)]
/dev/stderr works now in log paths.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 15:30:10 +0000 (17:30 +0200)]
Don't check log dir permission if the log file already exists
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 15:14:38 +0000 (17:14 +0200)]
And remove the flock default from here too..
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 15:00:35 +0000 (17:00 +0200)]
OpenPAM uses const too.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 14:16:11 +0000 (16:16 +0200)]
Show the fd we're sending to master if fd_send() fails.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 14:13:20 +0000 (16:13 +0200)]
Don't start those login processes that aren't enabled in protocols setting.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 14:10:40 +0000 (16:10 +0200)]
Don't complain about unexpected auth disconnections actually, that's normal
during shutdown.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 14:09:27 +0000 (16:09 +0200)]
STARTTLS handshake failure fixes.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 14:08:57 +0000 (16:08 +0200)]
There's no space before "* OK"
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 13:53:07 +0000 (15:53 +0200)]
Don't bother trying sendfile() more than once with the stream.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 13:52:51 +0000 (15:52 +0200)]
FreeBSD's sendfile() works only with sockets. Replace errno with EINVAL to
make it look like sendfile isn't supported.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 13:43:13 +0000 (15:43 +0200)]
Don't use flock() locking by default. Using both fcntl+flock doesn't work
with FreeBSD.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 13:13:12 +0000 (15:13 +0200)]
Autodetect /var/mail/%u and /var/spool/mail/%u INBOXes.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 12:56:25 +0000 (14:56 +0200)]
DEBUG: fill memory with 0xde before freeing it
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 12:38:18 +0000 (14:38 +0200)]
use the file size only for regular files. FreeBSD gave sockets a size of 4
which broke things.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 12:24:54 +0000 (14:24 +0200)]
Warn if auth process disconnected.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 12:15:12 +0000 (14:15 +0200)]
Don't crash if authentication was aborted too early.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 10:44:01 +0000 (12:44 +0200)]
Don't do x-unknown mime encoding. Correct way is to just send them as
literals to client. ENVELOPE, BODY and BODYSTRUCTURE replies are now always
sent as literals if they contain 8bit text, '"' or '\' characters.
Added option to IMAP parser to return literals with IMAP_ARG_LITERAL type.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 09:31:00 +0000 (11:31 +0200)]
cleanups
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 09:11:54 +0000 (11:11 +0200)]
Have to check that msg_controllen is large enough, otherwise cmsg points to
uninitialized buffer (at least with freebsd).
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 09:00:26 +0000 (11:00 +0200)]
Don't try to set rlimits to infinity, rather just don't change them.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 08:07:31 +0000 (10:07 +0200)]
Some extra checks to make sure we notice if auth process ID is 0.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 07:48:22 +0000 (09:48 +0200)]
Variable type changes, fixes compiler warning.
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 07:42:27 +0000 (09:42 +0200)]
Don't skip trailing whitespace, it might be wanted (eg. log_timestamp).
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 07:40:36 +0000 (09:40 +0200)]
[ipv6 address] didn't work in *_listen
--HG--
branch : HEAD
Timo Sirainen [Sat, 8 Feb 2003 06:33:30 +0000 (08:33 +0200)]
We handled '=' at end of line wrong.
--HG--
branch : HEAD
Timo Sirainen [Thu, 6 Feb 2003 02:31:31 +0000 (04:31 +0200)]
Print also the fd number if it fails.
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 07:04:43 +0000 (09:04 +0200)]
Don't complain about missing *-login binaries if they're not enabled.
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 03:49:13 +0000 (05:49 +0200)]
Building in separate directory didn't work
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 03:37:51 +0000 (05:37 +0200)]
Valid From-line parsing could have crashed too.
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 03:25:44 +0000 (05:25 +0200)]
Missing headers
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 03:24:47 +0000 (05:24 +0200)]
missing db-ldap.h
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 03:24:38 +0000 (05:24 +0200)]
cleanups
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 02:42:32 +0000 (04:42 +0200)]
Dovecot might have crashed sometimes when accessing mbox with invalid
From-lines (eg. in the middle of the message body).
--HG--
branch : HEAD
Timo Sirainen [Tue, 4 Feb 2003 00:34:54 +0000 (02:34 +0200)]
s/PASSDB_PASSWD/PASSWD_SHADOW/
--HG--
branch : HEAD
Timo Sirainen [Mon, 3 Feb 2003 05:17:24 +0000 (07:17 +0200)]
Check for shadow.h before assuming shadow auth is possible.
--HG--
branch : HEAD
Timo Sirainen [Mon, 3 Feb 2003 05:11:16 +0000 (07:11 +0200)]
STATUS cleared \Recent flags from messages
--HG--
branch : HEAD
Timo Sirainen [Mon, 3 Feb 2003 05:01:05 +0000 (07:01 +0200)]
We don't need to raise SIGHUP in alarm handler, that was just a mistake in
first tests. That also means gdb won't break at SIGALRM and I can remove the
DISABLE_ALARMHUP kludge.
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 10:59:58 +0000 (12:59 +0200)]
Define OPENLDAP_ASYNC_WORKAROUND
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 10:53:43 +0000 (12:53 +0200)]
Send protocol with auth requests
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 10:46:20 +0000 (12:46 +0200)]
Moved more auth code to login-common.
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 10:16:42 +0000 (12:16 +0200)]
auth: kill login connection if it leaves requests hanging too long.
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 09:45:07 +0000 (11:45 +0200)]
make sure we don't access free'd memory if auth process dies.
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 09:30:18 +0000 (11:30 +0200)]
fixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 08:11:33 +0000 (10:11 +0200)]
s/imap-auth/auth process/
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 07:10:45 +0000 (09:10 +0200)]
STARTTLS commands crashed. imap-login STARTTLS also ignored next command.
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 00:32:21 +0000 (02:32 +0200)]
finally working
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 00:21:17 +0000 (02:21 +0200)]
maybe now?
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 00:19:34 +0000 (02:19 +0200)]
more fixes
--HG--
branch : HEAD
Timo Sirainen [Sun, 2 Feb 2003 00:08:28 +0000 (02:08 +0200)]
auth process fixes, LDAP seems to be working (with the kludge define or
fixed libldap)
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 11:54:42 +0000 (13:54 +0200)]
um. still not.
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 11:53:54 +0000 (13:53 +0200)]
Changing login_dir or login_chroot wasn't possible
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 11:44:57 +0000 (13:44 +0200)]
Message size was returned with wrong type
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 11:44:40 +0000 (13:44 +0200)]
Don't crash if we couldn't open message.
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 11:37:22 +0000 (13:37 +0200)]
Fixes to SEARCH SENT*
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 11:24:17 +0000 (13:24 +0200)]
Several search fixes, mostly related to matching multiple conditions.
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 10:29:17 +0000 (12:29 +0200)]
Giving >7 args to imap command was buggy
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 10:16:34 +0000 (12:16 +0200)]
wrong debug check
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 10:12:23 +0000 (12:12 +0200)]
SEARCH NOT didn't work
--HG--
branch : HEAD
Timo Sirainen [Sat, 1 Feb 2003 02:06:11 +0000 (04:06 +0200)]
Don't let login process fork()
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jan 2003 06:58:13 +0000 (08:58 +0200)]
lib-settings was missing
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jan 2003 06:57:40 +0000 (08:57 +0200)]
updates
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jan 2003 06:56:57 +0000 (08:56 +0200)]
Cleanups, LDAP support compiles again and generally looks ok, even if it
doesn't necessarily work :) Works now with new master config.
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jan 2003 06:11:25 +0000 (08:11 +0200)]
Handle boundary=""
--HG--
branch : HEAD
Timo Sirainen [Fri, 31 Jan 2003 05:18:16 +0000 (07:18 +0200)]
If there's multiple mailboxes named "inbox", ignore them at least for now
(eg. /var/mail/inbox, ~/mail/inbox).
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 19:52:39 +0000 (21:52 +0200)]
Support for CAPA command (rfc2449).
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 19:01:40 +0000 (21:01 +0200)]
Moved settings parsing to lib-settings.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 18:27:09 +0000 (20:27 +0200)]
libldap checks, --without-pop3 disables pop3 server
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 18:05:33 +0000 (20:05 +0200)]
Disconnect after too many bad commands. We also crashed if there were no
mails in mailbox.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 17:59:31 +0000 (19:59 +0200)]
Rewrote setting handling. Changed some existing settings also since POP3
support required changes anyway. POP3 seems to be really working now :)
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 17:56:19 +0000 (19:56 +0200)]
compile fix + complain about unknown commands
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 17:55:52 +0000 (19:55 +0200)]
Reduce input buffer size
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 17:51:32 +0000 (19:51 +0200)]
Removed STRUCT_OFFSET, offsetof() is ANSI-C for the same purpose. Added
MEMBER() macro to define C99-style struct labels.
--HG--
branch : HEAD
Timo Sirainen [Thu, 30 Jan 2003 17:50:05 +0000 (19:50 +0200)]
bugfixes
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jan 2003 23:35:21 +0000 (01:35 +0200)]
..wonder how these ever got into here..
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jan 2003 21:35:25 +0000 (23:35 +0200)]
Moved common login process code to login-common, created pop3-login.
--HG--
branch : HEAD
Timo Sirainen [Tue, 28 Jan 2003 19:32:18 +0000 (21:32 +0200)]
No i_memmove here, just memmove.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 08:09:52 +0000 (10:09 +0200)]
destroy requests for login connection when it does.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 08:08:14 +0000 (10:08 +0200)]
Async userdb and passdb interface.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 07:01:20 +0000 (09:01 +0200)]
Fixes, seems to be working now. Only thing left is the pop3-login..
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 06:44:49 +0000 (08:44 +0200)]
Read the sizes of all messages to memory at startup. More failsafe and
faster.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 05:45:47 +0000 (07:45 +0200)]
Initial code for POP3 server. RETR isn't working right yet, there's some
syncing problems to figure out (pop3 wants to keep the mailbox locked) and
the whole pop3-login process is still missing.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 05:44:03 +0000 (07:44 +0200)]
Allow update_seen to be NULL
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 04:23:45 +0000 (06:23 +0200)]
some header file cleanups
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 02:42:02 +0000 (04:42 +0200)]
Authentication named socket permissions were insecure, an exploited login
process could have replaced it with it's own and began reading plaintext
passwords sent by other login processes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 02:05:32 +0000 (04:05 +0200)]
signed/unsigned/const pointer fixes
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 01:59:59 +0000 (03:59 +0200)]
Function typedefs now define them as functions, not function pointers.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 01:59:27 +0000 (03:59 +0200)]
missing index-mail.h
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 01:44:34 +0000 (03:44 +0200)]
Removed useless parameters from io_callback_t and timeout_callback_t.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 01:33:40 +0000 (03:33 +0200)]
We have now separate "userdb" and "passdb". They aren't tied to each others
in any way, so it's possible to use whatever user database with whatever
password database.
Added "static" userdb, which uses same uid/gid for everyone and generates
home directory from given template. This could be useful with PAM, although
insecure since everyone uses same uid.
Not too well tested, and userdb/passdb API still needs to be changed to
asynchronous for sql/ldap/etc lookups.
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 01:27:51 +0000 (03:27 +0200)]
Added var_expand()
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 00:46:55 +0000 (02:46 +0200)]
Added io_loop_is_running()
--HG--
branch : HEAD
Timo Sirainen [Mon, 27 Jan 2003 00:46:29 +0000 (02:46 +0200)]
Allow calling t_push() before data_stack_init().
--HG--
branch : HEAD
Timo Sirainen [Sun, 26 Jan 2003 22:50:40 +0000 (00:50 +0200)]
comment update
--HG--
branch : HEAD
Timo Sirainen [Fri, 24 Jan 2003 02:38:37 +0000 (04:38 +0200)]
Memory usage tweaks
--HG--
branch : HEAD