]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Mon, 29 Aug 2011 02:30:58 +0000 (05:30 +0300)]
lib-index: Error logging fix to previous commit.
Timo Sirainen [Tue, 23 Aug 2011 20:25:14 +0000 (23:25 +0300)]
lib-index: When creating dovecot.index.backup files, fdatasync() them first.
Otherwise if the dovecot.index file had been written to recently, it could
lose both the new and the old backup data.
Timo Sirainen [Tue, 23 Aug 2011 20:03:41 +0000 (23:03 +0300)]
sdbox: Avoid assert-crashing if mail being saved suddenly became corrupted.
Timo Sirainen [Tue, 23 Aug 2011 19:39:26 +0000 (22:39 +0300)]
lib-master: Make sure ipc server fd isn't tried to be accessed after it's closed.
Timo Sirainen [Tue, 23 Aug 2011 19:38:24 +0000 (22:38 +0300)]
rawlog: Use the lib-master API calls.
Timo Sirainen [Tue, 23 Aug 2011 19:14:38 +0000 (22:14 +0300)]
mbox: Avoid crashing when getting GUID or header-md5 in some conditions.
mbox file can be opened and locked (especially with pop3_lock_session=yes)
without actually creating a stream for it.
Timo Sirainen [Tue, 23 Aug 2011 18:41:24 +0000 (21:41 +0300)]
zlib: Fixed reading concatenated .gz files.
Timo Sirainen [Tue, 23 Aug 2011 18:20:13 +0000 (21:20 +0300)]
login proxy: Fixed assert-crash on io_add() when client disconnects at a bad time.
Timo Sirainen [Tue, 23 Aug 2011 17:43:36 +0000 (20:43 +0300)]
lib-lda: Don't crash if remote disconnects during sending mail via LMTP.
Timo Sirainen [Thu, 18 Aug 2011 15:21:33 +0000 (18:21 +0300)]
mdbox: Remove refcount=0 records from map index on the first purge (not second).
Timo Sirainen [Tue, 16 Aug 2011 19:36:23 +0000 (22:36 +0300)]
lib-storage: Log alt path when mail_debug=yes
Timo Sirainen [Tue, 16 Aug 2011 19:27:18 +0000 (22:27 +0300)]
lib-index: Optimized handling MAIL_TRANSACTION_EXPUNGE_GUID records in large index.
Timo Sirainen [Thu, 4 Aug 2011 16:57:35 +0000 (19:57 +0300)]
mail_index_get_keywords() / status.keywords weren't actually guaranteed to be NULL terminated
This could have caused crashes or garbage keywords be presented to clients
in some situations.
Timo Sirainen [Tue, 2 Aug 2011 10:29:47 +0000 (13:29 +0300)]
i_getgr*(): OpenBSD workaround is now only used for <5.0.
Patch by Brad.
Timo Sirainen [Fri, 29 Jul 2011 09:25:52 +0000 (12:25 +0300)]
lib-storage: renaming mailboxes under different parent was broken in fs layout
If alt storage was used with sdbox or if index or control dirs were used,
renaming "foo" to "bar/foo" would result "foo" not being renamed for those
directories.
Timo Sirainen [Thu, 28 Jul 2011 21:04:20 +0000 (00:04 +0300)]
lib-storage: Removed unnecessary NULL checks.
Timo Sirainen [Thu, 28 Jul 2011 14:46:37 +0000 (17:46 +0300)]
lib-storage: Fixed crashing on "NOT <nonexistent sequence>" search.
Timo Sirainen [Thu, 28 Jul 2011 09:08:10 +0000 (12:08 +0300)]
imap: FETCH BODY[HEADER.FIELDS (..)] may have tried to fetch garbage field names.
Such situations were quite likely to cause a crash though.
Timo Sirainen [Wed, 27 Jul 2011 16:46:01 +0000 (19:46 +0300)]
imap-quota: Don't crash if invalid mailbox name is given to GETQUOTAROOT.
Timo Sirainen [Tue, 12 Jul 2011 06:59:34 +0000 (09:59 +0300)]
lib-lda: Do INBOX GUID deduplication based on mailbox GUID, not username.
This should be a bit more reliable.
Timo Sirainen [Tue, 12 Jul 2011 06:58:29 +0000 (09:58 +0300)]
lib-mail: Make a mail_guid_128_t typedef.
Timo Sirainen [Thu, 30 Jun 2011 05:35:43 +0000 (08:35 +0300)]
lmtp: Error message update
Timo Sirainen [Thu, 30 Jun 2011 05:34:28 +0000 (08:34 +0300)]
lmtp client: Do corking when sending message data.
Timo Sirainen [Thu, 30 Jun 2011 05:27:32 +0000 (08:27 +0300)]
lmtp: Log the current state in disconnect message.
Timo Sirainen [Thu, 30 Jun 2011 05:00:07 +0000 (08:00 +0300)]
lib-storage: Fixed /chroot/./home style chrooting from userdb home.
Timo Sirainen [Thu, 30 Jun 2011 04:26:01 +0000 (07:26 +0300)]
liblib: Don't try to send a log prefix to log process if there is none.
Timo Sirainen [Tue, 28 Jun 2011 00:59:26 +0000 (03:59 +0300)]
doveadm: Fixed displaying output when using -A or -u wildcards.
Timo Sirainen [Tue, 28 Jun 2011 00:31:22 +0000 (03:31 +0300)]
doveadm acl: Updated usage string.
Timo Sirainen [Mon, 27 Jun 2011 23:49:46 +0000 (02:49 +0300)]
lib-storage: Changed userdb +key=value to key+=value
Timo Sirainen [Mon, 27 Jun 2011 23:41:06 +0000 (02:41 +0300)]
lib-lda: waitpid() for executed sendmail binary wasn't called correctly.
It may have failed with -ECHILD, if the sendmail binary itself forked other
processes.
Timo Sirainen [Mon, 27 Jun 2011 23:31:12 +0000 (02:31 +0300)]
imap: Don't crash if mailbox UIDVALIDITY is zero when SELECTing a mailbox.
Timo Sirainen [Mon, 27 Jun 2011 23:23:10 +0000 (02:23 +0300)]
mdbox: Minor code cleanup.
Timo Sirainen [Mon, 27 Jun 2011 23:22:58 +0000 (02:22 +0300)]
mdbox: Log an error if uidvalidity=0 unexpectedly.
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.