]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
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.
Timo Sirainen [Thu, 30 Sep 2010 16:12:55 +0000 (17:12 +0100)]
auth: Avoid crashing when finishing failed requests that already timed out.
Timo Sirainen [Thu, 30 Sep 2010 15:49:16 +0000 (16:49 +0100)]
virtual: Allow opening virtual mailboxes that refer to non-existing mailboxes.
It could be intentional that not everyone has the same set of mailboxes always.
Timo Sirainen [Thu, 30 Sep 2010 15:05:57 +0000 (16:05 +0100)]
lib-index: If mail_index_sync_begin() fails, don't assert-crash
Timo Sirainen [Thu, 30 Sep 2010 14:33:56 +0000 (15:33 +0100)]
director: Properly detect invalid command parameters in director<->director connections.
Found by Paul E. Black.
Timo Sirainen [Wed, 29 Sep 2010 18:07:16 +0000 (19:07 +0100)]
maildir: Avoid recreating uidlist all the time when indexes are disabled.
This code originally existed because old records weren't removed from
uidlist->records and so this compression would never have been done,
but
0818f0a49704 changed this behavior.
Timo Sirainen [Wed, 29 Sep 2010 17:49:34 +0000 (18:49 +0100)]
maildir: Avoid opening cache file when getting physical message size.
Timo Sirainen [Wed, 29 Sep 2010 17:38:29 +0000 (18:38 +0100)]
Maildir: If mail's virtual size can be found from filename/uidlist, do it instead of using cache.
This is especially useful with POP3 to avoid opening cache file.
Timo Sirainen [Wed, 29 Sep 2010 17:09:28 +0000 (18:09 +0100)]
lib-index: If transaction log file is small enough, just read all of it to memory immediately.
Timo Sirainen [Wed, 29 Sep 2010 16:15:12 +0000 (17:15 +0100)]
maildir: Avoid refreshing transaction log immediately on first sync.
Timo Sirainen [Wed, 29 Sep 2010 16:14:22 +0000 (17:14 +0100)]
lib-index: Avoid refreshing transaction log immediately after it was opened.
Timo Sirainen [Wed, 29 Sep 2010 15:34:56 +0000 (16:34 +0100)]
virtual: Don't unnecessarily stat() the virtual directory.
Its existence is checked automatically when trying to open dovecot-virtual file.
Timo Sirainen [Wed, 29 Sep 2010 15:33:12 +0000 (16:33 +0100)]
pop3: Fixed virtual plugin when compiling --without-shared-libs
Timo Sirainen [Wed, 29 Sep 2010 15:32:47 +0000 (16:32 +0100)]
lib-index: Don't waste time on every mailbox open checking if .log.2 should be deleted.
Timo Sirainen [Wed, 29 Sep 2010 14:46:32 +0000 (15:46 +0100)]
Maildir++: When opening namespace prefix as mailbox, don't add extra '/' to path names.
Timo Sirainen [Tue, 28 Sep 2010 18:07:33 +0000 (19:07 +0100)]
lda: If doveconf fails, make it exit with EX_TEMPFAIL.
Timo Sirainen [Tue, 28 Sep 2010 16:41:43 +0000 (17:41 +0100)]
login: If master login fails, tell auth process to free the auth request.
Timo Sirainen [Tue, 28 Sep 2010 16:15:52 +0000 (17:15 +0100)]
maildir: If we see unwanted non-empty directories in new/ or cur/, move them to ../extra-*
Timo Sirainen [Tue, 28 Sep 2010 16:09:50 +0000 (17:09 +0100)]
config: Don't even try to open <file settings for modules we don't care about.
Timo Sirainen [Tue, 28 Sep 2010 16:09:29 +0000 (17:09 +0100)]
doveconf: Skip verifying settings for modules we don't care about.
This was done sometimes, but not always.
Timo Sirainen [Tue, 28 Sep 2010 15:29:33 +0000 (16:29 +0100)]
lib-index: Try to keep writing to latest mailbox log.
Fixes a problem where a long running session keeps writing to a rotate log
that has already been deleted.
Timo Sirainen [Tue, 28 Sep 2010 15:05:40 +0000 (16:05 +0100)]
quota: Don't crash if user has quota disabled.
Timo Sirainen [Mon, 27 Sep 2010 18:53:07 +0000 (19:53 +0100)]
sdbox: Fixed memory leak when copying messages with hard links.
Timo Sirainen [Mon, 27 Sep 2010 18:34:08 +0000 (19:34 +0100)]
config: Verify settings plugins' versions are valid if they're specified.
Timo Sirainen [Mon, 27 Sep 2010 15:46:26 +0000 (16:46 +0100)]
doveconf: Expand "key=$key" variable even without -x parameter.
Without this expansion it hides what the settings actually contain.
Timo Sirainen [Mon, 27 Sep 2010 14:50:43 +0000 (15:50 +0100)]
lib-storage: Buffer writes to subscriptions file.
Timo Sirainen [Mon, 27 Sep 2010 14:40:02 +0000 (15:40 +0100)]
lib-storage: Avoid fsyncing subscriptions file when it doesn't change or if mail_fsync=never.
Timo Sirainen [Mon, 27 Sep 2010 12:45:24 +0000 (13:45 +0100)]
zlib: Avoid using hardcoded storage name strings.
Timo Sirainen [Mon, 27 Sep 2010 12:44:49 +0000 (13:44 +0100)]
zlib: dbox storage is now called sdbox.
Timo Sirainen [Sun, 26 Sep 2010 17:47:56 +0000 (18:47 +0100)]
Added signature for changeset
7f5c5778c4b9
Timo Sirainen [Sun, 26 Sep 2010 17:47:51 +0000 (18:47 +0100)]
Added tag 2.0.4 for changeset
7f5c5778c4b9
Timo Sirainen [Sun, 26 Sep 2010 17:47:51 +0000 (18:47 +0100)]
Released v2.0.4.
Timo Sirainen [Sun, 26 Sep 2010 17:36:14 +0000 (18:36 +0100)]
Maildir: Fixed accessing INBOX whose tmp/ directory was lost.
Timo Sirainen [Sun, 26 Sep 2010 17:05:25 +0000 (18:05 +0100)]
imap: Give better error message for "Unknown namespace"
Timo Sirainen [Fri, 24 Sep 2010 21:32:03 +0000 (22:32 +0100)]
module_dir_load(): Make it clearer that "Skipping module" debug message is normal.
Timo Sirainen [Fri, 24 Sep 2010 18:39:41 +0000 (19:39 +0100)]
mdbox: Removed unused code.
Timo Sirainen [Fri, 24 Sep 2010 17:36:22 +0000 (18:36 +0100)]
pgsql: Avoid epoll_ctl() errors when closing connection.
Timo Sirainen [Fri, 24 Sep 2010 17:14:16 +0000 (18:14 +0100)]
maildir: Another assert for saving messages.
Timo Sirainen [Fri, 24 Sep 2010 16:35:51 +0000 (17:35 +0100)]
sdbox: Use "sdbox" name in the internal storage structure.
This fixes copying with hard links.
Timo Sirainen [Fri, 24 Sep 2010 16:02:08 +0000 (17:02 +0100)]
maildir: Added extra asserts.
Timo Sirainen [Fri, 24 Sep 2010 15:59:44 +0000 (16:59 +0100)]
maildir: Don't waste time stat()ing if generated filename is in tmp/.
Timo Sirainen [Fri, 24 Sep 2010 10:48:57 +0000 (11:48 +0100)]
lib-storage: Check valid subscriptions list entries with _is_valid_existing_name()
Timo Sirainen [Thu, 23 Sep 2010 19:04:40 +0000 (20:04 +0100)]
quota: When logging about obsolete rule, log the full rule string.
Timo Sirainen [Thu, 23 Sep 2010 19:00:41 +0000 (20:00 +0100)]
quota: When logging about obsolete rule, log also the quota root name.
Timo Sirainen [Thu, 23 Sep 2010 18:54:26 +0000 (19:54 +0100)]
config: Added conversion support for obsolete sieve/sieve_storage settings.
Timo Sirainen [Thu, 23 Sep 2010 18:34:31 +0000 (19:34 +0100)]
lib-storage: Log and hide invalid entries in subscriptions file.
Timo Sirainen [Thu, 23 Sep 2010 18:25:22 +0000 (19:25 +0100)]
Fail at startup if process_limit>1 for services that don't support it.
Timo Sirainen [Thu, 23 Sep 2010 18:00:31 +0000 (19:00 +0100)]
lib-master: If auth server is restarted, still log a warning about aborted auth request.
Timo Sirainen [Thu, 23 Sep 2010 17:39:22 +0000 (18:39 +0100)]
maildir: Log a warning if mailbox synchronization takes longer than 1 min.
Timo Sirainen [Thu, 23 Sep 2010 17:21:09 +0000 (18:21 +0100)]
maildir: Use correct enum for getting uidlist record GUID.
Timo Sirainen [Thu, 23 Sep 2010 17:18:51 +0000 (18:18 +0100)]
maildir: Fixed a race condition in getting a new message's GUID.
Timo Sirainen [Thu, 23 Sep 2010 17:02:20 +0000 (18:02 +0100)]
maildir: Code cleanup: Use MAILDIR_UIDLIST_HDR_EXT_* when building the header string.
Timo Sirainen [Thu, 23 Sep 2010 16:51:07 +0000 (17:51 +0100)]
maildir: Don't add GUIDs to "external expunge" records. There's no point.
Timo Sirainen [Thu, 23 Sep 2010 16:35:37 +0000 (17:35 +0100)]
maildir: When uidlist file is recreated and reread, clear old records from memory.
This should avoid wasting some memory and also fix "Duplicate file entry"
errors.
Timo Sirainen [Thu, 23 Sep 2010 16:26:20 +0000 (17:26 +0100)]
maildir: Cleaned up filename/guid preserving code on save/copy.
Timo Sirainen [Thu, 23 Sep 2010 15:40:42 +0000 (16:40 +0100)]
dsync: Avoid assert-crashing when trying to create a reserved mailbox name (e.g. dbox-Mails)
Timo Sirainen [Thu, 23 Sep 2010 15:36:00 +0000 (16:36 +0100)]
maildir: Fixed expunging messages with GUIDs in uidlist.
Timo Sirainen [Thu, 23 Sep 2010 15:06:28 +0000 (16:06 +0100)]
lib-lda: Fixed handling duplicate database when user has no home dir.
Now it gives a clear error message and doesn't crash with some OSes.
Timo Sirainen [Thu, 23 Sep 2010 14:53:09 +0000 (15:53 +0100)]
lib-index: Log a warning if transaction log lock is kept over 3 minutes.
Timo Sirainen [Wed, 22 Sep 2010 17:19:31 +0000 (18:19 +0100)]
Attempt to fix vpopmail support.
Timo Sirainen [Wed, 22 Sep 2010 17:11:03 +0000 (18:11 +0100)]
dict-file: Don't leak fd on deinit.
Timo Sirainen [Tue, 21 Sep 2010 17:15:56 +0000 (18:15 +0100)]
dict quota: Avoid crashing if quota recalculation tries to recurse.
Timo Sirainen [Tue, 21 Sep 2010 17:05:13 +0000 (18:05 +0100)]
quota: Avoid calling i_fatal() on initialization errors, plus some other fixes.
Timo Sirainen [Tue, 21 Sep 2010 17:04:30 +0000 (18:04 +0100)]
lib-storage: If user->error is set during initialization, fail user creation.
Timo Sirainen [Tue, 21 Sep 2010 15:30:20 +0000 (16:30 +0100)]
ssl-params: Don't start it at startup if Dovecot is compiled without SSL support.
Timo Sirainen [Tue, 21 Sep 2010 14:22:57 +0000 (15:22 +0100)]
Maildir: If POP3 UIDL is specified for saved message, add it to uidlist.
Timo Sirainen [Tue, 21 Sep 2010 14:22:38 +0000 (15:22 +0100)]
lib-storage: Added assert against empty UIDL in mailbox_save_set_pop3_uidl().
Timo Sirainen [Tue, 21 Sep 2010 14:22:16 +0000 (15:22 +0100)]
dsync: Don't set POP3 UIDLs to empty values.
Timo Sirainen [Tue, 21 Sep 2010 14:11:05 +0000 (15:11 +0100)]
lib-auth: Last change broke multi-step auth mechanisms.
Timo Sirainen [Tue, 21 Sep 2010 13:59:59 +0000 (14:59 +0100)]
dict client: If connect to server socket fails with EACCES, give better error message.
Timo Sirainen [Tue, 21 Sep 2010 13:55:33 +0000 (14:55 +0100)]
doveadm-expire: Improved debug logging.
Timo Sirainen [Tue, 21 Sep 2010 13:55:22 +0000 (14:55 +0100)]
doveadm: Added iterate_single_user mail context field.
Timo Sirainen [Tue, 21 Sep 2010 13:04:22 +0000 (14:04 +0100)]
lda: If mail_debug=yes and no -d parameter is given, log where username is taken from.
Timo Sirainen [Mon, 20 Sep 2010 18:06:26 +0000 (19:06 +0100)]
lib-auth: Make sure auth request isn't tried to be double-freed on error conditions.
This could have happened if auth server crashed.
Timo Sirainen [Mon, 20 Sep 2010 17:19:53 +0000 (18:19 +0100)]
Make sure no data is leaked across processes via struct ip_addr fields.
Timo Sirainen [Mon, 20 Sep 2010 16:50:29 +0000 (17:50 +0100)]
lib-master: When finishing auth, don't send REQUEST if auth process has restarted.
This avoids unnecessary "Master requested auth for nonexistent client" errors
when auth process restarts (crashes).
Timo Sirainen [Mon, 20 Sep 2010 15:06:17 +0000 (16:06 +0100)]
lda, storage .so libs: Added explicit linking against other .so libs they require
Based on patch by Funda Wang
Timo Sirainen [Mon, 20 Sep 2010 14:30:07 +0000 (15:30 +0100)]
mdbox: If :INDEX=path is specified, keep storage indexes there also.
Timo Sirainen [Fri, 17 Sep 2010 19:20:53 +0000 (20:20 +0100)]
Added signature for changeset
a475e8d4eb21
Timo Sirainen [Fri, 17 Sep 2010 19:20:48 +0000 (20:20 +0100)]
Added tag 2.0.3 for changeset
a475e8d4eb21
Timo Sirainen [Fri, 17 Sep 2010 19:20:48 +0000 (20:20 +0100)]
Released v2.0.3.
Timo Sirainen [Fri, 17 Sep 2010 17:38:47 +0000 (18:38 +0100)]
lib-storage: If subscriptions contains an invalid entry, don't crash with fs layout.
Timo Sirainen [Fri, 17 Sep 2010 16:54:22 +0000 (17:54 +0100)]
fdpass: Use memcpy() to access data in CMSG_DATA().
This fixes at least AIX where the previous way was broken for some reason.
Timo Sirainen [Fri, 17 Sep 2010 16:30:30 +0000 (17:30 +0100)]
poll: Added a workaround for AIX to get it to notice IO_ERRORs
Timo Sirainen [Thu, 16 Sep 2010 15:28:58 +0000 (16:28 +0100)]
maildir: uidlist can now override message's GUID
Timo Sirainen [Thu, 16 Sep 2010 15:26:48 +0000 (16:26 +0100)]
maildir: Use array_bsearch() in uidlist instead of reimplementing it.
Timo Sirainen [Thu, 16 Sep 2010 14:19:45 +0000 (15:19 +0100)]
lib-storage: Recent change broke creating mailboxes with fs layout.
Timo Sirainen [Thu, 16 Sep 2010 12:49:35 +0000 (13:49 +0100)]
doveadm: Give binary name to plugin loading code so it can give better error messages.
Timo Sirainen [Wed, 15 Sep 2010 17:59:34 +0000 (18:59 +0100)]
dsync: Don't crash/hang if syncing fails before ioloop is started.
Timo Sirainen [Wed, 15 Sep 2010 15:28:32 +0000 (16:28 +0100)]
master: Fixed previous "client/process_limit reached" log change.
Timo Sirainen [Wed, 15 Sep 2010 15:20:21 +0000 (16:20 +0100)]
lib-storage: Fail if list=yes namespace prefix starts with hierarchy separator.
Timo Sirainen [Wed, 15 Sep 2010 15:07:15 +0000 (16:07 +0100)]
lib-mail: Previous message parser optimization caused infinite looping with some mails.
Timo Sirainen [Tue, 14 Sep 2010 20:12:08 +0000 (21:12 +0100)]
lib-index: day_first_uid[] array wasn't kept properly up to date.
The result was that caching decisions could have been sometimes slightly wrong.
Based on patch by Paul E. Black.
Timo Sirainen [Tue, 14 Sep 2010 16:55:25 +0000 (17:55 +0100)]
master: If service with process_limit=1 reaches client_limit, log it better.
Timo Sirainen [Tue, 14 Sep 2010 16:39:40 +0000 (17:39 +0100)]
When writing to logs, ignore write()=EINTR failures from non-terminal signals.
The previous code failed after 3 successive EINTRs, which was possible if
the process got a lot of signals (e.g. master process getting lots of SIGCHLD
signals).
Timo Sirainen [Tue, 14 Sep 2010 16:38:08 +0000 (17:38 +0100)]
Added signal_term_counter that keeps track of how many terminal signals have been received.
Timo Sirainen [Tue, 14 Sep 2010 15:43:10 +0000 (16:43 +0100)]
dsync: Fixed creating \noselect mailboxes.
Timo Sirainen [Tue, 14 Sep 2010 15:20:18 +0000 (16:20 +0100)]
dsync: Don't create \Noselect mailboxes as selectable mailboxes, rather just don't create them.
This fixes creating extra empty mailboxes when mirroring mbox+fs layout and
maildir++ layout.
Timo Sirainen [Tue, 14 Sep 2010 15:18:13 +0000 (16:18 +0100)]
lib-storage: Added mailbox_list_create_dir()