]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Fri, 23 Jan 2009 18:13:15 +0000 (13:13 -0500)]
Don't use clean_pool with login processes.
The previous fix for clean_pool perhaps might have fixed all the bugs
related to it, but since it only produces extra work with no real benefit,
just don't use it. The original idea behind using it was flawed.
--HG--
branch : HEAD
Timo Sirainen [Fri, 23 Jan 2009 18:12:50 +0000 (13:12 -0500)]
Shared namespaces: Allow using %% in the prefix.
--HG--
branch : HEAD
Timo Sirainen [Thu, 22 Jan 2009 00:42:35 +0000 (02:42 +0200)]
dbox rebuild: Dont try to give unknown maildir files UIDs that are after uidlist's nextuid.
Although it might allow keeping the same UIDs after repeated rebuilds, if
any of the files were deleted at some point the UIDs would change and that
would be just worse.
--HG--
branch : HEAD
Timo Sirainen [Thu, 22 Jan 2009 00:39:52 +0000 (02:39 +0200)]
Another fix to mail_index_transaction_get_next_uid() fix.
--HG--
branch : HEAD
Timo Sirainen [Thu, 22 Jan 2009 00:40:19 +0000 (19:40 -0500)]
Fix to mail_index_transaction_get_next_uid() fix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 21 Jan 2009 23:31:12 +0000 (18:31 -0500)]
dbox: Minor error logging fix.
--HG--
branch : HEAD
Timo Sirainen [Wed, 21 Jan 2009 23:29:44 +0000 (18:29 -0500)]
mail_index_transaction_get_next_uid() shouldn't sort appends. They may still be modified!
Fixes a dbox rebuild bug.
--HG--
branch : HEAD
Timo Sirainen [Wed, 21 Jan 2009 21:51:58 +0000 (16:51 -0500)]
dbox: Improved error message.
--HG--
branch : HEAD
Timo Sirainen [Wed, 21 Jan 2009 20:48:51 +0000 (15:48 -0500)]
Sending SIGUSR2 to dovecot-auth now also logs statistics about cache inserts.
--HG--
branch : HEAD
Timo Sirainen [Wed, 21 Jan 2009 17:40:06 +0000 (12:40 -0500)]
quota debug: Hide "(0%)" if quota limits aren't defined defined in percentages.
--HG--
branch : HEAD
Timo Sirainen [Wed, 21 Jan 2009 17:30:15 +0000 (12:30 -0500)]
dbox rebuild: Don't crash if nothing was previously in cache.
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jan 2009 22:36:50 +0000 (17:36 -0500)]
Don't warn about maybe not being able to log in if protocols=none.
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jan 2009 20:04:25 +0000 (15:04 -0500)]
If all login processes are in use and we can't create a new one, log a warning.
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jan 2009 17:31:58 +0000 (12:31 -0500)]
mail_extra_groups backwards compatibility setting removed.
--HG--
branch : HEAD
Timo Sirainen [Tue, 20 Jan 2009 16:28:48 +0000 (11:28 -0500)]
dict proxy: Handle async commits better.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 22:38:21 +0000 (17:38 -0500)]
Give a better error message when userdb-only checkpassword program is used with passdb checkpassword.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 21:24:33 +0000 (16:24 -0500)]
imap-acl plugin: Include version string in the plugin.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 21:03:50 +0000 (16:03 -0500)]
dict quota: Use dict_transaction_commit_async().
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 21:03:25 +0000 (16:03 -0500)]
Added dict_transaction_commit_async().
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 20:50:40 +0000 (15:50 -0500)]
dict quota: noenforcing setting caused quota to not be updated at all.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 20:30:58 +0000 (15:30 -0500)]
dict quota: When updating quota don't look up the current byte/msg limit if there's no limit for it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 17:08:51 +0000 (12:08 -0500)]
dbox: Notify plugins about expunges. Fixes quota.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 17:08:24 +0000 (12:08 -0500)]
dict-file: Fixed a crash.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 16:55:26 +0000 (11:55 -0500)]
quota: Fixed debug logging.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 02:47:47 +0000 (21:47 -0500)]
pgsql: When doing negative increments, don't even try to use INSERT.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 02:02:15 +0000 (21:02 -0500)]
pgsql: More fixes to transaction handling.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 01:15:26 +0000 (20:15 -0500)]
hook_mail_namespaces_created() wasn't always called with all namespaces as parameter.
--HG--
branch : HEAD
Timo Sirainen [Mon, 19 Jan 2009 01:14:31 +0000 (20:14 -0500)]
listescape plugin: The next namespaces_created callback was called with NULL namespaces.
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 22:21:29 +0000 (17:21 -0500)]
pgsql: Don't write to freed memory if transaction is aborted while SQL commands are being executed.
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 18:56:24 +0000 (13:56 -0500)]
Added dict_process_count setting for creating multiple dict processes.
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 18:41:44 +0000 (13:41 -0500)]
pgsql: Removed accidentally committed debug code.
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 17:32:28 +0000 (12:32 -0500)]
sql dict: Merge two INSERTs together whenever possible (for dict quota).
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 17:31:28 +0000 (12:31 -0500)]
pgsql: Don't use BEGIN/COMMIT if transaction has only a single change.
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 17:30:54 +0000 (12:30 -0500)]
quota plugin optimization: Don't look up quota values every time when iterating quota roots.
--HG--
branch : HEAD
Timo Sirainen [Sat, 17 Jan 2009 16:57:56 +0000 (11:57 -0500)]
Previous changes broke compiling with select ioloop.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 Jan 2009 19:21:25 +0000 (14:21 -0500)]
Fixes to handling +w permission errors and use it more often.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 Jan 2009 17:45:06 +0000 (12:45 -0500)]
Permission denied error handling can now suggest missing +w permissions.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 Jan 2009 17:29:30 +0000 (12:29 -0500)]
Fix to previous commit to actually compile..
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 Jan 2009 17:21:21 +0000 (12:21 -0500)]
Permission error logging: If UNIX permissions appear to be ok, suggest ACL problem.
--HG--
branch : HEAD
Timo Sirainen [Fri, 16 Jan 2009 02:36:26 +0000 (21:36 -0500)]
mempool system clean: Don't break if realloc() shrinks the memory area.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 22:21:18 +0000 (17:21 -0500)]
Earlier changes broke login process, because it wasn't chdir()ing to login directory.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 22:14:29 +0000 (17:14 -0500)]
deliver: Don't allow running as setuid-root if world can execute the binary.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 21:23:59 +0000 (16:23 -0500)]
Maildir: Fix to earlier >26 keywords handling change.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 21:22:04 +0000 (16:22 -0500)]
login processes: Tell ioloop the maximum number of fds we can use.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 21:20:09 +0000 (16:20 -0500)]
Added io_loop_set_max_fd_count() to specify how many fds we expect to use.
It's used currently only for figuring out how much space should be
allocated initially to fds.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 20:54:39 +0000 (15:54 -0500)]
Removed some old backwards compatibility handling code.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 20:52:44 +0000 (15:52 -0500)]
Renamed "ssl_disable" setting to "ssl". Added support for ssl=required.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 20:47:12 +0000 (15:47 -0500)]
Updated imap response codes.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 20:12:07 +0000 (15:12 -0500)]
deliver: Changed the default rejection_subject.
--HG--
branch : HEAD
Timo Sirainen [Thu, 15 Jan 2009 20:05:58 +0000 (15:05 -0500)]
Maildir keywords handling code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 Jan 2009 20:14:11 +0000 (15:14 -0500)]
If login process crashes, log the IP address that (maybe) caused it.
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 Jan 2009 19:06:46 +0000 (14:06 -0500)]
Crashfix / keyword handling fix when appending messages non-sorted (dbox rebuild).
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 Jan 2009 18:56:01 +0000 (13:56 -0500)]
Cleaned up read-only mailbox handling. Fixes a bug with Maildir syncing.
If Maildir was opened read-only (STATUS, EXAMINE) then all flag changes were
saved to index as dirty.
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 Jan 2009 16:48:20 +0000 (11:48 -0500)]
maildir: Fixes to handling over 26 keywords.
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 Jan 2009 16:13:15 +0000 (11:13 -0500)]
pop3: Prevent clients from looping forever trying to fetch an expunged message.
--HG--
branch : HEAD
Timo Sirainen [Wed, 14 Jan 2009 15:47:47 +0000 (10:47 -0500)]
pop3: Treat invalid command parameters also as command errors
that will cause disconnection after enough errors.
--HG--
branch : HEAD
Timo Sirainen [Tue, 13 Jan 2009 21:55:03 +0000 (16:55 -0500)]
Added rejection_subject setting to deliver, which is used for rejected mails.
Based on patch by Allan Cassaro.
--HG--
branch : HEAD
Timo Sirainen [Tue, 13 Jan 2009 18:13:19 +0000 (13:13 -0500)]
Check broken ssl-parameters.dat files better and give a better error message when seeing one.
--HG--
branch : HEAD
Timo Sirainen [Tue, 13 Jan 2009 18:12:21 +0000 (13:12 -0500)]
Always send LOGIN_DIR environment to login processes.
--HG--
branch : HEAD
Timo Sirainen [Tue, 13 Jan 2009 01:35:07 +0000 (20:35 -0500)]
s/acl_dict/acl_shared_dict/
--HG--
branch : HEAD
Timo Sirainen [Tue, 13 Jan 2009 00:18:56 +0000 (19:18 -0500)]
Auth sockets: Allow specifying user and group with numbers.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 18:26:24 +0000 (13:26 -0500)]
pgsql: If query failed because connection was lost, retry it automatically.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 17:23:19 +0000 (12:23 -0500)]
pgsql: ROLLBACK wasn't sent correctly in synchronous commit failures.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 17:05:58 +0000 (12:05 -0500)]
pgsql: If query fails because connection gets closed, return a proper error message.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 17:05:19 +0000 (12:05 -0500)]
psql: Don't give errors with epoll if db connection gets closed.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 15:44:13 +0000 (10:44 -0500)]
Improved "Transaction log corrupted unexpectedly" error message.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 15:43:55 +0000 (10:43 -0500)]
index: Expunge records' UIDs weren't verified to be valid before using them.
--HG--
branch : HEAD
Timo Sirainen [Mon, 12 Jan 2009 15:32:38 +0000 (10:32 -0500)]
dbox: Fixes to handling maildir-converted files.
--HG--
branch : HEAD
Timo Sirainen [Sat, 10 Jan 2009 20:37:24 +0000 (15:37 -0500)]
Added array_get_pool().
Patch by Stephan Bosch.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jan 2009 19:03:44 +0000 (14:03 -0500)]
deliver: If log path begins with ~/, expand it to $HOME directory.
This doesn't really work if using -d parameter, since the expansion is done
before the userdb lookup.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jan 2009 18:57:30 +0000 (13:57 -0500)]
quota: Log a bit more when "Unknown backend" error happens.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jan 2009 18:14:04 +0000 (13:14 -0500)]
Berkeley DB fixes and cleanups. Don't leak memory/bdb resources.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jan 2009 16:17:20 +0000 (11:17 -0500)]
apop: Compile fix for previous commit.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jan 2009 16:15:56 +0000 (11:15 -0500)]
auth: Code cleanup for specifying what passdb features auth mechanisms need.
--HG--
branch : HEAD
Timo Sirainen [Fri, 9 Jan 2009 16:09:17 +0000 (11:09 -0500)]
APOP auth: Minor code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jan 2009 19:48:18 +0000 (14:48 -0500)]
mbox: Fixed crash with pop3_lock_session=yes if dotlock already existed.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jan 2009 19:47:58 +0000 (14:47 -0500)]
mbox: Fixed assert-crash with pop3_lock_session=yes
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jan 2009 17:22:11 +0000 (12:22 -0500)]
configure: Test strtoumax() and strtoimax() by linking instead of just compiling (Tru64 fix).
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jan 2009 16:52:21 +0000 (11:52 -0500)]
env_remove(): Implement a fallback method if unsetenv() doesn't exist.
Fixes compiling at least with Solaris 8.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jan 2009 16:41:30 +0000 (11:41 -0500)]
auth worker processes shouldn't duplicate the auth cache.
--HG--
branch : HEAD
Timo Sirainen [Thu, 8 Jan 2009 16:34:22 +0000 (11:34 -0500)]
auth cache wasn't working correctly for all fields (e.g. allow_nets) with blocking passdbs.
The extra cache-only fields weren't transferred to the main auth process
which was handling the cached entries.
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jan 2009 22:03:34 +0000 (17:03 -0500)]
auth: Removed extra string escaping from places where it's not necessary (or is even harmful).
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jan 2009 18:45:37 +0000 (13:45 -0500)]
Added my_hostdomain() function which mbox code now uses instead of doing that internally.
Based on patch by Apple.
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jan 2009 18:44:41 +0000 (13:44 -0500)]
master: When receiving SIGHUP, get the hostname again in case it changed.
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jan 2009 18:37:46 +0000 (13:37 -0500)]
Removed unnecessary APPLE comment.
--HG--
branch : HEAD
Timo Sirainen [Wed, 7 Jan 2009 18:34:25 +0000 (13:34 -0500)]
Increase listen queues to handle high loads better.
Patch by Apple.
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jan 2009 17:04:09 +0000 (12:04 -0500)]
dbox crashfix
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jan 2009 15:06:54 +0000 (10:06 -0500)]
userdb passwd: Removed the check for catching broken NSS implementations.
The nss_ldap problem is already fixed in both Dovecot and nss_ldap itself.
This also now allows NSS to change username on purpose.
--HG--
branch : HEAD
Timo Sirainen [Tue, 6 Jan 2009 14:25:38 +0000 (09:25 -0500)]
Updated copyright notices to include year 2009.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jan 2009 22:22:05 +0000 (17:22 -0500)]
quota-fs: Avoid compiler warning with BSDs.
--HG--
branch : HEAD
Timo Sirainen [Sun, 4 Jan 2009 11:59:31 +0000 (06:59 -0500)]
bsdauth: Fix compiler warning + crash on 64bit systems.
--HG--
branch : HEAD
Timo Sirainen [Sat, 3 Jan 2009 15:33:20 +0000 (10:33 -0500)]
deliver: Don't preserve HOME environment when using -d parameter.
--HG--
branch : HEAD
Timo Sirainen [Tue, 30 Dec 2008 23:49:50 +0000 (01:49 +0200)]
auth: If MD5 scheme can't decode the password log an error.
--HG--
branch : HEAD
Timo Sirainen [Sat, 27 Dec 2008 07:19:04 +0000 (09:19 +0200)]
Added a bit more generic get_process_capability() function.
To make life easier for managesieve patch. Patch by Stephan Bosch.
--HG--
branch : HEAD
Timo Sirainen [Sun, 21 Dec 2008 08:15:58 +0000 (10:15 +0200)]
Log a warning at startup if there doesn't seem to be any way to log in from non-localhost.
--HG--
branch : HEAD
Timo Sirainen [Sun, 21 Dec 2008 07:43:20 +0000 (09:43 +0200)]
imap/pop3-login: Cleaned up proxying code. Don't disconnect client on proxy failures.
Log proxy failures as errors.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Dec 2008 16:08:09 +0000 (18:08 +0200)]
dbox maildir migration: Support empty POP3 UIDL = base filename.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Dec 2008 14:39:19 +0000 (16:39 +0200)]
dbox: Maildir fallbacking code was returning wrong virtual file sizes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Dec 2008 14:24:19 +0000 (16:24 +0200)]
dbox: In Maildir migrations preserve POP3 UIDL from dovecot-uidlist.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Dec 2008 11:03:51 +0000 (13:03 +0200)]
idxview: Show seconds in timestamps (except for cache headers).
--HG--
branch : HEAD