]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Thu, 9 Feb 2012 03:33:54 +0000 (05:33 +0200)]
auth: password_verify() now returns error string also for password mismatches.
Timo Sirainen [Thu, 9 Feb 2012 03:27:32 +0000 (05:27 +0200)]
doveadm pw: Minor code cleanups.
Timo Sirainen [Thu, 9 Feb 2012 03:25:17 +0000 (05:25 +0200)]
doveadm pw: Improved error messages.
Timo Sirainen [Thu, 9 Feb 2012 03:21:22 +0000 (05:21 +0200)]
doveadm proxy list: Avoid hanging if we can't connect to ipc socket.
Timo Sirainen [Thu, 9 Feb 2012 03:16:59 +0000 (05:16 +0200)]
lib-master no longer uses 's' option, but it wasn't removed from getopt string.
Timo Sirainen [Thu, 9 Feb 2012 03:07:57 +0000 (05:07 +0200)]
INSTALL: Updated outdated documentation.
Timo Sirainen [Thu, 9 Feb 2012 03:04:42 +0000 (05:04 +0200)]
acl: Avoid assert-crashing when trying to access invalid mailbox names.
Timo Sirainen [Thu, 9 Feb 2012 02:26:39 +0000 (04:26 +0200)]
doveadm index: Changed help text to make it clear that mailbox can have wildcards.
Timo Sirainen [Thu, 9 Feb 2012 02:26:12 +0000 (04:26 +0200)]
doveadm force-resync: Support wildcards in mailbox names.
Timo Sirainen [Thu, 9 Feb 2012 02:13:28 +0000 (04:13 +0200)]
lib-storage: Trying to access shared mailboxes of nonexistent users crashed.
This was broken by commit
18078d6cce84 .
Timo Sirainen [Thu, 9 Feb 2012 01:56:50 +0000 (03:56 +0200)]
doveadm mailbox list without pattern shows now all shared and public mailboxes also.
doveadm mailbox list '*' shows only the one matching namespace.
Timo Sirainen [Thu, 9 Feb 2012 01:44:09 +0000 (03:44 +0200)]
mdbox: Fixed finding appendable m.* files in alt storage.
Timo Sirainen [Thu, 9 Feb 2012 00:58:36 +0000 (02:58 +0200)]
mbox: Added mbox_md5 setting to select headers for MD5 generation.
Timo Sirainen [Thu, 9 Feb 2012 00:34:23 +0000 (02:34 +0200)]
mdbox: Detect duplicate GUIDs for different messages. Don't delete these duplicates.
Only the message size is used for detecting if they are duplicates or not,
but since this shouldn't normally happen anyway this is good enough.
Timo Sirainen [Thu, 9 Feb 2012 00:25:18 +0000 (02:25 +0200)]
mdbox: Small code cleanup to storage rebuild.
Timo Sirainen [Thu, 9 Feb 2012 00:21:37 +0000 (02:21 +0200)]
mdbox: Avoid deferencing NULL pointer in specific corrupted mailboxes.
Timo Sirainen [Wed, 8 Feb 2012 23:23:00 +0000 (01:23 +0200)]
dbox: Index rebuild now preserves caching decisions.
Timo Sirainen [Wed, 8 Feb 2012 23:21:41 +0000 (01:21 +0200)]
lib-index: mail_cache_open_and_verify() is now public.
Timo Sirainen [Wed, 8 Feb 2012 23:00:14 +0000 (01:00 +0200)]
dbox: Never rename() mail files over existing files. If such a file exists, rebuild indexes.
Timo Sirainen [Wed, 8 Feb 2012 22:59:44 +0000 (00:59 +0200)]
mdbox: Fixed initial mailbox creation to work again without errors.
Timo Sirainen [Wed, 8 Feb 2012 22:41:25 +0000 (00:41 +0200)]
sdbox: Use mail_index_set_ext_init_data() to simplify opening mailboxes.
Now the initial mailbox index can be created with the necessary sdbox
header. If the header doesn't exist when opening a mailbox, it's guaranteed
to be corrupted.
Timo Sirainen [Wed, 8 Feb 2012 22:39:52 +0000 (00:39 +0200)]
lib-index: Added mail_index_set_ext_init_data() for adding data to index on creation.
This can be used to avoid race conditions on mailbox creation for mailbox
formats that require this (sdbox).
Timo Sirainen [Wed, 8 Feb 2012 22:38:30 +0000 (00:38 +0200)]
Increase initial memory pool sizes.
Timo Sirainen [Wed, 8 Feb 2012 21:27:22 +0000 (23:27 +0200)]
director: Fixed potential assert crash when moving a user to another backend.
Timo Sirainen [Wed, 8 Feb 2012 21:05:26 +0000 (23:05 +0200)]
iostreams: Set errno to stream_errno when exiting from failing functions.
Timo Sirainen [Wed, 8 Feb 2012 20:50:20 +0000 (22:50 +0200)]
doveadm instance remove: Allow removing using name as well as base dir.
Timo Sirainen [Wed, 8 Feb 2012 20:07:01 +0000 (22:07 +0200)]
Removed unnecessary code.
Timo Sirainen [Mon, 6 Feb 2012 20:41:18 +0000 (22:41 +0200)]
sdbox: Fix a corrupted mailbox when opening it, instead of losing all of its contents.
Timo Sirainen [Mon, 6 Feb 2012 19:48:29 +0000 (21:48 +0200)]
doveadm instance list: Show the last used field.
Timo Sirainen [Mon, 6 Feb 2012 19:45:49 +0000 (21:45 +0200)]
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.
Timo Sirainen [Mon, 6 Feb 2012 19:42:37 +0000 (21:42 +0200)]
master: If instance_name doesn't begin with "dovecot", add "dovecot-" prefix to process names.
Timo Sirainen [Mon, 6 Feb 2012 19:39:11 +0000 (21:39 +0200)]
lib-master: Added -i parameter to read config by instance name rather than path.
Timo Sirainen [Mon, 6 Feb 2012 19:26:55 +0000 (21:26 +0200)]
Keep track of what Dovecot instances have been executed and their instance_name.
doveadm instance command can be used to list/remove them.
Timo Sirainen [Mon, 6 Feb 2012 19:25:37 +0000 (21:25 +0200)]
log: Forgot to add new files to recent commit.
Timo Sirainen [Mon, 6 Feb 2012 17:34:18 +0000 (19:34 +0200)]
rawlog: Renamed -i / -o parameters to "-f in", "-f out"
This is mainly to get give the -i parameter to lib-master.
Timo Sirainen [Mon, 6 Feb 2012 17:30:12 +0000 (19:30 +0200)]
log: Keep track of last 1000 errors/warnings. "doveadm log errors" shows them.
Timo Sirainen [Mon, 6 Feb 2012 17:28:40 +0000 (19:28 +0200)]
liblib: Added failure_log_type_names[] array.
Timo Sirainen [Thu, 2 Feb 2012 21:22:06 +0000 (23:22 +0200)]
pop3c: Fixes to handling filter streams for mail.
Timo Sirainen [Thu, 2 Feb 2012 15:20:02 +0000 (17:20 +0200)]
istream-seekable: If we panic about stream not being seekable, log the stream name/offset.
Timo Sirainen [Thu, 2 Feb 2012 15:19:22 +0000 (17:19 +0200)]
pop3c: Last message wasn't visible.
Timo Sirainen [Thu, 2 Feb 2012 14:50:58 +0000 (16:50 +0200)]
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.
Timo Sirainen [Thu, 2 Feb 2012 14:49:46 +0000 (16:49 +0200)]
lib-imap-client: If dns_client_socket_path isn't given, do a blocking lookup.
Timo Sirainen [Thu, 2 Feb 2012 14:46:46 +0000 (16:46 +0200)]
doveadm fetch: Added support for hdr.*.utf8 fields.
Timo Sirainen [Thu, 2 Feb 2012 14:26:33 +0000 (16:26 +0200)]
lib-storage: One more crashfix for recent maildir_name/mailbox_dir_name change.
Timo Sirainen [Thu, 2 Feb 2012 13:45:30 +0000 (15:45 +0200)]
auth: Get LDAP attribute names automatically from template's %{ldap:attr} variables.
Timo Sirainen [Thu, 2 Feb 2012 13:44:51 +0000 (15:44 +0200)]
var_expand*(): Allow table to be NULL (when using only func_table).
Timo Sirainen [Thu, 2 Feb 2012 13:28:10 +0000 (15:28 +0200)]
auth: LDAP fields can now access any returned LDAP attribtes with %{ldap:name}
Timo Sirainen [Thu, 2 Feb 2012 13:27:27 +0000 (15:27 +0200)]
liblib: Added var_expand_with_funcs() to expand variables with function callbacks.
Timo Sirainen [Thu, 2 Feb 2012 13:25:04 +0000 (15:25 +0200)]
ldap: Crashfixes to previous change.
Timo Sirainen [Thu, 2 Feb 2012 11:26:38 +0000 (13:26 +0200)]
imapc: Crashfix related to recent maildir_name/mailbox_dir_name changes.
Timo Sirainen [Thu, 2 Feb 2012 11:12:19 +0000 (13:12 +0200)]
config: In "key=<path" path is now relative to config file's directory.
Timo Sirainen [Wed, 1 Feb 2012 23:07:37 +0000 (01:07 +0200)]
ldap: Support using the same LDAP attribute in multiple fields.
Timo Sirainen [Wed, 1 Feb 2012 21:33:51 +0000 (23:33 +0200)]
sdbox: Fixed moving files from alt storage to primary storage.
Timo Sirainen [Wed, 1 Feb 2012 21:06:12 +0000 (23:06 +0200)]
stats plugin disabled calling other plugins' user.deinit() method.
Timo Sirainen [Wed, 1 Feb 2012 20:18:33 +0000 (22:18 +0200)]
lib-storage: And another fix to previous maildir_name/mailbox_dir_name changes.
Timo Sirainen [Wed, 1 Feb 2012 20:04:26 +0000 (22:04 +0200)]
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.
Timo Sirainen [Wed, 1 Feb 2012 19:27:45 +0000 (21:27 +0200)]
lib-storage: Crashfix to previous change.
Timo Sirainen [Wed, 1 Feb 2012 18:30:18 +0000 (20:30 +0200)]
lib-storage: Abort index/control/alt root dir creation if mountpoint isn't mounted.
Timo Sirainen [Wed, 1 Feb 2012 18:21:38 +0000 (20:21 +0200)]
doveadm mount: Renamed "status" command to "list".
Timo Sirainen [Wed, 1 Feb 2012 18:21:06 +0000 (20:21 +0200)]
doveadm mount remove: Allow removing a wildcard path with the '*' suffix.
Timo Sirainen [Wed, 1 Feb 2012 17:29:31 +0000 (19:29 +0200)]
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.)
Timo Sirainen [Wed, 1 Feb 2012 17:13:04 +0000 (19:13 +0200)]
doveadm: Added flag to specify which column table formatter expands.
The default also was changed to last column, not first.
Timo Sirainen [Wed, 1 Feb 2012 16:57:14 +0000 (18:57 +0200)]
configure: Added getmntinfo() check for BSD mountpoint iteration.
Timo Sirainen [Wed, 1 Feb 2012 18:10:42 +0000 (20:10 +0200)]
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..
Timo Sirainen [Wed, 1 Feb 2012 16:55:54 +0000 (18:55 +0200)]
guid_128_generate(): Use 32bit sha1(host@domain) instead of crc32(hostname)
Timo Sirainen [Mon, 30 Jan 2012 18:09:04 +0000 (20:09 +0200)]
Added mountpoint_iter_*() for iterating mounted filesystems.
Pascal Volk [Sun, 29 Jan 2012 20:33:34 +0000 (20:33 +0000)]
man: Added descriptions of -d and -S options to doveconf.1.
Timo Sirainen [Sat, 28 Jan 2012 23:48:16 +0000 (01:48 +0200)]
istream-concat: If EOF is already reached, use that size for stat().st_size
Timo Sirainen [Sat, 28 Jan 2012 23:37:44 +0000 (01:37 +0200)]
zlib: zlib/bzlib ostreams no longer assert-crash if parent stream becomes full.
This fixes assert-crashes with IMAP COMPRESS extension.
Timo Sirainen [Sat, 28 Jan 2012 22:48:43 +0000 (00:48 +0200)]
pop3c: mail.istream_opened() method wasn't being called.
Timo Sirainen [Sat, 28 Jan 2012 22:35:40 +0000 (00:35 +0200)]
mdbox: Don't lose save_dates when rebuilding indexes.
Timo Sirainen [Sat, 28 Jan 2012 22:30:23 +0000 (00:30 +0200)]
zlib+mbox: Fixed error handling when opening nonexistent/directory mailbox.
Timo Sirainen [Sat, 28 Jan 2012 21:58:50 +0000 (23:58 +0200)]
imap: CONTEXT search return option wasn't handled at all.
Timo Sirainen [Sat, 28 Jan 2012 21:46:49 +0000 (23:46 +0200)]
mdbox: Check that m.X file doesn't have garbage at end of file when saving new data to it.
Timo Sirainen [Sat, 28 Jan 2012 20:39:58 +0000 (22:39 +0200)]
dsync: Fixed handling non-ASCII characters in mailbox names.
Timo Sirainen [Sat, 28 Jan 2012 20:24:26 +0000 (22:24 +0200)]
doveconf: Added -d parameter for dumping default settings.
Timo Sirainen [Sat, 28 Jan 2012 20:05:52 +0000 (22:05 +0200)]
sql: Fixed retrying query when multiple hosts were specified and all of them got disconnected.
Timo Sirainen [Sat, 28 Jan 2012 18:21:10 +0000 (20:21 +0200)]
lib-storage: Thread iteration no longer returns dummy nodes without children.
This fixes returning (0) nodes to IMAP client.
Timo Sirainen [Sat, 28 Jan 2012 18:08:40 +0000 (20:08 +0200)]
restrict_access(): If privileged and primary GIDs are the same, ignore privileged GID.
Timo Sirainen [Sat, 28 Jan 2012 17:48:48 +0000 (19:48 +0200)]
dsync: If brain fails but workers don't, exit without assert-crashing.
Timo Sirainen [Sat, 28 Jan 2012 17:44:24 +0000 (19:44 +0200)]
dsync: Don't crash if one source has indexes disabled.
Timo Sirainen [Sat, 28 Jan 2012 17:25:32 +0000 (19:25 +0200)]
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.
Timo Sirainen [Sat, 28 Jan 2012 17:24:17 +0000 (19:24 +0200)]
smtp/lmtp client: If dns-client socket path isn't given, use blocking lookup.
Timo Sirainen [Sat, 28 Jan 2012 17:00:56 +0000 (19:00 +0200)]
fs layout: Handle properly returning path when there is no root dir.
Timo Sirainen [Fri, 27 Jan 2012 21:33:00 +0000 (23:33 +0200)]
master: Throttle rapid exit failures only if there have never been any exit successes.
This should still catch buggy services without allowing intentional DoSing.
Timo Sirainen [Fri, 27 Jan 2012 21:26:42 +0000 (23:26 +0200)]
master: Make service throttling seconds incremental, starting from 2 secs.
Timo Sirainen [Fri, 27 Jan 2012 21:22:22 +0000 (23:22 +0200)]
master: If 10 service processes die within a second with no successes inbetween, throttle the service.
Timo Sirainen [Fri, 27 Jan 2012 20:15:29 +0000 (22:15 +0200)]
auth: Monitor how fast userdb passwd lookups are. If they're too slow, suggest blocking=yes
Timo Sirainen [Fri, 27 Jan 2012 19:52:30 +0000 (21:52 +0200)]
auth: If parsing passwd-file takes a long time, log a warning.
Timo Sirainen [Fri, 27 Jan 2012 17:31:58 +0000 (19:31 +0200)]
login proxy: If remote auth fails, say so in disconnect message instead of "internal failure".
Timo Sirainen [Fri, 27 Jan 2012 15:16:46 +0000 (17:16 +0200)]
dovecot-config: Added missing lib-dns and lib-fs to LIBDOVECOT_INCLUDE
Timo Sirainen [Fri, 27 Jan 2012 13:44:06 +0000 (15:44 +0200)]
sdbox: Preserve file's atime/mtime when moving it to alt storage.
Timo Sirainen [Fri, 27 Jan 2012 12:46:38 +0000 (14:46 +0200)]
imapc: If imapc_host is IP, don't look it up via dns-client service.
Timo Sirainen [Fri, 27 Jan 2012 12:35:38 +0000 (14:35 +0200)]
example-config: mdbox_rotate_interval default was wrong.
Timo Sirainen [Fri, 27 Jan 2012 12:17:32 +0000 (14:17 +0200)]
login: More verbose_auth -> auth_verbose changes.
Timo Sirainen [Fri, 27 Jan 2012 12:15:30 +0000 (14:15 +0200)]
login: If auth_debug_passwords=yes, assume auth_debug/auth_verbose=yes
Timo Sirainen [Fri, 27 Jan 2012 12:15:06 +0000 (14:15 +0200)]
login process wasn't logging all intended messages with auth_verbose=yes
It was named verbose_auth setting accidentally.
Timo Sirainen [Fri, 27 Jan 2012 00:42:50 +0000 (02:42 +0200)]
imapc: If server doesn't support GUIDs, return empty GUID rather than fail.
This is how other backends do it as well.
Timo Sirainen [Thu, 26 Jan 2012 19:43:27 +0000 (21:43 +0200)]
doveadm fetch hdr.*.adddress*: Don't crash when printing groups.
Timo Sirainen [Thu, 26 Jan 2012 19:25:39 +0000 (21:25 +0200)]
doveadm fetch: hdr.*.address and hdr.*.address_name expand to parsed mail addresses.