]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Tue, 12 Aug 2008 22:20:46 +0000 (18:20 -0400)]
Added --with-zlib and --with-bzlib configure options.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 21:56:58 +0000 (17:56 -0400)]
vpopmail: Added webmail=ip parameter. Use it for checking imap/webmail access.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 21:27:26 +0000 (17:27 -0400)]
Master process leaked one fd to login process. Typically it was listener fd,
which caused imap-login processes existing after Dovecot was killed to
keep the port reserved so Dovecot couldn't be started again.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 19:37:59 +0000 (15:37 -0400)]
quota: Fix to previous mailbox deletion fix.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 19:29:23 +0000 (15:29 -0400)]
quota: Fixed error handling if quota shrinking fails when deleting a mailbox.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 18:54:27 +0000 (14:54 -0400)]
Removed pool parameter from mail_namespaces_init*(). Use mail_user's pool intead.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 16:42:28 +0000 (12:42 -0400)]
Forgot to add mail-user.* files in previous struct mail_user commit.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 16:34:32 +0000 (12:34 -0400)]
Typofix in comment.
--HG--
branch : HEAD
Timo Sirainen [Tue, 12 Aug 2008 16:28:42 +0000 (12:28 -0400)]
Added struct mail_user and fixed the code to support multiple users per process.
--HG--
branch : HEAD
Timo Sirainen [Fri, 8 Aug 2008 21:16:07 +0000 (17:16 -0400)]
virtual mailboxes: Detect loops in virtual mailbox definitions.
--HG--
branch : HEAD
Timo Sirainen [Fri, 8 Aug 2008 20:50:39 +0000 (16:50 -0400)]
virtual mailboxes: Added support for using wildcards in mailbox names.
The wildcards don't span namespaces so that "*" won't also match
mailboxes in virtual namespace.
--HG--
branch : HEAD
Timo Sirainen [Fri, 8 Aug 2008 20:48:44 +0000 (16:48 -0400)]
Added mailbox_list_iter_init_namespaces() for listing mailboxes from multiple namespaces.
struct mailbox_info now always contains the listed namespace.
--HG--
branch : HEAD
Timo Sirainen [Fri, 8 Aug 2008 20:45:23 +0000 (16:45 -0400)]
dbox could have listed INBOX twice.
--HG--
branch : HEAD
Timo Sirainen [Thu, 7 Aug 2008 19:33:52 +0000 (15:33 -0400)]
Added the concept of Global UIDs that are preserved across copies.
They can be fetched, searched and specified for the save API. dbox format
supports them correctly, but with maildir the base filename is used so
maildir_copy_preserve_filename=yes is required to preserve GUIDs when copying.
--HG--
branch : HEAD
Timo Sirainen [Thu, 7 Aug 2008 19:05:40 +0000 (15:05 -0400)]
Added clock_gettime() compatibility function for systems without it.
--HG--
branch : HEAD
Timo Sirainen [Thu, 7 Aug 2008 18:05:47 +0000 (14:05 -0400)]
mailbox_save_init() API was split to multiple functions.
This allows adding more parameters easily in future.
--HG--
branch : HEAD
Timo Sirainen [Thu, 7 Aug 2008 17:50:18 +0000 (13:50 -0400)]
INTHREAD search may have failed randomly.
--HG--
branch : HEAD
Timo Sirainen [Wed, 6 Aug 2008 16:54:05 +0000 (12:54 -0400)]
login processes: Another try at setting the correct fd limit.
--HG--
branch : HEAD
Timo Sirainen [Wed, 6 Aug 2008 16:48:02 +0000 (12:48 -0400)]
Reverted previous change, it wasn't correct..
--HG--
branch : HEAD
Timo Sirainen [Wed, 6 Aug 2008 16:44:14 +0000 (12:44 -0400)]
login processes set their fd limit too low, causing "too many open files" errors
--HG--
branch : HEAD
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