]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
15 years agoStatic analyzer warning fix.
Timo Sirainen [Thu, 21 Oct 2010 18:03:39 +0000 (19:03 +0100)] 
Static analyzer warning fix.

15 years agodoveadm import: Code correctness fix (wasn't visible to users)
Timo Sirainen [Thu, 21 Oct 2010 17:59:22 +0000 (18:59 +0100)] 
doveadm import: Code correctness fix (wasn't visible to users)

15 years agolib-fs: Fixed error handling for posix.write_stream_finish()
Timo Sirainen [Thu, 21 Oct 2010 17:56:24 +0000 (18:56 +0100)] 
lib-fs: Fixed error handling for posix.write_stream_finish()

15 years agodbox: Reverted the "check if altpath is mounted" change for now.
Timo Sirainen [Thu, 21 Oct 2010 17:49:19 +0000 (18:49 +0100)] 
dbox: Reverted the "check if altpath is mounted" change for now.
If alt path didn't yet exist, it reported bogus errors. It should somehow
check if there is anything under the alt root dir.

15 years agodsync: Make sure POP3 UIDL string isn't corrupted while saving it.
Timo Sirainen [Thu, 21 Oct 2010 17:28:10 +0000 (18:28 +0100)] 
dsync: Make sure POP3 UIDL string isn't corrupted while saving it.

15 years agolib-storage: Make sure POP3 UIDLs aren't tried to be saved with LFs.
Timo Sirainen [Thu, 21 Oct 2010 17:27:38 +0000 (18:27 +0100)] 
lib-storage: Make sure POP3 UIDLs aren't tried to be saved with LFs.

15 years agoCompiler warning fix.
Timo Sirainen [Thu, 21 Oct 2010 16:12:19 +0000 (17:12 +0100)] 
Compiler warning fix.

15 years agoauth: userdb passwd iteration now lists only users within first_valid_uid..last_valid...
Timo Sirainen [Thu, 21 Oct 2010 16:11:02 +0000 (17:11 +0100)] 
auth: userdb passwd iteration now lists only users within first_valid_uid..last_valid_uid range.

15 years agodbox: If alt path is lost, fail with an error rather than rebuilding indexes.
Timo Sirainen [Thu, 21 Oct 2010 15:33:28 +0000 (16:33 +0100)] 
dbox: If alt path is lost, fail with an error rather than rebuilding indexes.
This could be simply because alt storage is unmounted at the time and
rebuilding would just lose messages. If this error happens unintentionally,
it's still possible to fix it with "doveadm force-resync".

15 years agodsync: Don't crash if USER environment isn't set and -u parameter isn't given.
Timo Sirainen [Thu, 21 Oct 2010 15:12:13 +0000 (16:12 +0100)] 
dsync: Don't crash if USER environment isn't set and -u parameter isn't given.

15 years agoexample-config: Added a warning about mail_attachment* being experimental.
Timo Sirainen [Wed, 20 Oct 2010 18:32:16 +0000 (19:32 +0100)] 
example-config: Added a warning about mail_attachment* being experimental.

15 years agoexample-config: Added mail_attachment_* settings.
Timo Sirainen [Wed, 20 Oct 2010 18:30:12 +0000 (19:30 +0100)] 
example-config: Added mail_attachment_* settings.

15 years agozlib: Hook into mail.istream_opened() method rather than mail.get_stream()
Timo Sirainen [Wed, 20 Oct 2010 17:58:42 +0000 (18:58 +0100)] 
zlib: Hook into mail.istream_opened() method rather than mail.get_stream()
This fixes zlib plugin to work with mail attachments.

15 years agolib-storage: Added istream_opened() method to struct mail.
Timo Sirainen [Wed, 20 Oct 2010 17:55:36 +0000 (18:55 +0100)] 
lib-storage: Added istream_opened() method to struct mail.
This can be hooked into by plugins that want to do something with the
message's stream in the message file, rather than the virtual resulting
stream visible to client. For example when using dbox attachments, this stream
contains only the data in the dbox files without any external attachments.

15 years agoistream-concat: Avoid assert-crashing.
Timo Sirainen [Wed, 20 Oct 2010 17:49:07 +0000 (18:49 +0100)] 
istream-concat: Avoid assert-crashing.

15 years agomdbox: Added mdbox_preallocate_space setting to preallocate size for newly created...
Timo Sirainen [Wed, 20 Oct 2010 16:51:07 +0000 (17:51 +0100)] 
mdbox: Added mdbox_preallocate_space setting to preallocate size for newly created files.

15 years agoAdded file_preallocate() to preallocate space to a file without changing its size.
Timo Sirainen [Wed, 20 Oct 2010 16:50:03 +0000 (17:50 +0100)] 
Added file_preallocate() to preallocate space to a file without changing its size.
Implemented for Linux. Doesn't look like other OSes support this.

15 years agodbox, maildir: When copying messages, copy the cached fields also.
Timo Sirainen [Wed, 20 Oct 2010 15:07:03 +0000 (16:07 +0100)] 
dbox, maildir: When copying messages, copy the cached fields also.
Copy only fields whose caching decision is not "no" in the destination mailbox.

15 years agolib-storage: mailbox_get_status(): return cache fields allocated from data stack.
Timo Sirainen [Wed, 20 Oct 2010 15:03:13 +0000 (16:03 +0100)] 
lib-storage: mailbox_get_status(): return cache fields allocated from data stack.
Allocating them from mailbox's pool just wastes memory if it's called multiple
times for same mailbox.

15 years agolib-index: Added mail_cache_register_get_field().
Timo Sirainen [Wed, 20 Oct 2010 15:01:46 +0000 (16:01 +0100)] 
lib-index: Added mail_cache_register_get_field().

15 years agopop3: Don't crash if client disconnects in output handler.
Timo Sirainen [Tue, 19 Oct 2010 19:20:18 +0000 (20:20 +0100)] 
pop3: Don't crash if client disconnects in output handler.

15 years agoioloop: If io_add() is called twice for same fd, give a bit more informative panic...
Timo Sirainen [Tue, 19 Oct 2010 18:27:59 +0000 (19:27 +0100)] 
ioloop: If io_add() is called twice for same fd, give a bit more informative panic message.

15 years agoistream-header-filter: Fix to previous change.
Timo Sirainen [Tue, 19 Oct 2010 17:48:00 +0000 (18:48 +0100)] 
istream-header-filter: Fix to previous change.

15 years agolib-storage: Added support for saving mail attachments separately via filesystem...
Timo Sirainen [Tue, 19 Oct 2010 17:47:17 +0000 (18:47 +0100)] 
lib-storage: Added support for saving mail attachments separately via filesystem API.
Currently this works only with sdbox and mdbox backends.

15 years agoliblib: Added istream for reading binary data as base64-encoded.
Timo Sirainen [Tue, 19 Oct 2010 17:30:51 +0000 (18:30 +0100)] 
liblib: Added istream for reading binary data as base64-encoded.

15 years agodoveadm: Added commands for managing SiS directories.
Timo Sirainen [Tue, 19 Oct 2010 17:27:30 +0000 (18:27 +0100)] 
doveadm: Added commands for managing SiS directories.

15 years agoAdded lib-fs for simple filesystem accessing. Implemented POSIX, SiS and SiS-queue...
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.

15 years agoliblib: Added API for easily building hash strings based on given format string and...
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.

15 years agoliblib: Added a common API for accessing all hash methods.
Timo Sirainen [Tue, 19 Oct 2010 17:09:16 +0000 (18:09 +0100)] 
liblib: Added a common API for accessing all hash methods.

15 years agoistream-header-filter: Drop duplicate headers instead of assert-crashing with them.
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.

15 years agoacl: Recent change broke setting acls.
Timo Sirainen [Mon, 18 Oct 2010 18:00:59 +0000 (19:00 +0100)] 
acl: Recent change broke setting acls.

15 years agodoveadm: Added import command for importing mails from other storages.
Timo Sirainen [Mon, 18 Oct 2010 17:30:42 +0000 (18:30 +0100)] 
doveadm: Added import command for importing mails from other storages.

15 years agodoveadm: Call mail command's init() only after service storage is initialized.
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.

15 years agolib-storage: Added no_userdb_lookup flag to storage service lookups.
Timo Sirainen [Mon, 18 Oct 2010 17:09:56 +0000 (18:09 +0100)] 
lib-storage: Added no_userdb_lookup flag to storage service lookups.

15 years agoostream-file: Fixed potential crash in write_at() and also fixed attempted optimization.
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.

15 years agolib-index: More undoing of locking code changes.
Timo Sirainen [Mon, 18 Oct 2010 15:14:08 +0000 (16:14 +0100)] 
lib-index: More undoing of locking code changes.

15 years agoacl: Fixed memory leaks.
Timo Sirainen [Mon, 18 Oct 2010 15:07:17 +0000 (16:07 +0100)] 
acl: Fixed memory leaks.

15 years agoauth: Default for auth_cache_negative_ttl was supposed to be 1 hour, not disabled.
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.

15 years agoauth: Log userdb cache hits and misses with auth_debug=yes
Timo Sirainen [Mon, 18 Oct 2010 14:35:24 +0000 (15:35 +0100)] 
auth: Log userdb cache hits and misses with auth_debug=yes

15 years agolib-storage: Log a debug message if shared user's storage root doesn't exist with...
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

15 years agoacl: Avoid passing NULL parameter to printf %s when 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

15 years agopop3: Recent corking change caused hangs.
Timo Sirainen [Sat, 16 Oct 2010 17:33:42 +0000 (18:33 +0100)] 
pop3: Recent corking change caused hangs.

15 years agoRemoved some dead code.
Timo Sirainen [Fri, 15 Oct 2010 23:49:35 +0000 (00:49 +0100)] 
Removed some dead code.

15 years agolib-index: Work around clang static analyzer's false positive "dead code" issue.
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.

15 years agolib-lda: Make sure duplicate_init() handles non-existent home correctly.
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.

15 years agolib-storage: mail_user_get_home(): Make sure user_r is always set.
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.

15 years agolib-storage: mailbox_get_guid() crashed if storage didn't support GUIDs.
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.

15 years agoistream-concat: Fixed another memory leak.
Timo Sirainen [Fri, 15 Oct 2010 23:23:20 +0000 (00:23 +0100)] 
istream-concat: Fixed another memory leak.

15 years agolmtp: Don't access freed memory if input couldn't be opened as raw mail.
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.

15 years agoistream-header-filter: Assert-crash if headers aren't given sorted.
Timo Sirainen [Fri, 15 Oct 2010 18:50:51 +0000 (19:50 +0100)] 
istream-header-filter: Assert-crash if headers aren't given sorted.

15 years agoCompiler warning/error fix to recent logging API changes.
Timo Sirainen [Fri, 15 Oct 2010 18:40:06 +0000 (19:40 +0100)] 
Compiler warning/error fix to recent logging API changes.

15 years agolmtp: Reverted last change after all. Besides, the error code was wrong.
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.

15 years agolmtp: Don't allow saving zero byte sized messages.
Timo Sirainen [Fri, 15 Oct 2010 18:21:43 +0000 (19:21 +0100)] 
lmtp: Don't allow saving zero byte sized messages.

15 years agoepoll: Suggest not-so-UUOC if epoll_ctl() fails for stdin
Timo Sirainen [Fri, 15 Oct 2010 18:04:42 +0000 (19:04 +0100)] 
epoll: Suggest not-so-UUOC if epoll_ctl() fails for stdin

15 years agoistream-concat: Fixed a memory leak.
Timo Sirainen [Fri, 15 Oct 2010 17:55:52 +0000 (18:55 +0100)] 
istream-concat: Fixed a memory leak.

15 years agolib-storage: Added assert to transaction rollback to make sure all mails are freed.
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.

15 years agoauth: Make sure auth request is kept referenced during the lookup.
Timo Sirainen [Fri, 15 Oct 2010 15:24:25 +0000 (16:24 +0100)] 
auth: Make sure auth request is kept referenced during the lookup.

15 years agolib-master: Properly fixed accepting FIFO connections with BSDI.
Timo Sirainen [Fri, 15 Oct 2010 15:16:23 +0000 (16:16 +0100)] 
lib-master: Properly fixed accepting FIFO connections with BSDI.

15 years agolog: Avoid calling time() unnecessary when logging multiple lines.
Timo Sirainen [Fri, 15 Oct 2010 15:09:13 +0000 (16:09 +0100)] 
log: Avoid calling time() unnecessary when logging multiple lines.

15 years agoFailure logging supports now getting timestamp as parameter.
Timo Sirainen [Fri, 15 Oct 2010 15:08:12 +0000 (16:08 +0100)] 
Failure logging supports now getting timestamp as parameter.

15 years agoCleaned up log callbacks and made them more extensible.
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.

15 years agoacl: Log mailbox names that are skipped due to missing lookup right with mail_debug=yes
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

15 years agolib-storage: Log attempted accesses to nonexistent users' mails 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.

15 years agolib-storage: Use MAIL_STORAGE_FLAG_NO_AUTOVERIFY for creating shared namespace storages.
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.

15 years agolib-storage: Added MAIL_STORAGE_FLAG_NO_AUTOVERIFY to skip checking storage root...
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.

15 years agoldap: Compare LDAP attribute names case-insensitively.
Timo Sirainen [Fri, 15 Oct 2010 13:48:31 +0000 (14:48 +0100)] 
ldap: Compare LDAP attribute names case-insensitively.

15 years agoldap: Log a warning if iterate_attrs has other fields than 'user'.
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'.

15 years agomaildir: Check correctly if file is a symlink.
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.

15 years agolib-index: Put back some of the removed locking complexity.
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.

15 years ago*-login: If client didn't log in, don't log mpid in logout message.
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.

15 years agoimap, pop3: Cork TCP connection before trying to flush output in output callback.
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.

15 years agolib-storage: If mailbox deletion failed, we crashed while trying to write undelete...
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.

15 years agolib-index: Don't reopen mailbox log file too often.
Timo Sirainen [Thu, 14 Oct 2010 15:22:54 +0000 (16:22 +0100)] 
lib-index: Don't reopen mailbox log file too often.

15 years agolib-index: Mailbox log writing was trying to write to a closed log file fd.
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.

15 years agoauth: Give a better error message if pass=yes can't be used in master passdb.
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.

15 years agoquota: Log a warning if Maildir++ quota is enabled for non-Maildir storage.
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.

15 years agomaster: Parse and check full config at startup.
Timo Sirainen [Wed, 6 Oct 2010 18:35:17 +0000 (19:35 +0100)] 
master: Parse and check full config at startup.

15 years agolib-master: Added support for parse_full_config input option for settings parsing.
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.

15 years agodoveconf: Added -p parameter to parse full config even if -m module is given.
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.

15 years agomaildir: Write only base filenames to uidlist.
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.

15 years agoimap search: Fixed YOUNGER/OLDER
Timo Sirainen [Wed, 6 Oct 2010 18:08:43 +0000 (19:08 +0100)] 
imap search: Fixed YOUNGER/OLDER

15 years agosearch: If body search fails due to I/O error, keep the result as "unknown".
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

15 years agolda: -m parameter's UTF-8 validity wasn't checked correctly.
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

15 years agolib-lda: Fixed error handling if newly delivered mail couldn't be opened.
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.

15 years agolib-index: Always update index map while committing a transaction.
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.

15 years agolib-index: Cache offsets were sometimes written pointing to an older cache file.
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.

15 years agolib-index: Avoid unnecessary pread()s at end of transaction log 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.

15 years agolib-index: Removed unnecessary code from lock handling.
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.

15 years agolib-dict: If connect() to dict socket fails, log an error, but don't die.
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.

15 years agoquota: Give better error message for connect() EACCES failure to quota-warning socket.
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.

15 years agoauth: Added lookup_credentials() support for passdb static
Timo Sirainen [Tue, 5 Oct 2010 21:55:37 +0000 (22:55 +0100)] 
auth: Added lookup_credentials() support for passdb static

15 years agoimap IDLE: Don't send "Still here" notifications if there is already data in output...
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.

15 years agomaster: Get only master-related configuration from doveconf at startup.
Timo Sirainen [Tue, 5 Oct 2010 21:52:55 +0000 (22:52 +0100)] 
master: Get only master-related configuration from doveconf at startup.

15 years agomaildir: Don't assert-crash when saving a message without locking uidlist.
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.

15 years agopriority queue: Set item's idx value to invalid when it's removed from queue.
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.

15 years agolmtp proxy: Avoid hanging at the end of message input.
Timo Sirainen [Mon, 4 Oct 2010 16:10:08 +0000 (17:10 +0100)] 
lmtp proxy: Avoid hanging at the end of message input.

15 years agolib-storage: Don't write to dovecot.mailbox.log if setting subscription didn't actual...
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.

15 years agolib-index: Fixed leaking fds when writing to dovecot.mailbox.log
Timo Sirainen [Mon, 4 Oct 2010 14:55:34 +0000 (15:55 +0100)] 
lib-index: Fixed leaking fds when writing to dovecot.mailbox.log

15 years agoimap-* plugins: Use the new imap_client_created_hook_set() to set the hook.
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.

15 years agoimap: Added imap_client_created_hook_set() to update the hook.
Timo Sirainen [Mon, 4 Oct 2010 14:12:23 +0000 (15:12 +0100)] 
imap: Added imap_client_created_hook_set() to update the hook.