2012-02-06 Timo Sirainen * src/lib-storage/index/dbox-single/sdbox-storage.c: sdbox: Fix a corrupted mailbox when opening it, instead of losing all of its contents. [a765e0a895a9] [tip] * src/doveadm/doveadm-instance.c: doveadm instance list: Show the last used field. [833ac7b1d58b] * src/lib-master/master-instance.c, src/lib-master/master-instance.h: lib-master: Removed code to auto-drop instances from the list. There couldn't be any empty named instances, so it was a bit pointless. [51c4e336c872] * src/master/main.c: master: If instance_name doesn't begin with "dovecot", add "dovecot-" prefix to process names. [26885fe20e1f] * src/lib-master/Makefile.am, src/lib-master/master-service-private.h, src/lib-master/master-service.c: lib-master: Added -i parameter to read config by instance name rather than path. [3fa544e4f26b] * src/doveadm/Makefile.am, src/doveadm/doveadm-instance.c, src/doveadm/doveadm.c, src/doveadm/doveadm.h, src/lib- master/Makefile.am, src/lib-master/master-instance.c, src/lib-master /master-instance.h, src/master/main.c: Keep track of what Dovecot instances have been executed and their instance_name. doveadm instance command can be used to list/remove them. [5f60958926e1] * src/log/doveadm-connection.c, src/log/doveadm-connection.h, src/log /log-error-buffer.c, src/log/log-error-buffer.h: log: Forgot to add new files to recent commit. [6cd1b564fcc2] * src/util/rawlog.c: rawlog: Renamed -i / -o parameters to "-f in", "-f out" This is mainly to get give the -i parameter to lib-master. [664778adec21] * src/doveadm/doveadm-log.c, src/log/Makefile.am, src/log/log- connection.c, src/log/log-connection.h, src/log/log-settings.c, src/log/main.c: log: Keep track of last 1000 errors/warnings. "doveadm log errors" shows them. [66f875b5102b] * src/lib/failures.c, src/lib/failures.h: liblib: Added failure_log_type_names[] array. [0d224f2c3152] 2012-02-02 Timo Sirainen * src/lib-storage/index/pop3c/pop3c-client.c, src/lib- storage/index/pop3c/pop3c-mail.c: pop3c: Fixes to handling filter streams for mail. [fa7e1246e0e2] * src/lib/istream-seekable.c: istream-seekable: If we panic about stream not being seekable, log the stream name/offset. [f31a227ae381] * src/lib-storage/index/pop3c/pop3c-client.c: pop3c: Last message wasn't visible. [a5aac072bf38] * src/lib-storage/index/imapc/imapc-storage.c: imapc: If base_dir isn't set, do a blocking DNS lookup. This is mostly a workaround for being able to run imapc from standalone programs (e.g. doveadm) without running Dovecot. [47072538ff11] * src/lib-imap-client/imapc-connection.c: lib-imap-client: If dns_client_socket_path isn't given, do a blocking lookup. [9d031f0b613d] * src/doveadm/doveadm-mail-fetch.c: doveadm fetch: Added support for hdr.*.utf8 fields. [ceadfe9009aa] * src/lib-storage/mail-storage.c: lib-storage: One more crashfix for recent maildir_name/mailbox_dir_name change. [ba48de993c8e] * src/auth/db-ldap.c: auth: Get LDAP attribute names automatically from template's %{ldap:attr} variables. [d29d119192c1] * src/lib/var-expand.c: var_expand*(): Allow table to be NULL (when using only func_table). [56c3a6c1d187] * src/auth/db-ldap.c: auth: LDAP fields can now access any returned LDAP attribtes with %{ldap:name} [ab58022f934f] * src/lib/var-expand.c, src/lib/var-expand.h: liblib: Added var_expand_with_funcs() to expand variables with function callbacks. [ba86a60e3059] * src/auth/db-ldap.c, src/auth/db-ldap.h: ldap: Crashfixes to previous change. [7edafe5c43da] * src/lib-storage/index/imapc/imapc-list.c: imapc: Crashfix related to recent maildir_name/mailbox_dir_name changes. [adb1ac9a9b82] * src/config/config-parser.c: config: In "key= * src/lib-storage/index/dbox-single/sdbox-sync.c: sdbox: Fixed moving files from alt storage to primary storage. [fb659472b2a2] * src/plugins/stats/stats-plugin.c: stats plugin disabled calling other plugins' user.deinit() method. [b82a3149f45e] * src/lib-storage/index/dbox-common/dbox-storage.c, src/lib- storage/index/maildir/maildir-storage.c, src/lib-storage/mailbox- list.c: lib-storage: And another fix to previous maildir_name/mailbox_dir_name changes. [db8c1dde0b41] * src/lib/ioloop-private.h, src/lib/ioloop.c, src/lib/ioloop.h: ioloop: I/O and timeout leak messages now include the io_add()/timeout_add() source line number. This helps figuring out the leak especially when using ASLR. Also in 64bit systems there's no increased memory usage, because the line number replaces only padding. [0308a33d9f99] * src/lib-storage/mailbox-list.c: lib-storage: Crashfix to previous change. [e3c4a86fb63b] * src/lib-master/mountpoint-list.c, src/lib-master/mountpoint-list.h, src/lib-storage/mail-user.c, src/lib-storage/mail-user.h, src/lib- storage/mailbox-list.c: lib-storage: Abort index/control/alt root dir creation if mountpoint isn't mounted. [d01932c7828a] * src/doveadm/doveadm-mount.c: doveadm mount: Renamed "status" command to "list". [cf34d9fc5cec] * src/doveadm/doveadm-mount.c: doveadm mount remove: Allow removing a wildcard path with the '*' suffix. [f9a4404f2316] * src/doveadm/Makefile.am, src/doveadm/doveadm-mount.c, src/doveadm/doveadm.c, src/doveadm/doveadm.h, src/lib- master/Makefile.am, src/lib-master/mountpoint-list.c, src/lib-master /mountpoint-list.h, src/master/main.c: Keep track of seen mountpoints and warn at startup if one is missing. doveadm mount commands can be used to manipulate the list. The list is kept in $rundir/mounts, but since it may be deleted after a reboot a copy is kept also in $statedir/mounts. If it's not found from $rundir at startup, it's copied there from $statedir. (The reason why only $statedir isn't used is because it's often not world-readable.) [51324056af4f] * src/doveadm/doveadm-director.c, src/doveadm/doveadm-print-table.c, src/doveadm/doveadm-print.h, src/doveadm/doveadm-proxy.c, src/doveadm/doveadm-stats.c, src/doveadm/doveadm-who.c: doveadm: Added flag to specify which column table formatter expands. The default also was changed to last column, not first. [56ff22125b7d] * configure.in: configure: Added getmntinfo() check for BSD mountpoint iteration. [4b783711a22e] * src/lib-storage/index/dbox-common/dbox-sync-rebuild.c, src/lib- storage/index/dbox-multi/mdbox-file.c, src/lib-storage/index/maildir /maildir-util.c, src/lib-storage/mail-storage.c, src/lib-storage /mailbox-list.c, src/lib-storage/mailbox-list.h, src/plugins/fts- lucene/fts-backend-lucene.c: lib-storage: mailbox_list_mkdir_root() API changed. Use it now for creating mail root dir. It was supposed to be used for it previously, but wasn't.. [aed3379df476] * src/lib/guid.c: guid_128_generate(): Use 32bit sha1(host@domain) instead of crc32(hostname) [acc60bd684fb] 2012-01-30 Timo Sirainen * src/lib/mountpoint.c, src/lib/mountpoint.h: Added mountpoint_iter_*() for iterating mounted filesystems. [8be75a2ea2dd] 2012-01-29 Pascal Volk * doc/man/doveconf.1.in: man: Added descriptions of -d and -S options to doveconf.1. [cc533cbd77b0] 2012-01-29 Timo Sirainen * src/lib/istream-seekable.c: istream-concat: If EOF is already reached, use that size for stat().st_size [15bcb5616717] * src/plugins/zlib/ostream-bzlib.c, src/plugins/zlib/ostream-zlib.c: zlib: zlib/bzlib ostreams no longer assert-crash if parent stream becomes full. This fixes assert-crashes with IMAP COMPRESS extension. [3c0bd1fd035b] * src/lib-storage/index/pop3c/pop3c-mail.c: pop3c: mail.istream_opened() method wasn't being called. [397224940894] * src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c: mdbox: Don't lose save_dates when rebuilding indexes. [47018c625680] * src/plugins/zlib/zlib-plugin.c: zlib+mbox: Fixed error handling when opening nonexistent/directory mailbox. [dd2f85009ba0] 2012-01-28 Timo Sirainen * src/imap/imap-search.c: imap: CONTEXT search return option wasn't handled at all. [7a1e2cb5c13c] * src/lib-storage/index/dbox-multi/mdbox-map.c, src/lib-storage/index /dbox-multi/mdbox-save.c, src/lib-storage/index/dbox-multi/mdbox- storage-rebuild.c, src/lib-storage/index/dbox-multi/mdbox-sync.c, src/lib-storage/index/dbox-multi/mdbox-sync.h: mdbox: Check that m.X file doesn't have garbage at end of file when saving new data to it. [bde005e302e0] * src/doveadm/dsync/dsync-worker-local.c: dsync: Fixed handling non-ASCII characters in mailbox names. [ef6f3b7f6038] * src/config/config-parser-private.h, src/config/config-parser.c, src/config/doveconf.c: doveconf: Added -d parameter for dumping default settings. [41cb0217b7c3] * src/lib-sql/driver-sqlpool.c: sql: Fixed retrying query when multiple hosts were specified and all of them got disconnected. [6b902f2be944] * src/lib-storage/index/index-thread-finish.c: lib-storage: Thread iteration no longer returns dummy nodes without children. This fixes returning (0) nodes to IMAP client. [67972d72b55c] * src/lib/restrict-access.c: restrict_access(): If privileged and primary GIDs are the same, ignore privileged GID. [9b8657a98e2e] * src/doveadm/dsync/dsync-brain.c: dsync: If brain fails but workers don't, exit without assert- crashing. [2a4b425b05dc] * src/doveadm/dsync/dsync-worker-local.c: dsync: Don't crash if one source has indexes disabled. [7b94d1c8a6e7] * src/lib-lda/smtp-client.c: smtp client: Do DNS blocking lookups. We don't currently have access to base_dir, so we can't know what the path to dns-client is. Also smtp client is a blocking operation anyway, so doing a blocking DNS lookup isn't a problem. [32318f1588d4] * src/lib-lda/lmtp-client.c: smtp/lmtp client: If dns-client socket path isn't given, use blocking lookup. [bc2eea348f55] * src/lib-storage/list/mailbox-list-fs.c: fs layout: Handle properly returning path when there is no root dir. [5a14f5ddd1a2] 2012-01-27 Timo Sirainen * src/master/service-monitor.c, src/master/service.h: master: Throttle rapid exit failures only if there have never been any exit successes. This should still catch buggy services without allowing intentional DoSing. [85a9b5236b6c] * src/master/service-monitor.c, src/master/service.c, src/master/service.h: master: Make service throttling seconds incremental, starting from 2 secs. [c553725d57bb] * src/master/service-monitor.c, src/master/service.h: master: If 10 service processes die within a second with no successes inbetween, throttle the service. [300736775b89] * src/auth/userdb-passwd.c: auth: Monitor how fast userdb passwd lookups are. If they're too slow, suggest blocking=yes [c9b5ea1b9709] * src/auth/db-passwd-file.c: auth: If parsing passwd-file takes a long time, log a warning. [e9a816eaa0e2] * src/imap-login/imap-proxy.c, src/login-common/client-common.c, src /login-common/client-common.h, src/pop3-login/pop3-proxy.c: login proxy: If remote auth fails, say so in disconnect message instead of "internal failure". [cb344eb79daa] * dovecot-config.in.in: dovecot-config: Added missing lib-dns and lib-fs to LIBDOVECOT_INCLUDE [7767d168c994] * src/lib-storage/index/dbox-single/sdbox-file.c: sdbox: Preserve file's atime/mtime when moving it to alt storage. [10320252b521] * src/lib-imap-client/imapc-connection.c: imapc: If imapc_host is IP, don't look it up via dns-client service. [6e6c20ab1ed1] * doc/example-config/conf.d/10-mail.conf: example-config: mdbox_rotate_interval default was wrong. [c330960e6bcb] * src/imap-login/imap-proxy.c, src/pop3-login/client-authenticate.c, src/pop3-login/pop3-proxy.c: login: More verbose_auth -> auth_verbose changes. [d88f58c6fd21] * src/login-common/login-settings.c, src/login-common/login- settings.h: login: If auth_debug_passwords=yes, assume auth_debug/auth_verbose=yes [520fcb49c939] * src/login-common/client-common-auth.c, src/login-common/login- settings.c, src/login-common/login-settings.h, src/login-common /sasl-server.c, src/login-common/ssl-proxy-openssl.c: login process wasn't logging all intended messages with auth_verbose=yes It was named verbose_auth setting accidentally. [581aaea8569c] * src/lib-storage/index/imapc/imapc-mail.c: imapc: If server doesn't support GUIDs, return empty GUID rather than fail. This is how other backends do it as well. [f3e000992f61] 2012-01-26 Timo Sirainen * src/doveadm/doveadm-mail-fetch.c: doveadm fetch hdr.*.adddress*: Don't crash when printing groups. [afeabe28a499] * src/doveadm/doveadm-mail-fetch.c: doveadm fetch: hdr.*.address and hdr.*.address_name expand to parsed mail addresses. [a6a787f0aba1] * src/doveadm/doveadm-mail-fetch.c: doveadm fetch text.utf8: Don't return failure on success. [2418871d09f5] * src/doveadm/doveadm-mail-fetch.c: doveadm fetch: Added text.utf8 field, which translates headers/body to UTF-8. [89a637820edd] * src/auth/password-scheme.c: auth: Added PLAIN-TRUNC password schmee. The idea is to allow successful authentication when the original plaintext password was stored truncated in the database. So e.g. user gave 123456789 as password, but database truncated it to 12345678. To make this authentication work, {PLAIN-TRUNC}8-12345678 password allows successful authentication with any password that begins with 12345678. With the "8-" prefix this prefix matching is done only when the password after it is exactly 8 characters. [3235e903dc97] * src/lib/Makefile.am: Makefile: Added UnicodeData.txt dependency to unicodemap.c. [b2a2036bad3a] * .hgsigs: Added signature for changeset 0f10b3ed5c18 [de09157961d6] * .hgtags: Added tag 2.1.rc5 for changeset 0f10b3ed5c18 [67f12146691c] * NEWS, configure.in: Released v2.1.rc5. [0f10b3ed5c18] [2.1.rc5] * src/lib-storage/index/maildir/maildir-save.c: maildir: When saving mails compressed, make sure ,S=size gets added to the filename. [8f25ff7e0e78] 2012-01-25 Timo Sirainen * src/lib-storage/index/index-mail.c: lib-storage: Message size lookups from cache was broken if fields weren't in "normal" order in file. [cfc395ee6be1] 2012-01-24 Timo Sirainen * .hgsigs: Added signature for changeset a20a99b8815d [d01c46b6b5bb] * .hgtags: Added tag 2.1.rc4 for changeset a20a99b8815d [844294bc4b32] * NEWS, TODO, configure.in: Released v2.1.rc4. [a20a99b8815d] [2.1.rc4] * src/lib-storage/list/mailbox-list-index.c: Dead code removal. [077b09204860] * src/lib-index/mail-index-sync-ext.c: lib-index: Handle broken ext-header updates without crashing. [b4d8e950eb9d] * src/plugins/zlib/istream-bzlib.c, src/plugins/zlib/istream-zlib.c: zlib: Getting stream's size failed in some situations. This could have caused other trouble, such as with dbox + mail_attachment_dir. [c464072d05e0] * src/lib-storage/index/dbox-common/dbox-attachment.c: dbox: Minor code correctness fix. [096c12e69fd6] * src/lib-storage/index/istream-mail.c: istream-mail: Skip checking if cached message size is wrong if parent stream returns error. An error is not the same as EOF. [4e3f2ee77b37] * src/lib/istream-concat.c: istream-concat: If looking up stream's size fails, log an error and handle it as error, not EOF. [5c1471ae3005] 2012-01-22 Timo Sirainen * src/login-common/client-common-auth.c, src/login-common/client- common.h: login: Make SASL auth buffer size define public. [83a2e1ba3ab6] 2012-01-21 Timo Sirainen * src/lib-storage/index/pop3c/pop3c-settings.c: pop3c: Change the default port to 110, not 143. [8f5cdb88d047] * src/lib-storage/index/pop3c/pop3c-storage.c: pop3c: Fixed to work without indexes. [b6f9fa12dca6] * src/imap-login/client-authenticate.c, src/imap-login/client- authenticate.h, src/imap-login/client.c, src/imap-login/client.h, src/login-common/client-common-auth.c: imap-login: Fixed handling second AUTHENTICATE command when the first one failed. [32cf5ed72e2d] * src/lmtp/client.c, src/lmtp/lmtp-settings.c, src/lmtp/lmtp- settings.h: lmtp: Fixed assert-crashing on 3rd client connection. [e9f68fdf6967] * src/lmtp/commands.c, src/lmtp/main.c, src/lmtp/main.h: lmtp: Make core dumping work also after the first mail delivery. [d5ba2d63ed6d] 2012-01-20 Timo Sirainen * src/lib-storage/list/mailbox-list-fs-iter.c: fs layout: Fixed listing child mailboxes when children flags weren't requested. [54e74090fb42] * src/lib-storage/list/mailbox-list-fs-iter.c: fs layout: Don't list subscriptions file as a mailbox. [958ef86e7f5b] * src/plugins/notify/notify-plugin.c: notify plugin: Don't crash if user-plugin didn't set mailbox_rename. Patch by Ewald Dieterich. [62c33ed5e357] * src/plugins/notify/notify-plugin-private.h, src/plugins/notify /notify-plugin.c, src/plugins/notify/notify-plugin.h, src/plugins/notify/notify-storage.c: notify plugin: Added mailbox_update and mailbox_set_subscribed notifications. [eaf3152a33d6] * doc/example-config/dovecot.conf, src/master/main.c, src/master /master-settings.c, src/master/master-settings.h: master: Added instance_name setting, which is used to prefix processes in ps output. [e1f21a4ef417] * src/lib-sql/driver-mysql.c: mysql: If query fails with "MySQL server gone away", log also how long it idled. [a817cfc3979d] * src/auth/auth-common.h, src/auth/auth-worker-client.c, src/auth /auth-worker-client.h, src/auth/auth-worker-server.c, src/auth/main.c, src/auth/passdb-pam.c: auth: Make idle_kill work with auth worker processes. [58556a90259f] * src/lib-master/master-interface.h, src/lib-master/master-service- private.h, src/lib-master/master-service.c, src/lib-master/master- service.h, src/master/service-process.c: lib-master: Send service's idle_kill value to process in environment. [3963862a4086] * src/master/service-process.c: Typofix. [a6a53c658cab] * src/plugins/fts/fts-parser-script.c: fts: Run decoder script with 10 second alarm. [01480afe283f] * src/util/script.c: script: Set alarm() for the script being run only if alarm= parameter is given. [5f33a67d5e25] * src/plugins/fts/decode2text.sh: decode2text.sh: Hide catdoc/catppt/xls2csv segmentation faults. We can't do anything about them anyway. [4d60dcf35bbe] * src/imap/main.c, src/lib-master/master-login.c, src/lib-master /master-login.h, src/pop3/main.c: imap, pop3: Added -t parameter to specify post-login script timeout. [9015f0b8fa4d] * src/util/script-login.c: script-login: If we fail to finish, exit with 0 to avoid master logging error unnecessarily. [db37a5818b92] * src/plugins/quota/quota-maildir.c: Maildir++ quota: Close maildirsize file after writing to it to force NFS to write it. This should fix the "Stale NFS file handle" errors with maildirsize. [00a27339f541] * src/lib/eacces-error.c: eacces_error(): Removed bogus message about UNIX perms appearing to be ok. [8714ccb35848] * src/lib-auth/auth-server-connection.c: lib-auth: Don't log the "auth connection closed" warning if there were 0 non-aborted requests. [569e1fd8d97e] * src/lib-auth/auth-client-request.c, src/lib-auth/auth-client- request.h, src/lib-auth/auth-client.c, src/lib-auth/auth-client.h, src/lib-auth/auth-server-connection.c, src/lib-auth/auth-server- connection.h, src/login-common/client-common.c, src/login- common/main.c: lib-auth: Improved warning message about aborting auth requests. [3dae51fd4565] 2012-01-19 Timo Sirainen * src/auth/auth-settings.c, src/auth/auth-worker-client.c, src/auth /auth-worker-client.h, src/auth/auth-worker-server.c, src/auth/db- sql.c, src/auth/db-sql.h, src/auth/main.c, src/auth/passdb-sql.c, src/auth/userdb-sql.c: auth: Throttle SQL auth worker process creation if they can't connect to database. [7175320feafc] * src/auth/auth-common.h, src/auth/auth-worker-client.c, src/auth /auth-worker-client.h, src/auth/main.c: auth: Show a better auth worker process title. [1fa75cada826] * src/auth/auth-request.c: auth: Avoid adding duplicate extra fields to auth replies. This especially fixes default_fields/override_fields. [05940646a0f4] * src/auth/auth-stream.c, src/auth/auth-stream.h, src/auth/userdb- blocking.c: auth: Minor optimization. [057477461add] * src/auth/passdb-template.c: auth: Don't crash when setting valueless default/override_fields to passdb. [234de9c2240f] * src/imap-login/client-authenticate.c, src/imap-login/client- authenticate.h, src/imap-login/client.c, src/imap-login/client.h, src/lib-master/master-auth.h, src/login-common/client-common-auth.c, src/login-common/client-common.h: imap-login: Handle SASL-IR without overflowing master_auth_request's buffer. [b86f7dd170c6] * src/lib-auth/auth-client-request.c: lib-auth: Treat cert_username="" and initial_resp_base64="" the same as NULLs. [141d1e26b13a] 2012-01-18 Timo Sirainen * src/auth/db-ldap.c, src/auth/db-ldap.h, src/auth/passdb-ldap.c, src/auth/userdb-ldap.c: auth: Log a warning if userdb ldap isn't used, but user_* or iterate_* aren't defaults. This is intended to stop people from wondering why their changes don't do anything. [826ac15f8a13] * src/auth/db-sql.c, src/auth/db-sql.h, src/auth/passdb-sql.c, src/auth/userdb-sql.c: auth: Log a warning if userdb sql isn't used, but user_query or iterate_query isn't default. This is intended to stop people from wondering why user_query doesn't do anything. [8822aeae8d82] * src/lib-storage/list/mailbox-list-fs-iter.c: fs layout: Don't crash in mailbox listing if there are only invalid patterns. [99ea6da7dc99] * src/lib-lda/mail-deliver.c: lib-lda: Added %e / %{from_envelope} variable to deliver_log_format. [08cc9d2a79e6] * src/lib-storage/index/index-mail.c, src/lib-storage/index/index- mail.h, src/lib-storage/index/index-storage.c: lib-storage: Preserve from_envelope in save context's dest_mail even if it's temporary. This allows looking it up while the mail is being saved. [7ee2cfbcae2e] * src/master/service-monitor.c: master: Show the process_limit / client_limit value when logging that it's been reached. [a4e61c99c7eb] 2012-01-17 Timo Sirainen * src/lmtp/lmtp-proxy.c: lmtp: Removed unnecessary code. [bb848036f1b4] * src/lib-lda/lmtp-client.c: lib-lda: Fixed LMTP client hanging on sending large mails. [8a9a803f8af4] * src/lmtp/client.c, src/lmtp/lmtp-settings.c, src/lmtp/lmtp- settings.h: lmtp: Get banner text from login_greeting setting. [05434bef2492] * src/lib-storage/mail-storage-service.c, src/lib-storage/mail- storage-service.h: lib-storage: Added mail_storage_service_get_var_expand_table(). [ded87d81fc74] * src/director/director-connection.c, src/director/director.c, src/director/director.h: director: Added timeout to syncing to make sure we don't hang if it somehow gets lost. [493ebb2cfc73] * src/director/director-connection.c: director: Make sure ring syncing doesn't get lost when directors get disconnected. [9e43af01f147] * src/auth/mech-digest-md5.c: auth: DIGEST-MD5 supports authorization id now. Patch by Yubao Liu. [c9c271502b32] * src/auth/mech-digest-md5.c: auth: DIGEST-MD5 didn't read nonce-count parameter correctly. Patch by Yubao Liu. [387707dc020e] * src/director/main.c: director: Drop privileges only after adding hosts. This allows reading files from /etc/ before chrooting. [1d54d2963392] * src/auth/passdb.c, src/auth/userdb.c: auth: Fixed loading passdb/userdb plugins. Patch by Stephan Bosch. [352d3f2f8bb7] * src/director/director.c, src/director/director.h, src/director/main.c: director: Find director's own IP earlier in init. [b8fa70a81c8c] 2012-01-12 Timo Sirainen * src/doveadm/dsync/doveadm-dsync.c: dsync: Fixed handling -u parameter in backwards compatibility dsync mode. [1a722c7676bb] * src/login-common/client-common-auth.c, src/login-common/client- common.c, src/login-common/client-common.h: login: Added logging if auth process doesn't respond fast enough for greeting. [957e74f0d60f] * doc/example-config/conf.d/10-master.conf: example-config: Updated vsz_limit default values. [1c77891b754b] 2012-01-11 Timo Sirainen * src/login-common/client-common-auth.c: login proxy: Added extra logging for bug detection. [d72db2acf75b] * configure.in: configure: Add -fno-builtin-strftime flag with gcc to avoid warning. [e0ff21d73630] 2012-01-10 Timo Sirainen * src/lib/iostream-rawlog.c: Compiler warning fix. [19700d683144] * src/plugins/fts/decode2text.sh: decode2text.sh: Exit with 0 even if the decoding failed. There's nothing to be done anyway, since they are external programs. These errors just flood the error log unnecessarily. [24d79a3708c6] * src/lib-mail/message-search.c, src/lib-mail/message-search.h, src /lib-storage/index/index-search.c: Don't assert-crash on mail search if decomposed titlecase of search key is empty. [bc3b343b1999] * src/plugins/quota/quota-maildir.c: quota: Try to avoid logging NFS stale fhandle errors when closing maildirsize file. [0cd33404a201] * src/imap-login/client-authenticate.c, src/pop3-login/client- authenticate.c: imap/pop3-login: Include hostname and timestamp in "temporary auth failure" message. [81fa0597b8b6] * src/doveadm/doveadm-util.c, src/lib-storage/mail-storage.c, src/lib- storage/mailbox-list.c, src/lib/iostream-rawlog.c, src/util/rawlog.c: Use t_strflocaltime() where possible. [d4c506d8f534] * src/lib/macros.h, src/lib/time-util.c, src/lib/time-util.h: Added t_strflocaltime(). [22cfba724675] * src/master/master-settings.c: master: default_idle_kill setting wasn't "time" type. [1362d8bda03c] * src/director/director-connection.c, src/director/director-request.c, src/director/director-request.h, src/director/director.c, src/director/director.h, src/director/login-connection.c: director: If request is timed out, log an error. [c70965e8b27d] * src/auth/auth-request.c: s/Fallbacking/Falling back/ [ee7b18b1fc00] * src/plugins/fts-solr/fts-backend-solr.c: fts-solr: Make sure header name is lowercased in search queries. [075591a4b6a8] * src/login-common/client-common-auth.c: login proxy: If server disconnects during auth, log the connection duration. [dd48e9094efb] 2012-01-09 Timo Sirainen * src/master/service-process.c: master: "Out of memory" message shows now the service {} block around vsz_limit. [16d32dda723c] * src/lib-storage/index/imapc/imapc-settings.c, src/lib- storage/index/imapc/imapc-settings.h, src/lib-storage/index/imapc /imapc-storage.c: imapc: Added imapc_master_user setting. [b860d38f6b9e] * src/lib-imap-client/imapc-client.c: imapc: Treat master_user="" the same as NULL. [43aa5c4f0bfd] * src/auth/auth.c: auth: Check also masterdbs when checking if auth mechanism can be used. Patch by Yubao Liu [32f61c8498a4] * src/lib-lda/lmtp-client.c: lib-lda: Make lmtp_client_state_to_string() more verbose. [7c39b94ded90] * src/auth/Makefile.am, src/auth/auth-postfix-connection.c, src/auth /auth-postfix-connection.h, src/auth/main.c: auth: Implemented support for Postfix's "TCP map" sockets for user existence lookups. [f562bcaca215] * src/auth/auth-client-connection.c, src/auth/auth-client- connection.h, src/auth/auth-master-connection.c, src/auth/auth- master-connection.h, src/auth/main.c: auth: Use linked list instead of array for storing list of auth connections. With arrays the removal was slower than necessary. [fd8fc3b7615e] 2012-01-07 Timo Sirainen * src/auth/auth-request.c: Removed unnecessary code. [5173218ff7fe] 2012-01-06 Timo Sirainen * .hgsigs: Added signature for changeset 5398bdb8613f [a0f9887133e6] * .hgtags: Added tag 2.1.rc3 for changeset 5398bdb8613f [f1a1941bbf5a] * NEWS, TODO, configure.in: Released v2.1.rc3. [5398bdb8613f] [2.1.rc3] * src/lib-storage/mail-storage.c: Compiler warning fix. [4c06fb461cd4] * src/doveadm/dsync/doveadm-dsync.c, src/doveadm/dsync/dsync-proxy.c: Make static analyzer happier. [3dc9c253880d] * src/master/service-process.c: master: log/anvil listener names weren't set correctly. Also this fixes a long standing static analyzer "error". [326b05f0246b] * src/doveadm/dsync/Makefile.am: Makefile: added missing file [5f4b1539b406] * .hgsigs: Added signature for changeset a14b7333ae45 [3f96b6427e69] * .hgtags: Added tag 2.1.rc2 for changeset a14b7333ae45 [18d201efd02e] * NEWS, TODO, configure.in: Released v2.1.rc2. [a14b7333ae45] [2.1.rc2] * src/log/log-connection.c: log: Removed unnecessary code. [66facb0594a1] * src/plugins/mail-log/mail-log-plugin.c: mail-log: Log all mail deliveries with "save" event, even if it happened via copying. [e749d3171acd] * src/lib-lda/mail-deliver.c: lib-lda: Use mailbox_save_using_mail() instead of mailbox_copy() for saving mails. [dfe7158a48ff] * src/lib-storage/mail-storage-private.h, src/lib-storage/mail- storage.c, src/lib-storage/mail-storage.h: lib-storage: Added mailbox_save_using_mail() [1e58372ee6f0] * src/lib-storage/mail-copy.c, src/lib-storage/mail-storage-private.h, src/plugins/notify/notify-storage.c, src/plugins/quota/quota- storage.c: lib-storage: Renamed mail_save_context.copying to copying_via_save. [7f549b7eb77f] * src/doveadm/doveadm-mail.c, src/doveadm/doveadm-mail.h, src/doveadm/dsync/doveadm-dsync.c: doveadm: Hide "dsync-server" from list of commands. [08e5bc9cd64a] * src/doveadm/dsync/doveadm-dsync.c: doveadm: Renamed dsync commands. [383286ae9071] * src/auth/auth-request-handler.c: auth: If master_user is specified by userdb, don't add another one to reply. The one specified by userdb should have overridden the other one though. [f0d11bd4e5f5] * src/plugins/fts-solr/fts-backend-solr.c: fts-solr: Avoid using too much memory unnecessarily. Log a warning about huge headers. [380b0667e0a5] * src/lib/istream-data.c: istream-data: Avoid assert crashing due to recently added assert. [899a2359450a] 2012-01-04 Timo Sirainen * src/lib-index/mail-index-sync-keywords.c, src/lib-index/mail-index- sync.c, src/lib-index/mail-transaction-log-view.c: lib-index: Avoid assert-crashing on keyword-update record with empty keyword. [931436c5f2cc] * src/doveadm/dsync/dsync-worker-local.c: dsync: Don't remove other namespaces entirely, just skip the unwanted ones. This fixes incorrectly removing subscriptions=no namespaces entries from subscriptions. [4f995c6e971b] * src/plugins/imap-acl/imap-acl-plugin.c: imap-acl: Don't log errors when trying to change ACLs for nonexistent mailboxes.