]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 19 Oct 2010 17:30:51 +0000 (18:30 +0100)]
liblib: Added istream for reading binary data as base64-encoded.
Timo Sirainen [Tue, 19 Oct 2010 17:27:30 +0000 (18:27 +0100)]
doveadm: Added commands for managing SiS directories.
Timo Sirainen [Tue, 19 Oct 2010 17:16:10 +0000 (18:16 +0100)]
Added lib-fs for simple filesystem accessing. Implemented POSIX, SiS and SiS-queue backends.
Timo Sirainen [Tue, 19 Oct 2010 17:10:34 +0000 (18:10 +0100)]
liblib: Added API for easily building hash strings based on given format string and input.
Timo Sirainen [Tue, 19 Oct 2010 17:09:16 +0000 (18:09 +0100)]
liblib: Added a common API for accessing all hash methods.
Timo Sirainen [Tue, 19 Oct 2010 17:39:27 +0000 (18:39 +0100)]
istream-header-filter: Drop duplicate headers instead of assert-crashing with them.
Timo Sirainen [Mon, 18 Oct 2010 18:00:59 +0000 (19:00 +0100)]
acl: Recent change broke setting acls.
Timo Sirainen [Mon, 18 Oct 2010 17:30:42 +0000 (18:30 +0100)]
doveadm: Added import command for importing mails from other storages.
Timo Sirainen [Mon, 18 Oct 2010 17:30:02 +0000 (18:30 +0100)]
doveadm: Call mail command's init() only after service storage is initialized.
Timo Sirainen [Mon, 18 Oct 2010 17:09:56 +0000 (18:09 +0100)]
lib-storage: Added no_userdb_lookup flag to storage service lookups.
Timo Sirainen [Mon, 18 Oct 2010 15:51:12 +0000 (16:51 +0100)]
ostream-file: Fixed potential crash in write_at() and also fixed attempted optimization.
Timo Sirainen [Mon, 18 Oct 2010 15:14:08 +0000 (16:14 +0100)]
lib-index: More undoing of locking code changes.
Timo Sirainen [Mon, 18 Oct 2010 15:07:17 +0000 (16:07 +0100)]
acl: Fixed memory leaks.
Timo Sirainen [Mon, 18 Oct 2010 14:38:58 +0000 (15:38 +0100)]
auth: Default for auth_cache_negative_ttl was supposed to be 1 hour, not disabled.
Timo Sirainen [Mon, 18 Oct 2010 14:35:24 +0000 (15:35 +0100)]
auth: Log userdb cache hits and misses with auth_debug=yes
Timo Sirainen [Mon, 18 Oct 2010 14:07:02 +0000 (15:07 +0100)]
lib-storage: Log a debug message if shared user's storage root doesn't exist with mail_debug=yes
Timo Sirainen [Mon, 18 Oct 2010 13:52:02 +0000 (14:52 +0100)]
acl: Avoid passing NULL parameter to printf %s when mail_debug=yes
Timo Sirainen [Sat, 16 Oct 2010 17:33:42 +0000 (18:33 +0100)]
pop3: Recent corking change caused hangs.
Timo Sirainen [Fri, 15 Oct 2010 23:49:35 +0000 (00:49 +0100)]
Removed some dead code.
Timo Sirainen [Fri, 15 Oct 2010 23:43:49 +0000 (00:43 +0100)]
lib-index: Work around clang static analyzer's false positive "dead code" issue.
Timo Sirainen [Fri, 15 Oct 2010 23:35:28 +0000 (00:35 +0100)]
lib-lda: Make sure duplicate_init() handles non-existent home correctly.
With previous change mail_user_get_home() always set home, but this is good
anyway.
Timo Sirainen [Fri, 15 Oct 2010 23:34:28 +0000 (00:34 +0100)]
lib-storage: mail_user_get_home(): Make sure user_r is always set.
Timo Sirainen [Fri, 15 Oct 2010 23:30:50 +0000 (00:30 +0100)]
lib-storage: mailbox_get_guid() crashed if storage didn't support GUIDs.
Timo Sirainen [Fri, 15 Oct 2010 23:23:20 +0000 (00:23 +0100)]
istream-concat: Fixed another memory leak.
Timo Sirainen [Fri, 15 Oct 2010 23:21:35 +0000 (00:21 +0100)]
lmtp: Don't access freed memory if input couldn't be opened as raw mail.
This shouldn't really have ever happened.
Timo Sirainen [Fri, 15 Oct 2010 18:50:51 +0000 (19:50 +0100)]
istream-header-filter: Assert-crash if headers aren't given sorted.
Timo Sirainen [Fri, 15 Oct 2010 18:40:06 +0000 (19:40 +0100)]
Compiler warning/error fix to recent logging API changes.
Timo Sirainen [Fri, 15 Oct 2010 18:30:04 +0000 (19:30 +0100)]
lmtp: Reverted last change after all. Besides, the error code was wrong.
Timo Sirainen [Fri, 15 Oct 2010 18:21:43 +0000 (19:21 +0100)]
lmtp: Don't allow saving zero byte sized messages.
Timo Sirainen [Fri, 15 Oct 2010 18:04:42 +0000 (19:04 +0100)]
epoll: Suggest not-so-UUOC if epoll_ctl() fails for stdin
Timo Sirainen [Fri, 15 Oct 2010 17:55:52 +0000 (18:55 +0100)]
istream-concat: Fixed a memory leak.
Timo Sirainen [Fri, 15 Oct 2010 17:50:44 +0000 (18:50 +0100)]
lib-storage: Added assert to transaction rollback to make sure all mails are freed.
The same assert was already in commit, so this should be fine.
Timo Sirainen [Fri, 15 Oct 2010 15:24:25 +0000 (16:24 +0100)]
auth: Make sure auth request is kept referenced during the lookup.
Timo Sirainen [Fri, 15 Oct 2010 15:16:23 +0000 (16:16 +0100)]
lib-master: Properly fixed accepting FIFO connections with BSDI.
Timo Sirainen [Fri, 15 Oct 2010 15:09:13 +0000 (16:09 +0100)]
log: Avoid calling time() unnecessary when logging multiple lines.
Timo Sirainen [Fri, 15 Oct 2010 15:08:12 +0000 (16:08 +0100)]
Failure logging supports now getting timestamp as parameter.
Timo Sirainen [Fri, 15 Oct 2010 14:46:43 +0000 (15:46 +0100)]
Cleaned up log callbacks and made them more extensible.
fatal_failure_callback_t type is now gone, there's only failure_callback_t
left that has a struct pointer as parameter. More parameters can be easily
added to the struct in future.
Timo Sirainen [Fri, 15 Oct 2010 14:13:59 +0000 (15:13 +0100)]
acl: Log mailbox names that are skipped due to missing lookup right with mail_debug=yes
Timo Sirainen [Fri, 15 Oct 2010 14:09:18 +0000 (15:09 +0100)]
lib-storage: Log attempted accesses to nonexistent users' mails with mail_debug=yes.
Timo Sirainen [Fri, 15 Oct 2010 13:57:36 +0000 (14:57 +0100)]
lib-storage: Use MAIL_STORAGE_FLAG_NO_AUTOVERIFY for creating shared namespace storages.
This avoids failing storage creation for nonexistent users. Previous failure
made it possible for logged in users to figure out what other usernames
existed on the system.
Timo Sirainen [Fri, 15 Oct 2010 13:56:05 +0000 (14:56 +0100)]
lib-storage: Added MAIL_STORAGE_FLAG_NO_AUTOVERIFY to skip checking storage root dir existence.
Timo Sirainen [Fri, 15 Oct 2010 13:48:31 +0000 (14:48 +0100)]
ldap: Compare LDAP attribute names case-insensitively.
Timo Sirainen [Fri, 15 Oct 2010 12:27:59 +0000 (13:27 +0100)]
ldap: Log a warning if iterate_attrs has other fields than 'user'.
Timo Sirainen [Thu, 14 Oct 2010 17:20:58 +0000 (18:20 +0100)]
maildir: Check correctly if file is a symlink.
Patch by Mike Abbott / Apple.
Timo Sirainen [Thu, 14 Oct 2010 16:23:11 +0000 (17:23 +0100)]
lib-index: Put back some of the removed locking complexity.
This fixes a crash when mmap_disable=no and a index was mmap()ed (which
keeps the index locked) and later its read-lock was tried to be changed to
write-lock.
Timo Sirainen [Thu, 14 Oct 2010 16:02:20 +0000 (17:02 +0100)]
*-login: If client didn't log in, don't log mpid in logout message.
Timo Sirainen [Thu, 14 Oct 2010 15:58:57 +0000 (16:58 +0100)]
imap, pop3: Cork TCP connection before trying to flush output in output callback.
Timo Sirainen [Thu, 14 Oct 2010 15:53:04 +0000 (16:53 +0100)]
lib-storage: If mailbox deletion failed, we crashed while trying to write undelete record to index.
Timo Sirainen [Thu, 14 Oct 2010 15:22:54 +0000 (16:22 +0100)]
lib-index: Don't reopen mailbox log file too often.
Timo Sirainen [Thu, 14 Oct 2010 15:17:43 +0000 (16:17 +0100)]
lib-index: Mailbox log writing was trying to write to a closed log file fd.
Timo Sirainen [Thu, 14 Oct 2010 14:59:11 +0000 (15:59 +0100)]
auth: Give a better error message if pass=yes can't be used in master passdb.
Timo Sirainen [Wed, 6 Oct 2010 18:49:31 +0000 (19:49 +0100)]
quota: Log a warning if Maildir++ quota is enabled for non-Maildir storage.
Timo Sirainen [Wed, 6 Oct 2010 18:35:17 +0000 (19:35 +0100)]
master: Parse and check full config at startup.
Timo Sirainen [Wed, 6 Oct 2010 18:35:06 +0000 (19:35 +0100)]
lib-master: Added support for parse_full_config input option for settings parsing.
Timo Sirainen [Wed, 6 Oct 2010 18:34:41 +0000 (19:34 +0100)]
doveconf: Added -p parameter to parse full config even if -m module is given.
Timo Sirainen [Wed, 6 Oct 2010 18:19:48 +0000 (19:19 +0100)]
maildir: Write only base filenames to uidlist.
Previously the old filename was used to guess the initial filename, but
nowadays we do that by building the filename based on flags in index.
Timo Sirainen [Wed, 6 Oct 2010 18:08:43 +0000 (19:08 +0100)]
imap search: Fixed YOUNGER/OLDER
Timo Sirainen [Wed, 6 Oct 2010 18:02:20 +0000 (19:02 +0100)]
search: If body search fails due to I/O error, keep the result as "unknown".
Found by Vadim Okun
Timo Sirainen [Wed, 6 Oct 2010 17:57:38 +0000 (18:57 +0100)]
lda: -m parameter's UTF-8 validity wasn't checked correctly.
Found by Vadim Okun
Timo Sirainen [Wed, 6 Oct 2010 17:57:16 +0000 (18:57 +0100)]
lib-lda: Fixed error handling if newly delivered mail couldn't be opened.
Found by Vadim Okun.
Timo Sirainen [Wed, 6 Oct 2010 17:20:26 +0000 (18:20 +0100)]
lib-index: Always update index map while committing a transaction.
The previous code was doing this only in some situations, which was probably
enough, except maybe in some special cases. The log file was also read until
EOF always anyway, so the only thing this was saving was some CPU. With the
new behavior the committing stage should be more reliable, and also makes it
easier to do changes without accidentally breaking it.
Timo Sirainen [Wed, 6 Oct 2010 17:18:30 +0000 (18:18 +0100)]
lib-index: Cache offsets were sometimes written pointing to an older cache file.
Timo Sirainen [Wed, 6 Oct 2010 16:15:51 +0000 (17:15 +0100)]
lib-index: Avoid unnecessary pread()s at end of transaction log file.
If we've already read until EOF while the file has been locked, there's no
need to do it again. Previously this worked while index was being synced,
but not while committing a transaction.
Timo Sirainen [Wed, 6 Oct 2010 16:11:52 +0000 (17:11 +0100)]
lib-index: Removed unnecessary code from lock handling.
The code was intended only for blocking write-locks, but those haven't been
used for a long time now.
Timo Sirainen [Wed, 6 Oct 2010 15:17:08 +0000 (16:17 +0100)]
lib-dict: If connect() to dict socket fails, log an error, but don't die.
Timo Sirainen [Wed, 6 Oct 2010 14:54:14 +0000 (15:54 +0100)]
quota: Give better error message for connect() EACCES failure to quota-warning socket.
Timo Sirainen [Tue, 5 Oct 2010 21:55:37 +0000 (22:55 +0100)]
auth: Added lookup_credentials() support for passdb static
Timo Sirainen [Tue, 5 Oct 2010 21:53:58 +0000 (22:53 +0100)]
imap IDLE: Don't send "Still here" notifications if there is already data in output buffer.
Timo Sirainen [Tue, 5 Oct 2010 21:52:55 +0000 (22:52 +0100)]
master: Get only master-related configuration from doveconf at startup.
Timo Sirainen [Tue, 5 Oct 2010 01:20:31 +0000 (02:20 +0100)]
maildir: Don't assert-crash when saving a message without locking uidlist.
Timo Sirainen [Mon, 4 Oct 2010 16:16:38 +0000 (17:16 +0100)]
priority queue: Set item's idx value to invalid when it's removed from queue.
This should assert-crash on double-removes more reliably.
Timo Sirainen [Mon, 4 Oct 2010 16:10:08 +0000 (17:10 +0100)]
lmtp proxy: Avoid hanging at the end of message input.
Timo Sirainen [Mon, 4 Oct 2010 15:01:09 +0000 (16:01 +0100)]
lib-storage: Don't write to dovecot.mailbox.log if setting subscription didn't actually change anything.
Timo Sirainen [Mon, 4 Oct 2010 14:55:34 +0000 (15:55 +0100)]
lib-index: Fixed leaking fds when writing to dovecot.mailbox.log
Timo Sirainen [Mon, 4 Oct 2010 14:13:20 +0000 (15:13 +0100)]
imap-* plugins: Use the new imap_client_created_hook_set() to set the hook.
This avoids accessing variables directly, which allows Dovecot to give better
error messages if imap-* plugins are tried to be loaded by non-imap binary.
Timo Sirainen [Mon, 4 Oct 2010 14:12:23 +0000 (15:12 +0100)]
imap: Added imap_client_created_hook_set() to update the hook.
Timo Sirainen [Mon, 4 Oct 2010 13:53:02 +0000 (14:53 +0100)]
configure: Added IDLE to banner CAPABILITY to make Blackberry happy.
Timo Sirainen [Mon, 4 Oct 2010 13:45:25 +0000 (14:45 +0100)]
login: Give a better error message if ssl_cert=path is attempted without '<'
Timo Sirainen [Fri, 1 Oct 2010 21:10:02 +0000 (22:10 +0100)]
Added signature for changeset
2690facaa927
Timo Sirainen [Fri, 1 Oct 2010 21:09:44 +0000 (22:09 +0100)]
Added tag 2.0.5 for changeset
2690facaa927
Timo Sirainen [Fri, 1 Oct 2010 21:09:43 +0000 (22:09 +0100)]
Released v2.0.5.
Timo Sirainen [Fri, 1 Oct 2010 20:42:18 +0000 (21:42 +0100)]
lmtp: Make sure we partial messages aren't saved if client disconnects during DATA.
Timo Sirainen [Fri, 1 Oct 2010 20:33:38 +0000 (21:33 +0100)]
lib-storage: Don't wrongly ignore subscriptions=no namespace entries.
Timo Sirainen [Fri, 1 Oct 2010 18:09:29 +0000 (19:09 +0100)]
dsync: Fail if both source and destination mail location point to same directory.
This should prevent some accidents.
Timo Sirainen [Fri, 1 Oct 2010 17:58:47 +0000 (18:58 +0100)]
config: Show time/size setting values as more human readable.
Timo Sirainen [Fri, 1 Oct 2010 17:33:58 +0000 (18:33 +0100)]
imap: Don't reset input/output byte counters when COMPRESS is started.
Timo Sirainen [Fri, 1 Oct 2010 17:33:19 +0000 (18:33 +0100)]
Added i_stream_get_absolute_offset().
Timo Sirainen [Fri, 1 Oct 2010 16:46:03 +0000 (17:46 +0100)]
zlib: eof_offset wasn't always set right, causing assert-crashes.
Timo Sirainen [Fri, 1 Oct 2010 16:35:01 +0000 (17:35 +0100)]
zlib: Fixed istream-bzlib also with mark=TRUE seeking
Timo Sirainen [Fri, 1 Oct 2010 16:06:27 +0000 (17:06 +0100)]
zlib: Fixed istream-zlib when using seeking with mark=TRUE (i.e. mbox)
Timo Sirainen [Fri, 1 Oct 2010 15:39:11 +0000 (16:39 +0100)]
pop3: Added pop3_fast_size_lookups setting.
Timo Sirainen [Fri, 1 Oct 2010 15:19:10 +0000 (16:19 +0100)]
mail-storage.h comments updated.
Timo Sirainen [Fri, 1 Oct 2010 15:14:08 +0000 (16:14 +0100)]
pop3: Code cleanup for mailbox opening code.
Timo Sirainen [Fri, 1 Oct 2010 14:37:19 +0000 (15:37 +0100)]
acl: Fixed the logic of merging multiple ACLs.
Timo Sirainen [Fri, 1 Oct 2010 14:01:09 +0000 (15:01 +0100)]
acl: Reverted last change. It still allows reading the default ACL from .DEFAULT file.
Timo Sirainen [Fri, 1 Oct 2010 13:56:07 +0000 (14:56 +0100)]
acl: Avoid extra open() on a directory for default acl.
Timo Sirainen [Thu, 30 Sep 2010 19:28:54 +0000 (20:28 +0100)]
acl: Avoid opening two dict iterators at the same time.
Timo Sirainen [Thu, 30 Sep 2010 18:18:13 +0000 (19:18 +0100)]
dict: Support file backend also with dict proxy.
Timo Sirainen [Thu, 30 Sep 2010 16:57:55 +0000 (17:57 +0100)]
doveadm fetch: Fixed fetching uid field.
Timo Sirainen [Thu, 30 Sep 2010 16:49:17 +0000 (17:49 +0100)]
auth: Don't assert-crash if a request still succeeds after its client connection is gone.