]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 5 Aug 2008 15:24:29 +0000 (11:24 -0400)]
sort indexes: One more assert-crashfix when renumbering sort IDs.
--HG--
branch : HEAD
Timo Sirainen [Tue, 5 Aug 2008 00:34:35 +0000 (20:34 -0400)]
dovecot-auth: Give a nice error message if you try to run it manually.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 21:33:09 +0000 (17:33 -0400)]
gssapi: Make auth_krb5_keytab work by calling _register_acceptor_identity()
instead of relying on KRB5_KTNAME environment to be picked up.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 21:04:40 +0000 (17:04 -0400)]
Index fsck crashfix / cleanup.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 20:10:47 +0000 (16:10 -0400)]
maildirlock: Do IPC with pipes instead of with signals. Fixes race conditions.
Based on patch by Kyle Wheeler.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 19:49:40 +0000 (15:49 -0400)]
hostpid_init(): If called again, update the hostname/pid.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 19:48:18 +0000 (15:48 -0400)]
Don't call hostpid_init(), it's always called at startup anyway.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 19:02:19 +0000 (15:02 -0400)]
imap: Try to allow STORE for read-only mailboxes, but not for EXAMINEd.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 17:33:51 +0000 (13:33 -0400)]
Master could have crashed if auth process died too early and not log the reason.
--HG--
branch : HEAD
Timo Sirainen [Mon, 4 Aug 2008 14:16:32 +0000 (10:16 -0400)]
mbox: Saving may have truncated the mail being saved.
save_continue() must not return if there's still data to be saved and
index_mail_cache_parse_continue() may read more of it, so make sure after
calling that the save input is handled.
--HG--
branch : HEAD
Timo Sirainen [Sun, 3 Aug 2008 22:41:39 +0000 (01:41 +0300)]
Index opening: If there's broken index and no .log, don't crash.
--HG--
branch : HEAD
Timo Sirainen [Thu, 24 Jul 2008 19:18:29 +0000 (22:18 +0300)]
dict-db: Don't assume bdb returns aligned memory addresses.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jul 2008 23:31:37 +0000 (02:31 +0300)]
userdb prefetch: Userdb lookups shouldn't log the "passdb didn't return
userdb entries" since there was no passdb lookup at all. But log it anyway
when auth_debug=yes.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jul 2008 23:21:51 +0000 (02:21 +0300)]
checkpassword: Set TCPLOCALPORT and TCPREMOTEPORT environments.
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jul 2008 23:13:11 +0000 (02:13 +0300)]
mbox: Fixed assert-crash with read-only mbox streams (e.g. zlib plugin)
--HG--
branch : HEAD
Timo Sirainen [Wed, 23 Jul 2008 23:04:08 +0000 (02:04 +0300)]
Don't list checkpassword as a userdb, since it isn't one.
--HG--
branch : HEAD
Timo Sirainen [Tue, 22 Jul 2008 13:41:46 +0000 (16:41 +0300)]
deliver: Fixed reading namespace settings.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 18:06:12 +0000 (21:06 +0300)]
mbox: Fixed a rare assert-crash with \Recent flag handling.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 16:31:39 +0000 (19:31 +0300)]
Fixed a potential crash if message parsing failed while fetching bodystructure.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 15:18:27 +0000 (18:18 +0300)]
Symlink FTS plugins to pop3 directory too.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 15:08:17 +0000 (18:08 +0300)]
zlib: Install the plugin also to pop3 directory.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 14:42:39 +0000 (17:42 +0300)]
s/zlib/bzlib/ in HAVE_BZLIB description.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 14:38:15 +0000 (17:38 +0300)]
Compiler warning fix.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 12:59:51 +0000 (15:59 +0300)]
bzlib: Include stdio.h in case bzlib.h needs it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 12:59:33 +0000 (15:59 +0300)]
Check that libbz2 has correct functions. Old versions had different names.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 00:21:25 +0000 (03:21 +0300)]
If UIDVALIDITY changes and view hasn't noticed it yet, don't assert-crash
when saving messages.
--HG--
branch : HEAD
Timo Sirainen [Mon, 21 Jul 2008 00:05:22 +0000 (03:05 +0300)]
AIX compiling fix.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 23:50:54 +0000 (02:50 +0300)]
A few more fixes to previous mailbox_keyword_is_valid() commit.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 23:48:51 +0000 (02:48 +0300)]
Added mailbox_keyword_is_valid().
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 22:07:06 +0000 (01:07 +0300)]
Compiling fix.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 21:59:04 +0000 (00:59 +0300)]
solr-schema.xml move was forgotten from Makefiles.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 21:09:44 +0000 (00:09 +0300)]
Solaris fs quota may have closed fd 0.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 20:47:32 +0000 (23:47 +0300)]
mailbox.save_init() API now takes ** pointer to dest_mail, so multiple
plugins can safely specify it. ctx->dest_mail also gets updated then.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 20:20:19 +0000 (23:20 +0300)]
Use permissions based on mail root directory when creating new files/dirs under it.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 20:19:34 +0000 (23:19 +0300)]
Added file_dotlock_open_mode().
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 20:19:25 +0000 (23:19 +0300)]
Added mkdir_parents_chown().
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 20:03:09 +0000 (23:03 +0300)]
mkdir_parents() API was sometimes assumed to return EEXIST and sometimes not.
Standardized it now so that the API does return EEXIST.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 19:00:13 +0000 (22:00 +0300)]
If mail_debug=yes: Log which per-namespace file permissions are used.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 18:53:33 +0000 (21:53 +0300)]
safe_mkstemp(): If fchown() fails, log the used uid/gid.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 18:48:26 +0000 (21:48 +0300)]
fs quota: Don't crash if some mail storages are outside known mountpoints.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 18:37:53 +0000 (21:37 +0300)]
Use quota->debug instead of getenv()ing it every time.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 18:36:13 +0000 (21:36 +0300)]
FS quota: Handle quota only for the quota roots which apply to the mailbox
when there are multiple roots. With a single quota root the check is usually
unnecessary. Based on patch by Ralf Becker.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 18:17:31 +0000 (21:17 +0300)]
Maildir: Create maildirfolder using the same permissions as dovecot-shared.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 18:00:33 +0000 (21:00 +0300)]
extern/static fixes (from a sparse check by Diego Liziero)
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 17:29:37 +0000 (20:29 +0300)]
Compiler warning fixes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 17:17:46 +0000 (20:17 +0300)]
Maildir: If uidlist couldn't be locked while saving, we might have assert-crashed
afterwards when trying to update cache file for the newly saved message
whose index update was already cancelled.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 16:45:39 +0000 (19:45 +0300)]
deliver: Save mails to namespace prefix to INBOX instead.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 16:26:51 +0000 (19:26 +0300)]
Maildir: Group of the created shared directory wasn't set.
Patch by Simon Michelson.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 15:57:50 +0000 (18:57 +0300)]
mountpoint_get(): Added support for AIX support with mntctl().
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 15:40:17 +0000 (18:40 +0300)]
mbox-snarf: Messages weren't sometimes expunged from the source mbox,
causing duplicates.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 15:16:46 +0000 (18:16 +0300)]
istream-seekable: Log file creation error as creat() failure, not open().
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 14:56:52 +0000 (17:56 +0300)]
Logging: Make sure we don't recurse infinitely when running out of memory.
Also cleaned up the logging handlers' code a bit.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 14:42:57 +0000 (17:42 +0300)]
SORT: Fixed assert-crash.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 13:49:11 +0000 (16:49 +0300)]
fs mailbox layout: Several fixes to handling INBOX listing.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 13:03:13 +0000 (16:03 +0300)]
LIST didn't show INBOX if list patterns didn't match namespace prefix.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 12:41:57 +0000 (15:41 +0300)]
Maildir: Check more correctly when we should update/recreate uidlist.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 00:18:56 +0000 (03:18 +0300)]
Recreate dovecot-uidlist if updating it would shrink the file more than 25%.
--HG--
branch : HEAD
Timo Sirainen [Wed, 18 Jun 2008 00:05:17 +0000 (03:05 +0300)]
If process's RLIMIT_NOFILE can't be changed, log an error but don't die.
Fixes running with Valgrind.
--HG--
branch : HEAD
Timo Sirainen [Sun, 20 Jul 2008 12:24:05 +0000 (15:24 +0300)]
fdatasync_path(): Ignore EBADF errors, it probably means directory fsyncing
isn't allowed (e.g. NetBSD).
--HG--
branch : HEAD
Timo Sirainen [Sat, 19 Jul 2008 11:43:24 +0000 (14:43 +0300)]
struct mailbox_header_lookup_ctx can now be referenced/unreferenced so it
can be shared among multiple struct mails.
--HG--
branch : HEAD
Timo Sirainen [Fri, 18 Jul 2008 14:55:02 +0000 (17:55 +0300)]
Message copying: Don't save empty mail if input was already read to memory.
--HG--
branch : HEAD
Timo Sirainen [Fri, 18 Jul 2008 13:21:04 +0000 (16:21 +0300)]
rfc822_parse_phrase(): Don't read outside data boundaries if input is empty.
--HG--
branch : HEAD
Timo Sirainen [Fri, 18 Jul 2008 10:52:27 +0000 (13:52 +0300)]
Removed MIT Kerberos v1.2 check, since Heimdal v1.2 is out and it works fine.
--HG--
branch : HEAD
Timo Sirainen [Thu, 17 Jul 2008 22:02:08 +0000 (01:02 +0300)]
Added str_new_const().
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 16:09:55 +0000 (19:09 +0300)]
Added support for sorting by X-SCORE. Currently it's only set by fts-solr.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 16:08:13 +0000 (19:08 +0300)]
SORT: Return BAD if sort program ends with REVERSE.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 15:04:19 +0000 (18:04 +0300)]
fts: Added a new lookup API where the backend can look up all the fields
using a single query. Implemented it to fts-solr.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 12:37:19 +0000 (15:37 +0300)]
Moved Solr schema.xml to doc/.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 12:15:04 +0000 (15:15 +0300)]
fts-solr: Added break-imap-search setting to use Solr with SEARCH TEXT/BODY
parameters. This makes the SEARCH non-compliant with standard IMAP protocol,
because TEXT/BODY require support for substring searches and Lucene doesn't
support them.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 12:05:52 +0000 (15:05 +0300)]
fts-solr: Send data to Solr in larger packets. Commit after expunges.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 11:44:03 +0000 (14:44 +0300)]
fts-solr: Encode entities when indexing data.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 11:40:03 +0000 (14:40 +0300)]
fts-solr: Error handling fixes.
--HG--
branch : HEAD
Timo Sirainen [Sun, 13 Jul 2008 11:35:41 +0000 (14:35 +0300)]
fts-solr: Compiling fixes.
--HG--
branch : HEAD
Timo Sirainen [Sat, 12 Jul 2008 13:24:47 +0000 (16:24 +0300)]
Fixed compiling on some older pre-C99 compilers.
--HG--
branch : HEAD
Timo Sirainen [Sat, 12 Jul 2008 13:16:19 +0000 (16:16 +0300)]
Maildir: If filename has CR or LF, log a warning and ignore it instead of
writing a corrupted dovecot-uidlist.
--HG--
branch : HEAD
Timo Sirainen [Sat, 12 Jul 2008 12:49:01 +0000 (15:49 +0300)]
deliver didn't expand %variables in namespace location settings.
--HG--
branch : HEAD
Timo Sirainen [Fri, 11 Jul 2008 23:13:55 +0000 (02:13 +0300)]
Another dovecot-db.conf -> dovecot-db-example.conf change.
--HG--
branch : HEAD
Timo Sirainen [Fri, 11 Jul 2008 23:12:19 +0000 (02:12 +0300)]
Renamed dovecot-db.conf to dovecot-db-example.conf and added it to Makefile.
--HG--
branch : HEAD
Timo Sirainen [Fri, 11 Jul 2008 22:40:33 +0000 (01:40 +0300)]
imap/pop3: Don't open /dev/urandom at startup. Nothing needs it.
--HG--
branch : HEAD
Timo Sirainen [Fri, 11 Jul 2008 21:28:17 +0000 (00:28 +0300)]
zlib plugin: Added bzip2 support also for mboxes.
--HG--
branch : HEAD
Timo Sirainen [Thu, 10 Jul 2008 20:14:13 +0000 (01:44 +0530)]
Initial code to support Apache Solr (Lucene indexing server).
--HG--
branch : HEAD
Timo Sirainen [Thu, 10 Jul 2008 17:08:31 +0000 (22:38 +0530)]
zlib: If gz/bz2 support isn't compiled in but we detect a mail with gz/bz2
compression, log an error and fail to read the mail.
--HG--
branch : HEAD
Timo Sirainen [Wed, 9 Jul 2008 14:43:05 +0000 (20:13 +0530)]
dict-proxy: Fix error message if remote disconnects.
--HG--
branch : HEAD
Timo Sirainen [Wed, 9 Jul 2008 14:05:41 +0000 (19:35 +0530)]
deliver: Another try at getting LDA settings to override plugin settings.
--HG--
branch : HEAD
Timo Sirainen [Wed, 9 Jul 2008 12:23:37 +0000 (17:53 +0530)]
Changed SQL's default password scheme to MD5.
--HG--
branch : HEAD
Timo Sirainen [Wed, 9 Jul 2008 12:22:36 +0000 (17:52 +0530)]
ldap: MD5 -> PLAIN-MD5 autoconversion is no longer necessary since it's done
in the generic MD5 verification code now.
--HG--
branch : HEAD
Timo Sirainen [Wed, 9 Jul 2008 12:20:29 +0000 (17:50 +0530)]
MD5 scheme can now autodetect between MD5-CRYPT and PLAIN-MD5.
--HG--
branch : HEAD
Timo Sirainen [Wed, 9 Jul 2008 09:21:08 +0000 (14:51 +0530)]
Removed accidentally committed fts-proxy plugin Makefile generation.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 16:16:35 +0000 (21:46 +0530)]
maildirlock: Previous implementation wasn't usable - redesigned.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 15:41:23 +0000 (21:11 +0530)]
zlib plugin supports now bzip2 also.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 15:40:38 +0000 (21:10 +0530)]
hg: ignore maildirlock
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 15:39:33 +0000 (21:09 +0530)]
hg: ignore Info.plist files that OS X creates.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 14:48:41 +0000 (20:18 +0530)]
i_stream_read_data() comment update.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 13:49:21 +0000 (19:19 +0530)]
Added a new maildirlock utility for write-locking Dovecot MMaildir.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 13:48:17 +0000 (19:18 +0530)]
Maildir: Uidlist stale timeout macro is now globally available.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 13:32:24 +0000 (19:02 +0530)]
dotlocking: Small code cleanups.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 12:20:29 +0000 (17:50 +0530)]
deliver: Allow lda section to override plugin settings.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 12:19:24 +0000 (17:49 +0530)]
Reverted previous change.
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 10:56:54 +0000 (16:26 +0530)]
deliver: Don't let plugin section override other settings (at least for now).
--HG--
branch : HEAD
Timo Sirainen [Tue, 8 Jul 2008 10:30:53 +0000 (16:00 +0530)]
quota: All backends now take noenforcing parameter.
--HG--
branch : HEAD