]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Wed, 7 Mar 2012 14:58:37 +0000 (16:58 +0200)]
login proxy: Handle proxy-notify errors better.
If open() fails with ENOENT, it should still be logged as an error. If
opening or anything else fails, retry opening the fifo 60 secs.
Timo Sirainen [Wed, 7 Mar 2012 14:48:47 +0000 (16:48 +0200)]
director: Log a warning if user is refreshed too late.
Timo Sirainen [Wed, 7 Mar 2012 14:32:14 +0000 (16:32 +0200)]
director: Add more info to "User hash .. is being redirected to two hosts" error.
Timo Sirainen [Wed, 7 Mar 2012 11:36:34 +0000 (13:36 +0200)]
Added a "session ID" string for imap/pop3 connections, available in %{session} variable.
The session ID passes through Dovecot IMAP/POP3 proxying to backend server.
The same session ID is can be reused after a long time (currently a bit
under 9 years).
Timo Sirainen [Wed, 7 Mar 2012 11:32:40 +0000 (13:32 +0200)]
login proxy: Log "disconnecting" message also with login_log_format_elements.
Timo Sirainen [Wed, 7 Mar 2012 11:01:23 +0000 (13:01 +0200)]
login_log_format_elements: Allow using %{long_variables} without breaking.
Timo Sirainen [Wed, 7 Mar 2012 09:29:42 +0000 (11:29 +0200)]
doveadm: Handle -NOUSER replies from doveadm-server.
Timo Sirainen [Wed, 7 Mar 2012 09:23:03 +0000 (11:23 +0200)]
decode2text: Avoid leaving temp files and hanging child processes.
Timo Sirainen [Mon, 5 Mar 2012 17:33:51 +0000 (19:33 +0200)]
stats: Don't log write()=EPIPE failures. Retry opening the pipe once.
Timo Sirainen [Mon, 5 Mar 2012 16:44:01 +0000 (18:44 +0200)]
stats: More changes to send stats while doing long running searches.
Timo Sirainen [Mon, 5 Mar 2012 16:43:05 +0000 (18:43 +0200)]
lib-storage: When searching with a sort program, don't prefetch any mails.
The prefetching probably ends up being pointless.
Timo Sirainen [Mon, 5 Mar 2012 16:41:53 +0000 (18:41 +0200)]
pop3: Added assert.
Timo Sirainen [Mon, 5 Mar 2012 16:09:45 +0000 (18:09 +0200)]
stats: Update stats once per second for long running nonblocking searches.
Timo Sirainen [Mon, 5 Mar 2012 15:28:06 +0000 (17:28 +0200)]
Added director_username_hash setting to specify what part of the username is hashed.
The default is "%u" meaning the full username. Another potentially useful
value is "%d" for hashing only the domain (i.e. redirect users from the same
domain always to same server so they can safely access each others'
shared mailboxes).
Timo Sirainen [Mon, 5 Mar 2012 12:27:02 +0000 (14:27 +0200)]
replication_max_conns setting is a number, not a time interval.
Timo Sirainen [Mon, 5 Mar 2012 11:18:28 +0000 (13:18 +0200)]
aggregator: Fixed leaking connections to replicator.
Timo Sirainen [Mon, 5 Mar 2012 11:08:14 +0000 (13:08 +0200)]
Makefile: Fixed compiling lmtp with some SSL_LIBS options.
Timo Sirainen [Mon, 5 Mar 2012 09:54:33 +0000 (11:54 +0200)]
dsync: Set user.dsyncing=TRUE also for dsync-server.
This avoids dsync server immediately triggering another dsync when using
replication.
Timo Sirainen [Mon, 5 Mar 2012 09:53:45 +0000 (11:53 +0200)]
dsync: If mailbox was expunged empty, the messages may have reappeared.
This dependend on what the last UID of the previous mailbox was.
Timo Sirainen [Sun, 4 Mar 2012 13:48:48 +0000 (15:48 +0200)]
Don't auto-add mountpoints under /media or /cdrom.
Timo Sirainen [Sun, 4 Mar 2012 13:30:31 +0000 (15:30 +0200)]
Makefile: Link with SSL_LIBS whenever linking libssl_iostream.la
Timo Sirainen [Sun, 4 Mar 2012 13:21:21 +0000 (15:21 +0200)]
Makefile: Fix to previous change to get dovecot-config file built again.
Timo Sirainen [Sun, 4 Mar 2012 13:11:20 +0000 (15:11 +0200)]
Makefile: Fixed dovecot-config installation
Timo Sirainen [Sun, 4 Mar 2012 12:33:00 +0000 (14:33 +0200)]
lib-storage: Removed MAILBOX_LIST_ITER_LIST_PREFIXES flag.
It was already accidentally enabled by default, and there's really no good
reason why it shouldn't always be enabled.
Timo Sirainen [Sun, 4 Mar 2012 12:31:23 +0000 (14:31 +0200)]
lib-storage: mailbox_list_iter_init_namespaces() duplicated INBOX if it was also ns prefix.
Timo Sirainen [Sun, 4 Mar 2012 12:12:19 +0000 (14:12 +0200)]
lib-mail: rfc822_parse_quoted_string() didn't remove '\' from the strings.
Timo Sirainen [Sun, 4 Mar 2012 11:56:33 +0000 (13:56 +0200)]
auth: userdb passwd iteration skips now also users with /usr/sbin/nologin shell
Timo Sirainen [Sun, 4 Mar 2012 11:20:21 +0000 (13:20 +0200)]
lib-storage: If mailbox is already open in mailbox_enable(), enable modseqs.
Timo Sirainen [Sun, 4 Mar 2012 11:19:03 +0000 (13:19 +0200)]
lib-storage: mailbox_enable() shouldn't actually open the mailbox.
This combined with mailbox_get_status() never synced the mailbox, so if
there were any changes they weren't visible in STATUS reply.
Timo Sirainen [Sun, 4 Mar 2012 11:01:09 +0000 (13:01 +0200)]
dsync server: Ignore -f, -R and -m parameters instead of failing.
v2.0 dsync did this as well.
Timo Sirainen [Sun, 4 Mar 2012 10:50:02 +0000 (12:50 +0200)]
imap: Fixed error handling in APPEND parameters.
Timo Sirainen [Sun, 4 Mar 2012 10:31:26 +0000 (12:31 +0200)]
log: Avoid an "master input for invalid service_fd" error at deinit.
Timo Sirainen [Sun, 4 Mar 2012 10:24:29 +0000 (12:24 +0200)]
log: Don't shutdown until all log writers have gone.
This fixed losing log messages during shutdown.
Timo Sirainen [Sun, 4 Mar 2012 10:09:35 +0000 (12:09 +0200)]
replicator: Another deinit crashfix
Timo Sirainen [Sun, 4 Mar 2012 10:07:21 +0000 (12:07 +0200)]
replicator: Fixed crash on deinit
Timo Sirainen [Sun, 4 Mar 2012 10:04:46 +0000 (12:04 +0200)]
replicator: Queue handling was pretty broken
Timo Sirainen [Sun, 4 Mar 2012 09:23:14 +0000 (11:23 +0200)]
replication plugin: Don't try to close fifo if it wasn't even opened.
Timo Sirainen [Sun, 4 Mar 2012 09:19:10 +0000 (11:19 +0200)]
Makefile: Added missing replication plugin directory
Timo Sirainen [Sun, 4 Mar 2012 09:17:45 +0000 (11:17 +0200)]
auth: userdb passwd iteration now skips users with shell set to /bin/false or /sbin/nologin
Timo Sirainen [Sun, 4 Mar 2012 08:40:19 +0000 (10:40 +0200)]
replicator: Crashfix
Timo Sirainen [Sun, 4 Mar 2012 08:35:25 +0000 (10:35 +0200)]
doveadm-server: If socket is 0600 mode there's never no need to authenticate.
Even if the socket's owner doesn't match the process's effective UID. This
could be e.g. because socket owner is root, while doveadm-server runs as
vmail.
Timo Sirainen [Sun, 4 Mar 2012 08:26:32 +0000 (10:26 +0200)]
replication plugin: Handle shared namespaces better, skip public namespaces.
These will be handled better later, maybe in v2.2.
Timo Sirainen [Sun, 4 Mar 2012 08:25:23 +0000 (10:25 +0200)]
replication plugin: Use one shared notification fifo for all users.
Timo Sirainen [Sun, 4 Mar 2012 08:11:55 +0000 (10:11 +0200)]
doveadm server now returns unknown users with -NOUSER error.
Timo Sirainen [Sun, 4 Mar 2012 07:50:21 +0000 (09:50 +0200)]
Initial implementation of dsync-based replication.
Timo Sirainen [Sun, 4 Mar 2012 07:39:45 +0000 (09:39 +0200)]
Makefile: Fixed compiling with automake 1.11.2+
Timo Sirainen [Fri, 2 Mar 2012 17:24:57 +0000 (19:24 +0200)]
lib-sql: If failed query is retried, log it as as warning instead of as error.
Timo Sirainen [Fri, 2 Mar 2012 15:58:37 +0000 (17:58 +0200)]
login proxy: Don't assume host is down unless last success was >30s before last failure.
This avoids thinking that host is down, simply because one connection for it
failed.
Timo Sirainen [Fri, 2 Mar 2012 13:49:34 +0000 (15:49 +0200)]
dsync: Added -n parameter to dsync a specific namespace.
Timo Sirainen [Fri, 2 Mar 2012 13:34:22 +0000 (15:34 +0200)]
eacces_error_get*(): Added ',' to message to improve readability.
Timo Sirainen [Fri, 2 Mar 2012 13:31:25 +0000 (15:31 +0200)]
eacces_error_get*(): Suggest ACL/MAC error if UNIX permission bits look ok.
Timo Sirainen [Fri, 2 Mar 2012 12:36:13 +0000 (14:36 +0200)]
lib-storage: mail_transaction_commit_changes.changed=TRUE only when something actually changed.
Timo Sirainen [Fri, 2 Mar 2012 12:33:41 +0000 (14:33 +0200)]
Increased initial memory pool sizes and marked some of them as "growing".
Timo Sirainen [Fri, 2 Mar 2012 12:25:49 +0000 (14:25 +0200)]
dsync: Added -d parameter to sync to plugin/mail_replica destination.
This could be one global default or overridden by userdb.
Timo Sirainen [Fri, 2 Mar 2012 12:18:29 +0000 (14:18 +0200)]
dsync: Added dsync_remote_cmd setting, which is used to execute remote dsync.
This is used for the old style "host" and "mailuser@host" parameters, as
well as for a new "remote:[user@]host" parameter.
Timo Sirainen [Fri, 2 Mar 2012 12:06:18 +0000 (14:06 +0200)]
dsync: Prefix remote dsync's error messages with "remote:".
Timo Sirainen [Fri, 2 Mar 2012 11:56:37 +0000 (13:56 +0200)]
dsync: Added -l <timeout> parameter to lock the sync (via ~/.dovecot-sync.lock)
Timo Sirainen [Fri, 2 Mar 2012 11:15:15 +0000 (13:15 +0200)]
doveadm: Added prerun() method for mail commands.
Timo Sirainen [Fri, 2 Mar 2012 10:23:00 +0000 (12:23 +0200)]
login: If session timeouts after authentication, log a better error about it.
Timo Sirainen [Thu, 1 Mar 2012 07:31:40 +0000 (09:31 +0200)]
imap: Changed internal FETCH command handling API.
Timo Sirainen [Wed, 29 Feb 2012 11:04:24 +0000 (13:04 +0200)]
mailbox_list_index=yes: Fixed mailbox listing when not using default namespace settings.
Timo Sirainen [Wed, 29 Feb 2012 10:53:21 +0000 (12:53 +0200)]
fts-squat: Fixed search to actually work.
Timo Sirainen [Tue, 28 Feb 2012 16:50:46 +0000 (18:50 +0200)]
Show SEARCH=FUZZY in IMAP capabilities only when FTS backend actually supports it.
Timo Sirainen [Tue, 28 Feb 2012 04:52:43 +0000 (06:52 +0200)]
mailbox list indexes: Avoid unnecessary refresh flag writes.
Timo Sirainen [Tue, 28 Feb 2012 03:27:03 +0000 (05:27 +0200)]
lib-lda: Fixed mai forward/reject to work with the new smtp_client_open() API.
Timo Sirainen [Tue, 28 Feb 2012 03:21:19 +0000 (05:21 +0200)]
pop3-login: Fixed APOP authentication, broken by recent changes.
Timo Sirainen [Tue, 28 Feb 2012 03:14:00 +0000 (05:14 +0200)]
Compiler warning fixes
Timo Sirainen [Tue, 28 Feb 2012 02:29:12 +0000 (04:29 +0200)]
fs layout: Mailbox listing returned duplicates when patterns contained a parent and its children.
Timo Sirainen [Mon, 27 Feb 2012 14:53:50 +0000 (16:53 +0200)]
auth worker: reset idle time after running a command, not before.
Timo Sirainen [Mon, 27 Feb 2012 14:52:44 +0000 (16:52 +0200)]
auth worker: When idle_kill timeout is reached, change process title to indicate it.
Timo Sirainen [Mon, 27 Feb 2012 14:31:33 +0000 (16:31 +0200)]
mysql: Log idle time also for CR_SERVER_LOST errors.
Timo Sirainen [Mon, 27 Feb 2012 12:40:19 +0000 (14:40 +0200)]
dsync: Removed accidentally committed debug code.
Timo Sirainen [Mon, 27 Feb 2012 12:38:05 +0000 (14:38 +0200)]
dsync: Fixes to handling legacy dsync parameters.
Timo Sirainen [Mon, 27 Feb 2012 12:37:45 +0000 (14:37 +0200)]
doveadm: Allow subcommands to specify '+' getopt parameter.
Timo Sirainen [Mon, 27 Feb 2012 11:34:20 +0000 (13:34 +0200)]
lib-ssl-iostream: Use SSL_LIBS when linking the shared library.
Timo Sirainen [Mon, 27 Feb 2012 10:02:07 +0000 (12:02 +0200)]
lib-lda: smtp_client_open() API changed to return struct ostream, not FILE.
Timo Sirainen [Mon, 27 Feb 2012 09:48:18 +0000 (11:48 +0200)]
auth: Removed destuser check from proxy_maybe's "self" check.
Timo Sirainen [Mon, 27 Feb 2012 09:37:02 +0000 (11:37 +0200)]
dovecot-config: moved lib-auth and LIBDOVECOT_SERVICE_INCLUDEs to LIBDOVECOT_INCLUDE
Timo Sirainen [Mon, 27 Feb 2012 09:33:34 +0000 (11:33 +0200)]
lib-dns: dns_lookup() returns now the lookup struct, and it can be aborted.
Changed all dns_lookup() users also to abort the lookup when needed
(previously it probably would have just accessed freed memory and crash).
Timo Sirainen [Mon, 27 Feb 2012 08:36:09 +0000 (10:36 +0200)]
Minor code cleanup.
Timo Sirainen [Mon, 27 Feb 2012 08:32:03 +0000 (10:32 +0200)]
pop3: Added module contexts to struct client, and made client_destroy() a virtual method.
Timo Sirainen [Mon, 27 Feb 2012 08:30:57 +0000 (10:30 +0200)]
imap: Made client_destroy() a virtual method.
Timo Sirainen [Sun, 26 Feb 2012 02:59:36 +0000 (04:59 +0200)]
lib-storage: Removed min_timeout parameter from mailbox_notify_changes()
It's now internally taken from mailbox_idle_check_interval setting.
Timo Sirainen [Sat, 25 Feb 2012 05:36:11 +0000 (07:36 +0200)]
Merged fixes from v2.1 tree.
Timo Sirainen [Sat, 25 Feb 2012 05:29:15 +0000 (07:29 +0200)]
imap-login: imap_id_* settings were ignored pre-login.
Timo Sirainen [Sat, 25 Feb 2012 05:08:27 +0000 (07:08 +0200)]
auth: Added proxy_always extra field.
When used with proxy_maybe, it can be used to redirect "local" users to
local backends via director.
Timo Sirainen [Sat, 25 Feb 2012 05:08:27 +0000 (07:08 +0200)]
auth: Added proxy_always extra field.
When used with proxy_maybe, it can be used to redirect "local" users to
local backends via director.
Timo Sirainen [Sat, 25 Feb 2012 04:54:52 +0000 (06:54 +0200)]
imap/pop3/lmtp proxy: Implemented detection of proxy loops with TTL.
If proxying tries to continue after 5 forward connections, it fails. The
limit of 5 is hard coded currently.
Timo Sirainen [Sat, 25 Feb 2012 04:41:59 +0000 (06:41 +0200)]
pop3 proxy: Fixed previous change not to hang.
Timo Sirainen [Sat, 25 Feb 2012 04:41:59 +0000 (06:41 +0200)]
pop3 proxy: Fixed previous change not to hang.
Timo Sirainen [Sat, 25 Feb 2012 04:39:00 +0000 (06:39 +0200)]
pop3 proxy: Fixed handling XCLIENT reply.
Timo Sirainen [Sat, 25 Feb 2012 04:39:00 +0000 (06:39 +0200)]
pop3 proxy: Fixed handling XCLIENT reply.
Timo Sirainen [Sat, 25 Feb 2012 03:42:05 +0000 (05:42 +0200)]
auth: Added auth_proxy_self setting to specify IPs that are considered as "self" for proxy_maybe.
Timo Sirainen [Sat, 25 Feb 2012 03:42:05 +0000 (05:42 +0200)]
auth: Added auth_proxy_self setting to specify IPs that are considered as "self" for proxy_maybe.
Timo Sirainen [Sat, 25 Feb 2012 03:13:39 +0000 (05:13 +0200)]
dns: Removed login/dns-client socket, since it's no longer necessary.
Timo Sirainen [Sat, 25 Feb 2012 03:13:27 +0000 (05:13 +0200)]
login proxy: Removed host DNS lookup code, since auth does it now.
Timo Sirainen [Sat, 25 Feb 2012 03:11:59 +0000 (05:11 +0200)]
auth: Use proxy_timeout as DNS lookup timeout, if available. Warn if lookup takes >0.5s.
Timo Sirainen [Sat, 25 Feb 2012 03:11:59 +0000 (05:11 +0200)]
auth: Use proxy_timeout as DNS lookup timeout, if available. Warn if lookup takes >0.5s.
Timo Sirainen [Sat, 25 Feb 2012 03:04:15 +0000 (05:04 +0200)]
auth: Handle proxy_maybe=yes with host=hostname properly.
Timo Sirainen [Sat, 25 Feb 2012 03:20:47 +0000 (05:20 +0200)]
pop3-login: Implemented XCLIENT command for forwarding client ip/port from proxy.