]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 8 Dec 2011 07:30:14 +0000 (09:30 +0200)]
lib-storage: Code cleanup.
Timo Sirainen [Thu, 8 Dec 2011 07:28:54 +0000 (09:28 +0200)]
liblib: Added str_to_time()
Timo Sirainen [Thu, 8 Dec 2011 05:51:28 +0000 (07:51 +0200)]
lib-storage: Removed unnecessarily duplicated code.
Timo Sirainen [Thu, 8 Dec 2011 05:36:39 +0000 (07:36 +0200)]
lib-storage: Fixed assert-crash when search query contained ().
Timo Sirainen [Thu, 8 Dec 2011 05:23:25 +0000 (07:23 +0200)]
fts-lucene: Fixed Makefile.am
Timo Sirainen [Thu, 8 Dec 2011 05:02:03 +0000 (07:02 +0200)]
lib-sql: If mysql/pgsql commit fails due to server disconnection, reconnect and retry.
Timo Sirainen [Thu, 8 Dec 2011 04:11:03 +0000 (06:11 +0200)]
lib-storage: Fixed assert-crash in user deinit with some installations.
Timo Sirainen [Thu, 8 Dec 2011 03:55:19 +0000 (05:55 +0200)]
login: Send the last connected client's IP address to log process.
Timo Sirainen [Thu, 8 Dec 2011 03:54:54 +0000 (05:54 +0200)]
lib-storage: If client_limit=1, send user's log prefix to log process.
Timo Sirainen [Thu, 8 Dec 2011 03:54:23 +0000 (05:54 +0200)]
Added i_set_failure_send_prefix() and renamed i_set_failure_ip() to _send_ip().
Timo Sirainen [Thu, 8 Dec 2011 03:53:55 +0000 (05:53 +0200)]
Added a new "FATAL" log command, which master uses to log all abnormal process exits.
The log process adds the process's log prefix or IP address to the message
if available.
Timo Sirainen [Thu, 8 Dec 2011 03:24:48 +0000 (05:24 +0200)]
log: Removed slightly confusing code.
A log client always receives a BYE, so don't free it earlier.
Timo Sirainen [Thu, 8 Dec 2011 03:17:01 +0000 (05:17 +0200)]
lmtp: If lmtp_save_to_detail_mailbox=yes and there was no detail, mail was logged as saved to "".
Timo Sirainen [Thu, 8 Dec 2011 03:13:44 +0000 (05:13 +0200)]
stats: Chroot to empty directory by default.
Timo Sirainen [Thu, 8 Dec 2011 03:12:12 +0000 (05:12 +0200)]
ssl_parameters_regenerate setting is now "time" type, as it should have been.
Timo Sirainen [Thu, 8 Dec 2011 03:05:57 +0000 (05:05 +0200)]
indexer: Use stricter permissions for indexer-worker socket.
Timo Sirainen [Thu, 8 Dec 2011 03:03:22 +0000 (05:03 +0200)]
director: chroot to base_dir by default.
Timo Sirainen [Thu, 8 Dec 2011 03:02:15 +0000 (05:02 +0200)]
director: Don't explicitly use base_dir. We're already chdired there, use relative paths.
Timo Sirainen [Thu, 8 Dec 2011 03:02:12 +0000 (05:02 +0200)]
director-test.sh script fixed to use a working path for director-test binary.
Timo Sirainen [Tue, 6 Dec 2011 23:48:03 +0000 (01:48 +0200)]
dbox: If index was fscked, rebuild indexes to make sure no mails got lost.
Timo Sirainen [Tue, 6 Dec 2011 23:46:42 +0000 (01:46 +0200)]
lib-index: Added mail_index_reset_fscked()
Timo Sirainen [Tue, 6 Dec 2011 23:28:20 +0000 (01:28 +0200)]
lib-storage: MAILBOX_LIST_ITER_RETURN_SPECIALUSE was checked wrong
Timo Sirainen [Tue, 6 Dec 2011 22:48:54 +0000 (00:48 +0200)]
example-config: Added example mailboxes.
Timo Sirainen [Tue, 6 Dec 2011 22:30:26 +0000 (00:30 +0200)]
config: Allow section names to contain spaces.
Timo Sirainen [Tue, 6 Dec 2011 21:55:48 +0000 (23:55 +0200)]
example-config: Use a default uncommented "namespace inbox".
Timo Sirainen [Tue, 6 Dec 2011 21:53:44 +0000 (23:53 +0200)]
Moved mailbox {} settings inside namespace {} and no longer require ns prefix in name.
This allows specifying mailboxes more easily with per-user namespace
prefixes.
Timo Sirainen [Tue, 6 Dec 2011 21:51:09 +0000 (23:51 +0200)]
lib-storage: Avoid crashes if listing subscriptions for a namespace that can't have any.
i.e. the namespace and its parents all have subscriptions=no
Timo Sirainen [Tue, 6 Dec 2011 21:35:58 +0000 (23:35 +0200)]
master: Be more relaxed about giving service auth's client_limit being too low.
imap/pop3/lmtp processes with service_count=1 use up a client only for a
very short time. Don't count them.
Timo Sirainen [Mon, 5 Dec 2011 19:25:22 +0000 (21:25 +0200)]
autocreate: Make sure we don't crash if there are no mailbox{}es.
Timo Sirainen [Mon, 5 Dec 2011 19:23:40 +0000 (21:23 +0200)]
lib-storage: Don't crash when no there are no mailbox {} sections.
Timo Sirainen [Fri, 2 Dec 2011 21:47:01 +0000 (23:47 +0200)]
auth: Fixed vpopmail to work again after recent change.
Timo Sirainen [Fri, 2 Dec 2011 15:59:24 +0000 (17:59 +0200)]
README: Added SPECIAL-USE RFC
Timo Sirainen [Fri, 2 Dec 2011 15:05:31 +0000 (17:05 +0200)]
Implemented IMAP SPECIAL-USE extension.
Timo Sirainen [Fri, 2 Dec 2011 14:22:31 +0000 (16:22 +0200)]
Moved autocreate plugin functionality into lib-storage.
The autocreate plugin is still used for backwards compatibility.
Mailboxes can be configured like:
mailbox Sent {
auto = subscribe
}
mailbox Spam {
auto = create
}
Timo Sirainen [Fri, 2 Dec 2011 12:49:08 +0000 (14:49 +0200)]
lib-storage: Added pool to struct mailbox_list_iterate_context.
Timo Sirainen [Fri, 2 Dec 2011 12:23:47 +0000 (14:23 +0200)]
lib-storage: Moved mailbox list iteration functions to a separate file.
Timo Sirainen [Fri, 2 Dec 2011 11:12:16 +0000 (13:12 +0200)]
imapc: Check for when to prefer LOGIN to AUTHENTICATE was wrong.
Timo Sirainen [Thu, 1 Dec 2011 07:24:58 +0000 (09:24 +0200)]
imapc: If remote server disconnects, log the reason.
Timo Sirainen [Thu, 1 Dec 2011 07:15:53 +0000 (09:15 +0200)]
auth: Fixed loading authdb_imap plugin when Dovecot is configured --without-shared-libs
Timo Sirainen [Wed, 30 Nov 2011 16:48:44 +0000 (18:48 +0200)]
auth: Mention auth_worker_max_count in warning message about worker queue being slow.
Timo Sirainen [Fri, 25 Nov 2011 02:25:09 +0000 (04:25 +0200)]
fts-lucene: Fixed search when all terms were MUST_NOT.
Timo Sirainen [Thu, 24 Nov 2011 19:27:19 +0000 (21:27 +0200)]
auth: Dropped default client_limit back to default_client_limit.
Having it above 1024 logs an annoying warning at startup. Also in most cases
the auth process wouldn't have nearly that many clients. If about 1000
imap/pop3 processes were logging in at the exact same time, the limit would
be reached, but that's a bit unlikely.
Timo Sirainen [Thu, 24 Nov 2011 01:05:54 +0000 (03:05 +0200)]
NEWS, README: Added SCRAM-SHA-1 support.
Timo Sirainen [Thu, 24 Nov 2011 00:36:32 +0000 (02:36 +0200)]
Added signature for changeset
18f32bf70fac
Timo Sirainen [Thu, 24 Nov 2011 00:36:29 +0000 (02:36 +0200)]
Added tag 2.1.rc1 for changeset
18f32bf70fac
Timo Sirainen [Thu, 24 Nov 2011 00:36:29 +0000 (02:36 +0200)]
Released v2.1.rc1.
Timo Sirainen [Thu, 24 Nov 2011 00:21:08 +0000 (02:21 +0200)]
man: mailbox[-guid] doesn't need to be first parameter in search query.
Timo Sirainen [Thu, 24 Nov 2011 00:13:13 +0000 (02:13 +0200)]
Makefile: Added missing hmac-sha1.h
Timo Sirainen [Thu, 24 Nov 2011 00:06:45 +0000 (02:06 +0200)]
lib-lda: Use ostream corking better in LMTP/SMTP client.
Timo Sirainen [Wed, 23 Nov 2011 23:58:28 +0000 (01:58 +0200)]
TODO updated
Timo Sirainen [Wed, 23 Nov 2011 23:53:04 +0000 (01:53 +0200)]
example-config: Added ssl_crypto_device.
Timo Sirainen [Wed, 23 Nov 2011 23:50:35 +0000 (01:50 +0200)]
imapc: Pass ssl_crypto_device setting to lib-ssl-iostream.
Timo Sirainen [Wed, 23 Nov 2011 23:49:58 +0000 (01:49 +0200)]
lib-ssl-iostream: Added crypto_device setting to set OpenSSL engine.
Multiple engines aren't supported, so the first crypto_device value gets
used for all SSL connections.
Timo Sirainen [Wed, 23 Nov 2011 23:49:40 +0000 (01:49 +0200)]
login: Do engine cleanups _after_ finishing the used engine.
Timo Sirainen [Wed, 23 Nov 2011 23:45:59 +0000 (01:45 +0200)]
login: Added ssl_crypto_device setting to set OpenSSL engine.
Timo Sirainen [Wed, 23 Nov 2011 23:45:09 +0000 (01:45 +0200)]
login: Save final SASL reply to client struct.
Timo Sirainen [Wed, 23 Nov 2011 23:34:02 +0000 (01:34 +0200)]
lib-ssl-iostream: Call OpenSSL_add_all_algorithms() to make some OpenSSL versions happy.
Timo Sirainen [Wed, 23 Nov 2011 23:12:33 +0000 (01:12 +0200)]
auth: LDAP iterate's debug message didn't use expanded base string.
Timo Sirainen [Wed, 23 Nov 2011 22:53:37 +0000 (00:53 +0200)]
lib-storage: Getting headers as UTF-8 could have returned garbage for multi-line headers.
Timo Sirainen [Wed, 23 Nov 2011 22:52:09 +0000 (00:52 +0200)]
login: Use AUTH_REQUEST_FLAG_SUPPORT_FINAL_RESP if protocol supports it.
Timo Sirainen [Wed, 23 Nov 2011 22:51:41 +0000 (00:51 +0200)]
lib-auth: Added AUTH_REQUEST_FLAG_SUPPORT_FINAL_RESP flag.
Timo Sirainen [Wed, 23 Nov 2011 22:51:27 +0000 (00:51 +0200)]
auth: If client gives "final-resp-ok" parameter, send it in OK reply with DIGEST-MD5, SCRAM-SHA-1
Timo Sirainen [Wed, 23 Nov 2011 20:55:57 +0000 (22:55 +0200)]
auth: Cleanups, fix and Dovecot code-stylifications to SCRAM-SHA-1.
Florian Zeitz [Fri, 16 Sep 2011 00:24:00 +0000 (02:24 +0200)]
auth: Implement the SCRAM-SHA-1 SASL mechanism
Florian Zeitz [Fri, 16 Sep 2011 00:22:49 +0000 (02:22 +0200)]
lib: Add hmac-sha1 adapted from hmac-md5
Timo Sirainen [Wed, 23 Nov 2011 20:08:09 +0000 (22:08 +0200)]
lib-auth: auth_master_user_list_init() now takes user_mask and info parameters.
These are passed to auth process, which may use them to limit what usernames
are returned.
Timo Sirainen [Wed, 23 Nov 2011 20:07:08 +0000 (22:07 +0200)]
auth: Support passing regular %variables to sql/ldap iterate queries.
Timo Sirainen [Wed, 23 Nov 2011 19:40:04 +0000 (21:40 +0200)]
auth: Don't leak memory in deinit.
Timo Sirainen [Wed, 23 Nov 2011 19:14:11 +0000 (21:14 +0200)]
Compiler warning fix
Timo Sirainen [Wed, 23 Nov 2011 18:31:40 +0000 (20:31 +0200)]
lib-auth: Log a warning about auth disconnection only if there are pending requests.
Timo Sirainen [Wed, 23 Nov 2011 17:51:06 +0000 (19:51 +0200)]
master: Log a warning at startup if fd limit is too low.
Timo Sirainen [Wed, 23 Nov 2011 17:51:01 +0000 (19:51 +0200)]
Added restrict_get_fd_limit()
Timo Sirainen [Wed, 23 Nov 2011 17:19:19 +0000 (19:19 +0200)]
lib-storage: Track storage's all mailboxes to make it easier to debug if one isn't closed.
Timo Sirainen [Wed, 23 Nov 2011 17:11:13 +0000 (19:11 +0200)]
Compile fix for some compilers.
Timo Sirainen [Wed, 23 Nov 2011 17:10:34 +0000 (19:10 +0200)]
lib-index: Make sure we never go to infinite loop if fsck can't fix syncing problem.
Timo Sirainen [Wed, 23 Nov 2011 17:04:15 +0000 (19:04 +0200)]
file_cache_set_size(): Cleanup properly after mmap() failure.
Timo Sirainen [Wed, 23 Nov 2011 17:01:28 +0000 (19:01 +0200)]
lib-index: Handle transaction log read errors separately from log corruption.
Timo Sirainen [Wed, 23 Nov 2011 15:01:51 +0000 (17:01 +0200)]
fts-lucene: Crashfix when compiled without stemmer.
Timo Sirainen [Wed, 23 Nov 2011 14:58:10 +0000 (16:58 +0200)]
Compile fixes.
Timo Sirainen [Tue, 22 Nov 2011 23:00:10 +0000 (01:00 +0200)]
Compiling fix for non-gcc.
Timo Sirainen [Tue, 22 Nov 2011 09:29:17 +0000 (11:29 +0200)]
imapc: Added assert to make sure callback is never NULL.
Timo Sirainen [Tue, 22 Nov 2011 09:28:33 +0000 (11:28 +0200)]
imapc: Crashfix after having idled for 29 mins without IDLE.
Timo Sirainen [Mon, 21 Nov 2011 22:12:53 +0000 (00:12 +0200)]
mdbox: Don't assert-crash when having to open mail file during specific copying situations.
Timo Sirainen [Mon, 21 Nov 2011 21:26:46 +0000 (23:26 +0200)]
doveadm dump: Added support for dumping dbox headers/metadata.
Timo Sirainen [Mon, 21 Nov 2011 21:26:41 +0000 (23:26 +0200)]
dbox: Compiler warning fix if trying to include dbox-file.h directly.
Timo Sirainen [Mon, 21 Nov 2011 21:26:18 +0000 (23:26 +0200)]
hex2dec(): Allow data to contain also lowercase hex characters.
Timo Sirainen [Mon, 21 Nov 2011 20:43:19 +0000 (22:43 +0200)]
dbox: Removed unused message type from header.
Timo Sirainen [Sat, 19 Nov 2011 21:42:05 +0000 (23:42 +0200)]
login: Moved all i_fatal()s to preinit stage.
This avoids a wrongly configured login process from rapidly respawning.
Timo Sirainen [Sat, 19 Nov 2011 21:41:50 +0000 (23:41 +0200)]
director: Moved all i_fatal()s to preinit stage.
This avoids a wrongly configured director process from rapidly respawning.
Timo Sirainen [Sat, 19 Nov 2011 21:41:17 +0000 (23:41 +0200)]
auth: Moved all i_fatal()s to preinit stage.
This avoids a wrongly configured auth process from rapidly respawning.
Timo Sirainen [Sat, 19 Nov 2011 21:28:18 +0000 (23:28 +0200)]
auth: Handle auth worker creation failure without killing the whole auth process.
Timo Sirainen [Sat, 19 Nov 2011 21:15:19 +0000 (23:15 +0200)]
login: Show empty username in disconnect message.
Timo Sirainen [Sat, 19 Nov 2011 21:14:59 +0000 (23:14 +0200)]
auth: If auth fails due to invalid username, send the username in the FAIL message.
Timo Sirainen [Sat, 19 Nov 2011 21:04:54 +0000 (23:04 +0200)]
login: Log a different disconnect message if client didn't finish SASL auth.
Timo Sirainen [Sat, 19 Nov 2011 20:29:31 +0000 (22:29 +0200)]
env_clean(): Previous OSX compile fix broke the function completely.
Timo Sirainen [Sat, 19 Nov 2011 19:48:14 +0000 (21:48 +0200)]
Compile fix for OSX.
Timo Sirainen [Sat, 19 Nov 2011 03:06:10 +0000 (05:06 +0200)]
doc: Removed auth-protocol.txt from Makefile.
Timo Sirainen [Fri, 18 Nov 2011 20:14:02 +0000 (22:14 +0200)]
doc: Removed auth-protocol.txt. A more up to date version is in wiki docs.
Timo Sirainen [Fri, 18 Nov 2011 20:07:16 +0000 (22:07 +0200)]
auth: Don't allow auth clients to set internal auth request fields.
This could have allowed attacker to bypass authentication if login process
was first successfully attacked to allow arbitrary code execution.
Timo Sirainen [Fri, 18 Nov 2011 19:37:34 +0000 (21:37 +0200)]
login: Call master_service_init_finish() later.
This prevents automatic infinite process respawns if SSL initialization
fails.