]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Sun, 26 Jun 2011 16:11:52 +0000 (19:11 +0300)]
doveadm: Minor code cleanup
Timo Sirainen [Wed, 22 Jun 2011 17:26:24 +0000 (20:26 +0300)]
lib-storage: Fixed +key=value support to actually work.
Timo Sirainen [Wed, 22 Jun 2011 17:16:16 +0000 (20:16 +0300)]
lib-storage: MAILBOX_SYNC_FLAG_PRECACHE did nothing when mail_debug=yes
Timo Sirainen [Thu, 16 Jun 2011 13:37:42 +0000 (16:37 +0300)]
ssl-params: Make sure we don't leak a timeout.
Timo Sirainen [Tue, 14 Jun 2011 13:59:57 +0000 (16:59 +0300)]
Moved the main functionality from "doveadm index" to MAILBOX_SYNC_FLAG_PRECACHE
This also allows plugins to hook into the sync and implement their own
precaching easily. fts indexing is now done this way rather than kludging.
Timo Sirainen [Mon, 13 Jun 2011 14:17:59 +0000 (17:17 +0300)]
lmtp: Fixed parsing quoted strings with spaces as local-part for MAIL FROM and RCPT TO.
Timo Sirainen [Fri, 10 Jun 2011 16:11:00 +0000 (19:11 +0300)]
lib-storage: When "Recent flags state corrupted" happens, avoid assert-crashing afterwards.
Timo Sirainen [Wed, 8 Jun 2011 13:05:32 +0000 (16:05 +0300)]
lib-storage: Allow appending to existing settings via userdb extra fields.
"foo=bar" replaces the setting, while "+foo=bar" appends to the setting.
Timo Sirainen [Wed, 8 Jun 2011 13:04:35 +0000 (16:04 +0300)]
vpopmail: Fixed opening SMTP relays.
Also don't even try to open IPv6 relays, since vpopmail becomes an open
relay then. Based on patch by Matt Brookings.
Timo Sirainen [Tue, 7 Jun 2011 13:12:13 +0000 (16:12 +0300)]
lib-storage: Fixed mail_chroot to work when process was already chrooted there.
Timo Sirainen [Tue, 7 Jun 2011 12:18:19 +0000 (15:18 +0300)]
ldap: Fixed random assert-crashing with with sasl_bind=yes.
Timo Sirainen [Mon, 6 Jun 2011 15:26:45 +0000 (18:26 +0300)]
Use SA_RESTART flag for signals wherever possible.
Only SIGTERM (and SIGINT for standalone programs) shouldn't use it.
Timo Sirainen [Mon, 6 Jun 2011 15:25:52 +0000 (18:25 +0300)]
lib_signals_set_handler(): Changed API to take flags instead of boolean.
This is still compatible with the old API, because using FALSE/TRUE as the
flags still maps to the same behavior.
Timo Sirainen [Mon, 6 Jun 2011 15:06:22 +0000 (18:06 +0300)]
lib-signals: Removed unnecessary code.
Timo Sirainen [Fri, 3 Jun 2011 15:54:27 +0000 (18:54 +0300)]
script-login: When not using "-d" parameter, don't do unnecessary config lookup.
Timo Sirainen [Fri, 3 Jun 2011 15:11:00 +0000 (18:11 +0300)]
doveadm acl debug: Show also path to mailbox if it doens't exist.
Timo Sirainen [Fri, 3 Jun 2011 14:37:25 +0000 (17:37 +0300)]
master: Fail at startup if default_login_user or default_internal_user doesn't exist.
Timo Sirainen [Fri, 3 Jun 2011 14:22:09 +0000 (17:22 +0300)]
eacces_get_error(): Give even better error message for directory permission errors.
Timo Sirainen [Fri, 3 Jun 2011 14:13:59 +0000 (17:13 +0300)]
eaccess_get_error(): Show also directory mode.
Timo Sirainen [Fri, 3 Jun 2011 14:07:37 +0000 (17:07 +0300)]
eaccess_get_error(): Fixes to reporting dir permissions.
Also fixed an infinite loop if stat("/") fails.
Timo Sirainen [Fri, 3 Jun 2011 13:40:03 +0000 (16:40 +0300)]
IMAP: Treat also "inbox/" case-insensitively as invalid mailbox name.
Timo Sirainen [Fri, 3 Jun 2011 13:33:43 +0000 (16:33 +0300)]
IMAP: Treat "namespace prefix/" as invalid mailbox name.
Timo Sirainen [Fri, 3 Jun 2011 12:49:50 +0000 (15:49 +0300)]
.hgignore updated
Timo Sirainen [Fri, 3 Jun 2011 12:49:30 +0000 (15:49 +0300)]
Compiler warning fix.
Timo Sirainen [Fri, 3 Jun 2011 12:27:21 +0000 (15:27 +0300)]
doveadm -A: Crashfix for doveadm server when using commands that print nothing.
Timo Sirainen [Tue, 31 May 2011 12:38:03 +0000 (15:38 +0300)]
fts-lucene: Fixes to work with CLucene v2.3.3.4 and new FTS API.
It's still not recommended to actually use this.
Timo Sirainen [Tue, 31 May 2011 12:36:22 +0000 (15:36 +0300)]
liblib: Added uni_utf8_to_ucs4_n().
Timo Sirainen [Tue, 24 May 2011 17:06:24 +0000 (20:06 +0300)]
doveadm proxy: s/kill/kick/ and related internal code changes.
Mainly for consistency, because "doveadm kick" already existed.
Timo Sirainen [Mon, 23 May 2011 13:26:21 +0000 (16:26 +0300)]
configure: Added missing ipc
Timo Sirainen [Mon, 23 May 2011 12:05:13 +0000 (15:05 +0300)]
director: Changed the "user killed" delay from 12 secs to 2 secs.
It was 12 secs only for testing.
Timo Sirainen [Mon, 23 May 2011 12:04:36 +0000 (15:04 +0300)]
ipc: Fixes when sending commands to an empty group.
Timo Sirainen [Mon, 23 May 2011 11:54:02 +0000 (14:54 +0300)]
director: Added support for moving user to another server with "doveadm director move".
Timo Sirainen [Fri, 20 May 2011 18:46:32 +0000 (21:46 +0300)]
message header parser: Allow NULs in header name also when header is missing ':'.
This doesn't fix any crashes/corruption unlike the earlier fix, but it makes
the code more correct. Although it might help with mbox rewriting seeing
some size mismatches (or might not).
Timo Sirainen [Fri, 20 May 2011 16:54:57 +0000 (19:54 +0300)]
login proxy: Show in disconnect reason who did the disconnection and possible error.
Timo Sirainen [Fri, 20 May 2011 15:47:26 +0000 (18:47 +0300)]
doveadm: Added "proxy list" and "proxy kill" commands.
Timo Sirainen [Fri, 20 May 2011 15:47:02 +0000 (18:47 +0300)]
login proxy: Connect to IPC server and implement KILL and LIST commands.
Timo Sirainen [Fri, 20 May 2011 15:45:29 +0000 (18:45 +0300)]
Added support for a simplified IPC infrastructure.
The idea is that you have one "ipc" proxy process, where all server
processes connect to. IPC clients can then connect to the proxy and ask it
to forward commands to either a specific server or all servers. The proxy
does this, and forwards back any replies from the server.
Timo Sirainen [Fri, 20 May 2011 11:21:51 +0000 (14:21 +0300)]
doveadm: Added doveadm_allowed_commands setting, which is used by doveadm server.
Timo Sirainen [Fri, 20 May 2011 11:20:46 +0000 (14:20 +0300)]
doveadm server: Fixed running multiple commands without crashing.
Timo Sirainen [Fri, 20 May 2011 11:08:43 +0000 (14:08 +0300)]
doveadm: Added support for using local/remote {} settings.
Timo Sirainen [Fri, 20 May 2011 10:30:40 +0000 (13:30 +0300)]
doveadm: Added simple PLAIN authentication for remote connections.
Currently clients are required to use "doveadm" as the username and the
password must match doveadm_password setting. When using doveadm as a
client, it automatically uses these settings when connecting to remote
servers.
Timo Sirainen [Fri, 20 May 2011 10:05:16 +0000 (13:05 +0300)]
doveadm: Added doveadm_proxy_port setting to make it work with proxying.
Timo Sirainen [Fri, 20 May 2011 10:03:34 +0000 (13:03 +0300)]
doveadm: Set service=doveadm for userdb lookup.
Timo Sirainen [Mon, 16 May 2011 14:34:42 +0000 (17:34 +0300)]
pop3: If mail storage couldn't be initialized, send -ERR to client before disconnecting.
Timo Sirainen [Mon, 16 May 2011 14:29:40 +0000 (17:29 +0300)]
pop3: Add [IN-USE] to all login -ERR replies.
Timo Sirainen [Mon, 16 May 2011 14:02:56 +0000 (17:02 +0300)]
imap: If client disconnects in APPEND, log more about what it did before that.
Timo Sirainen [Mon, 16 May 2011 12:53:13 +0000 (15:53 +0300)]
Compiler warning fix on 32bit systems.
Patch by Mike Abbott / Apple
Pascal Volk [Wed, 11 May 2011 21:46:56 +0000 (21:46 +0000)]
man: Corrected cmd name in doveadm-index.1.
Timo Sirainen [Wed, 11 May 2011 15:49:44 +0000 (18:49 +0300)]
doveadm: Code correctness fix.
Timo Sirainen [Wed, 11 May 2011 14:59:59 +0000 (17:59 +0300)]
Added signature for changeset
aa8dfa085a99
Timo Sirainen [Wed, 11 May 2011 14:59:56 +0000 (17:59 +0300)]
Added tag 2.0.13 for changeset
aa8dfa085a99
Timo Sirainen [Wed, 11 May 2011 14:59:56 +0000 (17:59 +0300)]
Released v2.0.13.
Timo Sirainen [Wed, 11 May 2011 14:56:25 +0000 (17:56 +0300)]
man: Added doveadm index.
Timo Sirainen [Wed, 11 May 2011 14:45:03 +0000 (17:45 +0300)]
man: Added doveadm director dump.
Timo Sirainen [Wed, 11 May 2011 14:00:08 +0000 (17:00 +0300)]
Increased highest signal number limit. HP-UX can use at least 44.
Timo Sirainen [Wed, 11 May 2011 13:58:07 +0000 (16:58 +0300)]
Compile fix for HP-UX
Timo Sirainen [Wed, 11 May 2011 13:28:32 +0000 (16:28 +0300)]
example-config: Updated auth_krb5_keytab comment.
Timo Sirainen [Wed, 11 May 2011 13:20:15 +0000 (16:20 +0300)]
config: Updated obsolete protocol warning messages.
Timo Sirainen [Wed, 11 May 2011 12:57:47 +0000 (15:57 +0300)]
director: Avoid potential problems by making sure users list is always sorted by timestamp.
Timo Sirainen [Wed, 11 May 2011 12:35:20 +0000 (15:35 +0300)]
man: Updated doveconf.
Timo Sirainen [Wed, 11 May 2011 12:20:19 +0000 (15:20 +0300)]
fts: Added assert to make sure all header data is valid UTF-8.
Timo Sirainen [Wed, 11 May 2011 12:19:34 +0000 (15:19 +0300)]
message [header] decoder: Output only valid UTF-8 data.
Timo Sirainen [Wed, 11 May 2011 12:17:02 +0000 (15:17 +0300)]
message header parser: Fixed handling NUL characters in header names.
line->name_len was too large and line->middle pointer may have pointed past
allocated memory. These may have caused crashes/corruption (fts, mbox at
least).
Timo Sirainen [Wed, 11 May 2011 11:35:15 +0000 (14:35 +0300)]
lda: Log destination address and its source with mail_debug=yes
Timo Sirainen [Wed, 11 May 2011 11:24:18 +0000 (14:24 +0300)]
example-config: Updated auth_gssapi_hostname comment.
Timo Sirainen [Tue, 10 May 2011 15:24:31 +0000 (18:24 +0300)]
zlib: Don't unnecessarily reset istream caches.
Timo Sirainen [Tue, 10 May 2011 15:19:35 +0000 (18:19 +0300)]
istream-[b]zlib: stat(exact=FALSE) should always return the same value if file hasn't changed.
Timo Sirainen [Tue, 10 May 2011 14:55:27 +0000 (17:55 +0300)]
doveadm mailbox status: Don't assert-crash at exit if syncing a mailbox fails.
Timo Sirainen [Tue, 10 May 2011 14:46:50 +0000 (17:46 +0300)]
acl: Don't waste time doing ACL checks for IMAP LSUB command.
Timo Sirainen [Mon, 9 May 2011 22:24:34 +0000 (01:24 +0300)]
Removed ssl_parameters_file setting. It wasn't used by anything.
Timo Sirainen [Mon, 9 May 2011 17:11:00 +0000 (20:11 +0300)]
script-login: When -d isn't given, drop privileges as specified by the service settings.
Timo Sirainen [Mon, 9 May 2011 17:03:24 +0000 (20:03 +0300)]
script-login: Reverted last change.
Timo Sirainen [Mon, 9 May 2011 16:59:21 +0000 (19:59 +0300)]
script-login: Changed default behavior to be to drop privileges.
Also since the default is to run as root, allow that. There is now "-n"
parameter to avoid dropping privileges.
Timo Sirainen [Mon, 9 May 2011 16:28:27 +0000 (19:28 +0300)]
Minor typofix.
Timo Sirainen [Mon, 9 May 2011 16:25:44 +0000 (19:25 +0300)]
lib-settings: Crashfix for broken settings under strlist.
Timo Sirainen [Mon, 9 May 2011 16:08:43 +0000 (19:08 +0300)]
auth: Added assert.
Timo Sirainen [Mon, 9 May 2011 15:43:35 +0000 (18:43 +0300)]
master: Warn if service's vsz_limit < 1 MB
It's unlikely anyone wants it to be smaller, and small values give random
errors/crashes.
Timo Sirainen [Mon, 9 May 2011 15:23:23 +0000 (18:23 +0300)]
imap: RENAME and DELETE wasn't replying with NONEXISTENT resp code.
Timo Sirainen [Mon, 9 May 2011 14:58:37 +0000 (17:58 +0300)]
lib-storage: Fixed LIST/LSUB with LAYOUT=none.
It shouldn't have listed INBOX if it didn't match the given patterns.
Timo Sirainen [Mon, 9 May 2011 14:41:45 +0000 (17:41 +0300)]
lmtp: With lmtp_save_to_detail_mailbox=yes, save mail to <inbox ns prefix>detail.
The previous behavior required using prefix="" namespace to work.
Timo Sirainen [Thu, 5 May 2011 16:13:55 +0000 (18:13 +0200)]
doveadm: Added "index" command to add unindexed messages into index/cache/fts.
The caching adds only the fields that were previously added to the mailbox's
caching decisions, so it won't do anything useful for mailboxes that user's
client hasn't accessed yet.
Timo Sirainen [Thu, 5 May 2011 15:49:45 +0000 (17:49 +0200)]
lib-storage: Added mail_parse().
Timo Sirainen [Thu, 5 May 2011 15:48:55 +0000 (17:48 +0200)]
lib-storage: Added mail_is_cached()
Timo Sirainen [Thu, 5 May 2011 15:47:58 +0000 (17:47 +0200)]
lib-index: Added mail_cache_field_exists_any()
Timo Sirainen [Wed, 4 May 2011 13:03:14 +0000 (15:03 +0200)]
doveadm user: Added -f parameter to show only the specified extra field's value.
Timo Sirainen [Wed, 4 May 2011 12:58:03 +0000 (14:58 +0200)]
doveadm cleanup: Don't try to keep auth/user comand handlers in same function.
Timo Sirainen [Wed, 4 May 2011 09:43:59 +0000 (11:43 +0200)]
pop3: Added support for showing messages in "pop3 order".
Timo Sirainen [Wed, 4 May 2011 09:43:16 +0000 (11:43 +0200)]
lib-storage: Added MAIL_SORT_POP3_ORDER
Timo Sirainen [Wed, 4 May 2011 09:42:17 +0000 (11:42 +0200)]
lib-storage: Added MAIL_FETCH_POP3_ORDER special field and implemented for Maildir.
The idea is that this specifies the order of messages when accessing via
POP3. This is useful when migrating both POP3 and IMAP users from servers
where their message ordering differes and they still want to be preserved.
Timo Sirainen [Wed, 4 May 2011 08:17:27 +0000 (10:17 +0200)]
pop3: Small code cleanup.
Timo Sirainen [Tue, 3 May 2011 16:41:10 +0000 (18:41 +0200)]
doveadm: Added "director dump" command.
It outputs doveadm director commands to add/remove the current host
configuration, so if all directors are stopped, their state can be easily
restored by running the commands.
Timo Sirainen [Tue, 3 May 2011 07:58:11 +0000 (09:58 +0200)]
lib-index: Try to avoid duplicate "duplicate transaction log sequence" errors.
Timo Sirainen [Tue, 3 May 2011 07:43:41 +0000 (09:43 +0200)]
lib-storage: Remove invalid subscription file entries instead of only ignoring them.
Timo Sirainen [Sat, 30 Apr 2011 12:55:08 +0000 (15:55 +0300)]
sdbox: In-memory mailbox GUID differed from on-index GUID after mailbox_create().
Timo Sirainen [Fri, 29 Apr 2011 16:10:52 +0000 (19:10 +0300)]
master: Increased max. listen() backlog 128 -> 511 (by copying Apache)
Timo Sirainen [Fri, 29 Apr 2011 15:22:00 +0000 (18:22 +0300)]
example-config: Removed plugin/mail_log_group_events since it no longer exists.
Timo Sirainen [Thu, 28 Apr 2011 18:31:16 +0000 (21:31 +0300)]
dbox: If file can't be opened read-write, fallback to read-only.
Timo Sirainen [Thu, 28 Apr 2011 18:30:21 +0000 (21:30 +0300)]
lib-index: If .log file can't be opened read-write, fallback to read-only indexes.
Timo Sirainen [Thu, 28 Apr 2011 18:11:30 +0000 (21:11 +0300)]
Compiler warning fix.
Timo Sirainen [Thu, 28 Apr 2011 18:11:23 +0000 (21:11 +0300)]
mdbox purge: Fixed warning about corrupted extrefs.