]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 4 Aug 2010 14:06:05 +0000 (15:06 +0100)]
net_accept(), net_getsock/peername(): Return UNIX sockets with family=port=0.
A lot of checks inside our code assumes that family is either AF_INET,
AF_INET6 or 0. struct ip_addr doesn't support anything else either, so having
AF_UNIX as family but without a way to get the socket name from the struct
isn't very helpful either.
Timo Sirainen [Wed, 4 Aug 2010 12:49:54 +0000 (13:49 +0100)]
doveadm director map/add/remove: Fixed handling IP address as parameter.
Only host names were working correctly.
Timo Sirainen [Tue, 3 Aug 2010 16:21:25 +0000 (17:21 +0100)]
dovecot-config: Include SSL_LIBS as part of LIBDOVECOT_LOGIN.
Timo Sirainen [Tue, 3 Aug 2010 16:21:11 +0000 (17:21 +0100)]
Makefile: imap/pop3-login now links SSL_LIBS explicitly.
This fixes compiling in some systems where they didn't get included
automatically (or the automatic linking used wrong libraries).
Timo Sirainen [Tue, 3 Aug 2010 15:49:43 +0000 (16:49 +0100)]
dsync: Handle syncing subscriptions correctly for subscriptions=no namespaces.
Timo Sirainen [Tue, 3 Aug 2010 14:42:34 +0000 (15:42 +0100)]
pgsql: Changed the way IO handlers are added/removed.
Remove IO handlers before calling any pgsql functions, so that if it closes
the socket, we don't later try to remove IO for already closed socket.
Timo Sirainen [Tue, 3 Aug 2010 12:10:19 +0000 (13:10 +0100)]
quota: Fixed ns=prefix to work for private namespaces.
Timo Sirainen [Mon, 2 Aug 2010 15:25:19 +0000 (16:25 +0100)]
imap: imap_capability = +foo only adds new capabilities instead of replacing everything.
Timo Sirainen [Mon, 2 Aug 2010 14:33:00 +0000 (15:33 +0100)]
mail-log: Added support for mailbox_create event
Timo Sirainen [Mon, 2 Aug 2010 14:32:39 +0000 (15:32 +0100)]
notify: Added support for mailbox_create
Timo Sirainen [Mon, 2 Aug 2010 14:30:27 +0000 (15:30 +0100)]
notify: Removed noop functions, they're no longer needed.
Timo Sirainen [Mon, 2 Aug 2010 14:29:29 +0000 (15:29 +0100)]
mail-log: Register only the notify callbacks we actually care about, leave rest NULL.
Timo Sirainen [Mon, 2 Aug 2010 14:28:56 +0000 (15:28 +0100)]
notify: Ignore notify callbacks that are NULL.
Timo Sirainen [Mon, 2 Aug 2010 12:24:55 +0000 (13:24 +0100)]
auth: Support "username" and "domain" extra fields also for userdb.
Timo Sirainen [Sat, 31 Jul 2010 18:44:24 +0000 (19:44 +0100)]
lib-storage: Fixed setting refcount to autocreated shared namespace.
Timo Sirainen [Sat, 31 Jul 2010 18:42:03 +0000 (19:42 +0100)]
lib-storage: Added assert.
Timo Sirainen [Sat, 31 Jul 2010 15:37:35 +0000 (16:37 +0100)]
lib-storage: Don't fail if messages are expunged during counting mailbox's virtual size.
Timo Sirainen [Fri, 30 Jul 2010 17:02:18 +0000 (18:02 +0100)]
mbox: Use HEADER_FILTER_END_BODY_WITH_LF flag with input stream filter.
This fixes a bug where wrong message size was cached while saving messages
that didn't end with LF.
Timo Sirainen [Fri, 30 Jul 2010 17:01:34 +0000 (18:01 +0100)]
istream-header-filter: Added HEADER_FILTER_END_BODY_WITH_LF flag.
If body doesn't end with LF character, it adds it automatically.
Timo Sirainen [Fri, 30 Jul 2010 15:55:58 +0000 (16:55 +0100)]
mbox: Fields weren't being added to cache file during message saving.
Timo Sirainen [Fri, 30 Jul 2010 15:17:02 +0000 (16:17 +0100)]
If module can't be loaded due to missing dependency, suggest a setting how to do it.
Timo Sirainen [Wed, 28 Jul 2010 09:09:50 +0000 (11:09 +0200)]
Makefile: Fixed compiling dsync with older automake versions.
Patch by Naresh.
Timo Sirainen [Mon, 26 Jul 2010 18:23:59 +0000 (19:23 +0100)]
dsync: When using -u parameter, chdir() to user's home.
Timo Sirainen [Mon, 26 Jul 2010 18:21:47 +0000 (19:21 +0100)]
mbox: Fixed assert-crashing on failures with read-only mboxes
Timo Sirainen [Mon, 26 Jul 2010 18:11:13 +0000 (19:11 +0100)]
lazy-expunge: Keep internal namespaces referenced. Fixes crash with dsync.
Timo Sirainen [Mon, 26 Jul 2010 18:10:52 +0000 (19:10 +0100)]
lib-storage: Added refcounting support for namespaces
Timo Sirainen [Mon, 26 Jul 2010 18:10:21 +0000 (19:10 +0100)]
lib-storage: Don't crash in mailbox_transaction_commit() if plugin aborts transaction.
Timo Sirainen [Fri, 23 Jul 2010 20:08:55 +0000 (21:08 +0100)]
acl: If ACL file exists in mail root directory, use it as namespace's default ACLs.
Timo Sirainen [Fri, 23 Jul 2010 19:47:29 +0000 (20:47 +0100)]
director: Fixed director_doveadm_port setting to actually work.
Timo Sirainen [Fri, 23 Jul 2010 19:37:35 +0000 (20:37 +0100)]
doveadm: Added client/server architecture support for running mail commands.
This is done when doveadm_worker_count is non-zero.
Timo Sirainen [Fri, 23 Jul 2010 19:31:21 +0000 (20:31 +0100)]
doveadm: Duplicate settings so they won't be corrupted by user settings lookup.
Timo Sirainen [Fri, 23 Jul 2010 19:28:02 +0000 (20:28 +0100)]
doveadm: Fixed printing sticky headers when stream printing was also used.
Timo Sirainen [Fri, 23 Jul 2010 17:05:26 +0000 (18:05 +0100)]
director: If doveadm connection disconnects before handshake, don't loop forever.
Timo Sirainen [Fri, 23 Jul 2010 15:14:46 +0000 (16:14 +0100)]
doveadm: Make a couple of functions global for future use.
Timo Sirainen [Fri, 23 Jul 2010 14:58:14 +0000 (15:58 +0100)]
doveadm: Moved print formatters list to doveadm.c
Timo Sirainen [Fri, 23 Jul 2010 14:55:27 +0000 (15:55 +0100)]
doveadm: Code cleanup: Moved some functions to doveadm-util.[ch]
Timo Sirainen [Fri, 23 Jul 2010 14:51:38 +0000 (15:51 +0100)]
doveadm: Code cleanup: Moved "mailbox mutf7" command to separate file.
It's not really a "mail command", so it shouldn't be in the same file as them.
Timo Sirainen [Fri, 23 Jul 2010 14:28:24 +0000 (15:28 +0100)]
doveadm: Tab formatter was printing extra spaces.
Timo Sirainen [Thu, 22 Jul 2010 17:25:09 +0000 (18:25 +0100)]
doveadm expunge: Check if search query is ok only once, not for each user.
Timo Sirainen [Thu, 22 Jul 2010 16:06:16 +0000 (17:06 +0100)]
Fixing my english: s/non-?existing/nonexistent/
Timo Sirainen [Thu, 22 Jul 2010 15:46:48 +0000 (16:46 +0100)]
doveadm mailbox status: Show mailbox name in UTF8 in output.
Timo Sirainen [Thu, 22 Jul 2010 15:43:36 +0000 (16:43 +0100)]
doveadm mailbox status: Fixed listing non-ASCII mailbox names.
Timo Sirainen [Thu, 22 Jul 2010 15:38:19 +0000 (16:38 +0100)]
lib-storage: Fixed mailbox_list_mailbox() for INBOX in under non-root mail dir.
Timo Sirainen [Thu, 22 Jul 2010 15:07:06 +0000 (16:07 +0100)]
director: Added director_doveadm_port for accepting doveadm TCP connections.
Timo Sirainen [Thu, 22 Jul 2010 12:48:14 +0000 (13:48 +0100)]
doveadm: When priting help to some command, exit with status 1.
Timo Sirainen [Wed, 21 Jul 2010 14:19:19 +0000 (15:19 +0100)]
auth: If built-in SQL query fails, log it clearly that it was using built-in one.
Timo Sirainen [Wed, 21 Jul 2010 12:33:35 +0000 (13:33 +0100)]
dsync: Queue local msg-get requests instead of assert-crashing.
Timo Sirainen [Tue, 20 Jul 2010 23:15:34 +0000 (00:15 +0100)]
net_connect_ip*(): Fixed FreeBSD kludging.
Timo Sirainen [Tue, 20 Jul 2010 20:53:29 +0000 (21:53 +0100)]
Added signature for changeset
a15b694f1d64
Timo Sirainen [Tue, 20 Jul 2010 20:53:20 +0000 (21:53 +0100)]
Added tag 2.0.rc3 for changeset
a15b694f1d64
Timo Sirainen [Tue, 20 Jul 2010 20:51:07 +0000 (21:51 +0100)]
Released v2.0.rc3.
Timo Sirainen [Tue, 20 Jul 2010 20:48:22 +0000 (21:48 +0100)]
doveconf: Removed unnecessary code.
Timo Sirainen [Tue, 20 Jul 2010 20:42:54 +0000 (21:42 +0100)]
Make static analyzer happier.
Timo Sirainen [Tue, 20 Jul 2010 20:42:36 +0000 (21:42 +0100)]
doveadm director map: Print also records for unknown users.
Timo Sirainen [Tue, 20 Jul 2010 20:07:44 +0000 (21:07 +0100)]
lmtp: Don't write "+ext" part to Delivered-To: header.
Timo Sirainen [Tue, 20 Jul 2010 19:23:20 +0000 (20:23 +0100)]
configure: Make sure mysql libs/cflags aren't used if they don't work.
Timo Sirainen [Tue, 20 Jul 2010 16:21:29 +0000 (17:21 +0100)]
lib-storage: Fixed hooks with plugins that didn't override any vfuncs
Timo Sirainen [Tue, 20 Jul 2010 14:22:02 +0000 (15:22 +0100)]
lib-auth: Don't abort userdb iteration if it takes longer than 1 minute.
Timo Sirainen [Tue, 20 Jul 2010 14:19:04 +0000 (15:19 +0100)]
auth: Make sure ldap userdb iteration request isn't aborted too early.
Timo Sirainen [Tue, 20 Jul 2010 14:18:16 +0000 (15:18 +0100)]
auth: Fixed a crash on cancelled userdb iteration.
Timo Sirainen [Tue, 20 Jul 2010 14:02:02 +0000 (15:02 +0100)]
lib-storage: Fix to hooks with multiple plugins
Timo Sirainen [Tue, 20 Jul 2010 13:47:39 +0000 (14:47 +0100)]
dsync: Fixed potential crash with remote syncing.
Timo Sirainen [Tue, 20 Jul 2010 12:00:08 +0000 (13:00 +0100)]
lmtp: Increased client idle timeout to 5 minutes.
Some MTAs can spend a while doing DNS lookups during the LMTP session.
Timo Sirainen [Tue, 20 Jul 2010 11:47:34 +0000 (12:47 +0100)]
autogen.sh: If wiki docs can't be downloaded/uncompressed, fail early.
Timo Sirainen [Mon, 19 Jul 2010 18:31:00 +0000 (19:31 +0100)]
master: Fixed dropping pending listener connections when throttling a service.
Timo Sirainen [Mon, 19 Jul 2010 18:19:29 +0000 (19:19 +0100)]
config: Handle obsolete imap_client_workarounds
Timo Sirainen [Mon, 19 Jul 2010 18:05:36 +0000 (19:05 +0100)]
doveadm director: Give up waiting for handshake after 5 seconds.
Timo Sirainen [Mon, 19 Jul 2010 16:37:55 +0000 (17:37 +0100)]
auth: Make sure userdb iteration doesn't free memory too early if it's aborted.
Timo Sirainen [Mon, 19 Jul 2010 14:42:22 +0000 (15:42 +0100)]
dsync: Fixed potential assert crashes with remote dsyncing.
Timo Sirainen [Mon, 19 Jul 2010 14:09:53 +0000 (15:09 +0100)]
lib-index: Fixed reading mailbox logs larger than 128 records.
Timo Sirainen [Mon, 19 Jul 2010 13:54:36 +0000 (14:54 +0100)]
mdbox: Fixed some race condition problems with purging.
Timo Sirainen [Mon, 19 Jul 2010 13:54:12 +0000 (14:54 +0100)]
Increased initial memory pool size
Timo Sirainen [Mon, 19 Jul 2010 12:06:07 +0000 (13:06 +0100)]
mdbox: Handle better trying to copy an already purged message.
It shouldn't log "refcount update lost map_uid" error.
Timo Sirainen [Mon, 19 Jul 2010 12:02:24 +0000 (13:02 +0100)]
mdbox: Copying wasn't locking map index early enough.
Timo Sirainen [Mon, 19 Jul 2010 12:01:40 +0000 (13:01 +0100)]
mdbox: Small code cleanup.
Timo Sirainen [Mon, 19 Jul 2010 11:43:02 +0000 (12:43 +0100)]
doveadm dump: Fixed dumping sdbox/mdbox fields.
Timo Sirainen [Sat, 17 Jul 2010 18:05:51 +0000 (19:05 +0100)]
auth: Fixed a potential crash on deinit.
Pascal Volk [Fri, 16 Jul 2010 17:47:29 +0000 (17:47 +0000)]
doveadm: Removed long usage from doveadm commands.
It's no longer needed since manual pages are displayed.
Timo Sirainen [Fri, 16 Jul 2010 17:20:14 +0000 (18:20 +0100)]
lib-storage: Fixed handling hooks when more than 2 were used.
Timo Sirainen [Fri, 16 Jul 2010 16:23:00 +0000 (17:23 +0100)]
mail-log: Add dummy events only for copy/save events, not others
Timo Sirainen [Fri, 16 Jul 2010 16:21:13 +0000 (17:21 +0100)]
mail-log: Fixed logging save/copy
Timo Sirainen [Fri, 16 Jul 2010 16:06:52 +0000 (17:06 +0100)]
mail-log: Fixed to actually read plugin settings.
Timo Sirainen [Fri, 16 Jul 2010 15:38:39 +0000 (16:38 +0100)]
dovecot.m4: Don't use grep -e, it's not standard.
Timo Sirainen [Fri, 16 Jul 2010 14:52:04 +0000 (15:52 +0100)]
lib-lda: mail_deliver_save_open() API changed to return also error code.
Timo Sirainen [Fri, 16 Jul 2010 14:45:10 +0000 (15:45 +0100)]
dsync: Fixed a potential assert-crash with remote dsyncing.
(worker->msg_get_data.input == NULL)
Timo Sirainen [Fri, 16 Jul 2010 14:08:46 +0000 (15:08 +0100)]
lib-settings: Do proper alignment for dynamically added structs.
Fixes a crash with some CPUs.
Timo Sirainen [Fri, 16 Jul 2010 12:57:41 +0000 (13:57 +0100)]
dsync: Added more asserts to dsync_worker_finish() handling
Timo Sirainen [Fri, 16 Jul 2010 12:46:57 +0000 (13:46 +0100)]
configure: If fd passing check fails, abort
Timo Sirainen [Fri, 16 Jul 2010 11:56:50 +0000 (12:56 +0100)]
configure wasn't compiling fd pass checking program correctly.
Timo Sirainen [Fri, 16 Jul 2010 11:20:09 +0000 (12:20 +0100)]
doveadm director map: Fixed -f parameter crash
Timo Sirainen [Fri, 16 Jul 2010 11:10:13 +0000 (12:10 +0100)]
lmtp: Removed FIXME comment
Timo Sirainen [Fri, 16 Jul 2010 11:09:37 +0000 (12:09 +0100)]
lmtp: Reverted accidentally committed debug code
Pascal Volk [Fri, 16 Jul 2010 00:23:48 +0000 (00:23 +0000)]
man/doveadm-director.1: Added description of "director map"'s -f option.
Timo Sirainen [Thu, 15 Jul 2010 23:17:33 +0000 (00:17 +0100)]
auth worker: Reset lookup timeout each time a line is received for a multi-line lookup.
Timo Sirainen [Thu, 15 Jul 2010 23:11:50 +0000 (00:11 +0100)]
doveadm director map: Added -f parameter to alternatively get a list of usernames.
Pascal Volk [Thu, 15 Jul 2010 22:49:40 +0000 (22:49 +0000)]
man/option-A: Mention userdb/LDAP iterate_attrs and iterate_filter settings.
Pascal Volk [Thu, 15 Jul 2010 22:49:02 +0000 (22:49 +0000)]
man/Makefile: Made manpages depend on includes.
Timo Sirainen [Thu, 15 Jul 2010 19:38:29 +0000 (20:38 +0100)]
Added i_stream_create_file() for creating istream from lazily opened file.
Pascal Volk [Thu, 15 Jul 2010 17:03:42 +0000 (17:03 +0000)]
man/doveadm-director.1: Added description of command "director map"
Timo Sirainen [Thu, 15 Jul 2010 16:38:17 +0000 (17:38 +0100)]
doveadm director map: Support looking up a hostname.
Also fixed director remove to work properly with multiple IPs.