]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Sun, 28 Feb 2010 12:13:30 +0000 (14:13 +0200)]
unichar: Optimized 8bit character conversions.
--HG--
branch : HEAD
Timo Sirainen [Sun, 28 Feb 2010 11:41:53 +0000 (13:41 +0200)]
istreams: Reading sometimes returned wrong data, if parent istream had been modified.
We'll now track changes to parent istream using access counters. If parent's
access counter isn't the same as child's, the parent stream is seeked to
expected position.
--HG--
branch : HEAD
Timo Sirainen [Sun, 28 Feb 2010 11:38:43 +0000 (13:38 +0200)]
file istream: If trying to seek backwards in unseekable stream, panic.
The previous way of just setting an error flag was getting ignored too
easily and causing silent corruption in such situations.
--HG--
branch : HEAD
Timo Sirainen [Thu, 25 Feb 2010 07:54:12 +0000 (09:54 +0200)]
Removed istream test code that hasn't been tried for years.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 17:10:24 +0000 (19:10 +0200)]
Settings parser: Fixed overriding settings in strlist blocks.
For example plugin {} settings couldn't be overridden by userdb.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 16:53:21 +0000 (18:53 +0200)]
dbox: mailbox_update() ignored cache_fields.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 16:52:41 +0000 (18:52 +0200)]
mdbox: mailbox_update() ignored cache_fields.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 15:53:36 +0000 (17:53 +0200)]
pop3-login: Don't crash at startup.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 15:04:40 +0000 (17:04 +0200)]
mbox: Fixed header-md5/GUID lookup when it's done with mbox file unlocked.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 14:58:12 +0000 (16:58 +0200)]
dbox: Save POP3 UIDL if it's specified.
--HG--
branch : HEAD
Timo Sirainen [Mon, 22 Feb 2010 14:49:08 +0000 (16:49 +0200)]
config reading: Don't crash if caller specified module=NULL or service=NULL.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:30:36 +0000 (18:30 +0200)]
Added signature for changeset
81e79df3fed8
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:30:33 +0000 (18:30 +0200)]
Added tag 2.0.beta3 for changeset
81e79df3fed8
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:30:28 +0000 (18:30 +0200)]
Released v2.0.beta3.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:29:55 +0000 (18:29 +0200)]
Makefile: Added missing master-service-settings.h
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:20:20 +0000 (18:20 +0200)]
lib-master: Ignore SIGALRM and SIGPIPE as early as possible.
For example alarm() is used while reading configuration, which is done
before master_service_init_finish().
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:19:32 +0000 (18:19 +0200)]
lib-master: Error handling fixes when reading config.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 16:07:18 +0000 (18:07 +0200)]
lib-master: Make sure IO listeners aren't added back while doing auth lookup.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 15:16:41 +0000 (17:16 +0200)]
lib-master: Added support for caching config lookups.
Currently caching won't work if config has any remote {} blocks.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 15:16:31 +0000 (17:16 +0200)]
lib-settings: Added some consts to parameters.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 14:25:31 +0000 (16:25 +0200)]
lmtp: Always use "lmtp" module when looking up configuration.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 14:19:32 +0000 (16:19 +0200)]
Increased initial memory pool size.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 14:19:19 +0000 (16:19 +0200)]
liblib: Added net_ip_cmp().
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 14:19:00 +0000 (16:19 +0200)]
*-login: Change login_set_roots earlier.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 13:17:16 +0000 (15:17 +0200)]
liblib: Added pool_alloconly_get_total_used/alloc_size() functions.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 13:16:40 +0000 (15:16 +0200)]
settings_parse_stream_read(): Try using existing data from stream first.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 10:30:38 +0000 (12:30 +0200)]
lib-master: Minor config code cleanup.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 09:45:52 +0000 (11:45 +0200)]
lib-index: Keep indexes open while they are in alloc-cache.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 08:11:42 +0000 (10:11 +0200)]
lib-index: When a closed index's refcount drops to 0, free it immediately.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:47:41 +0000 (09:47 +0200)]
mailbox log: Don't log an error if two processes rotate the log at the same time.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:46:43 +0000 (09:46 +0200)]
lib-storage: Thread strmap must not be opened before index is opened.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:33:01 +0000 (09:33 +0200)]
doveadm: Added penalty command to dump auth penalty state.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:32:48 +0000 (09:32 +0200)]
anvil: Added PENALTY-DUMP command to dump penalty state.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:32:13 +0000 (09:32 +0200)]
anvil: Fixed penalty "last update" tracking.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:27:33 +0000 (09:27 +0200)]
anvil: Disconnect client if it sends invalid input.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:24:48 +0000 (09:24 +0200)]
doveadm: Removed duplication of unixdate2str().
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:10:50 +0000 (09:10 +0200)]
Makefile: Fixed building anvil test.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 07:04:25 +0000 (09:04 +0200)]
auth: Track penalty for IPv6 addresses with their /48 mask.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 06:48:54 +0000 (08:48 +0200)]
auth/anvil: Penalty is no longer increased if the same user+pass combination was recently used.
This should avoid penalty increasing for IPs where a user's misconfigured
client tries to keep authenticating with wrong user/pass. This check works
only for plaintext authentication.
Currently the code that keeps track of what user/passwords have been tried
is pretty simple, and hardcoded to remember max. 10 of them.
--HG--
branch : HEAD
Timo Sirainen [Sat, 20 Feb 2010 03:54:46 +0000 (05:54 +0200)]
fs layout: Don't "File name too long" errors if giving too long path to LIST.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 12:23:05 +0000 (14:23 +0200)]
mdbox: Fixed plugins accessing unsaved mail's stream.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 12:22:19 +0000 (14:22 +0200)]
zlib: Fixed the check to disallow saving messages that look compressed.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 12:11:21 +0000 (14:11 +0200)]
dbox: Fixed looking up physical size when it wasn't in metadata.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 10:19:27 +0000 (12:19 +0200)]
Makefile: Added empty install-exec-hook to fix older automakes.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 10:04:31 +0000 (12:04 +0200)]
*-login: If we disconnect from auth server, make sure we reconnect back when necessary.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 05:16:03 +0000 (07:16 +0200)]
zlib: Added support for dbox and mdbox.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 05:15:46 +0000 (07:15 +0200)]
lib-storage: Added support for plugins to specify message's physical size when saving.
Changed dbox to save this value to metadata, and use when present.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 05:14:41 +0000 (07:14 +0200)]
filter istreams: Let default seek implementation optimize away unnecessary seeks.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 04:13:23 +0000 (06:13 +0200)]
dbox: Allow plugins to change output stream while saving messages.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 03:30:56 +0000 (05:30 +0200)]
lib-auth: Make sure reconnection timeout if removed after getting connected.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 03:17:57 +0000 (05:17 +0200)]
log: Removed unnecessary common.h.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 03:10:48 +0000 (05:10 +0200)]
*-login: Disconnect from auth server after idling for a minute.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 03:10:06 +0000 (05:10 +0200)]
lib-auth: Added auth_client_disconnect().
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 02:28:07 +0000 (04:28 +0200)]
auth: Don't leak memory if auth client sends a buggy request.
--HG--
branch : HEAD
Timo Sirainen [Fri, 19 Feb 2010 02:20:25 +0000 (04:20 +0200)]
auth: Don't loop through active requests every 5 seconds, looking for timeouts.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 16:56:52 +0000 (18:56 +0200)]
dovecot.m4: Don't use any AS_*() macros.
Also removed version checking because it was done with AS_* macro.
RHEL5 doesn't have new enough autoconf..
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 07:48:56 +0000 (09:48 +0200)]
dovecot.m4: Default dovecotdir to $prefix/lib/dovecot/
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 07:48:35 +0000 (09:48 +0200)]
configure: Set ACLOCAL_AMFLAGS so make finds dovecot.m4.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 07:14:43 +0000 (09:14 +0200)]
Added dovecot.m4 file that external plugins can use.
Based on patch by Dennis Schridde.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 06:43:35 +0000 (08:43 +0200)]
dict: Added dict_iterate_init_multiple().
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 06:20:22 +0000 (08:20 +0200)]
Added mail_guid_128_to_string(). Used it in several places.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:51:44 +0000 (07:51 +0200)]
auth: Added SHA512 and SSHA512 password schemes.
Based on patch by Mark Washenberger.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:51:14 +0000 (07:51 +0200)]
Added sha512_*() functions.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:32:13 +0000 (07:32 +0200)]
lib-storage: Fixed error handling in mailbox_copy().
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:31:55 +0000 (07:31 +0200)]
mailbox_list_get_mailbox_name_status(): Fixed INBOX handling with FS layout.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:13:29 +0000 (07:13 +0200)]
mbox: Fail at startup if service doesn't have client_limit=1.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:06:42 +0000 (07:06 +0200)]
mbox: Fixed getting header MD5 (GUID) if it wasn't already in index.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 05:04:23 +0000 (07:04 +0200)]
imap: FETCH X-GUID and X-MAILBOX didn't add a space after their value.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 04:44:54 +0000 (06:44 +0200)]
mail_full_filesystem_access=yes: Replace absolute path with mailbox name whenever possible.
For example "foo", "~/mail/foo" and "~user/mail/foo" can all point to the
same "foo" mailbox. When accessing it via "foo", it may have different index
settings and such, so convert the other forms to it whenever possible.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 04:20:38 +0000 (06:20 +0200)]
maildir: Always try to preserve message GUIDs when copying.
Because of this, maildir_copy_preserve_filename setting is now removed.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 04:15:47 +0000 (06:15 +0200)]
maildir_copy_with_hardlinks=yes no longer has a race condition.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 03:53:59 +0000 (05:53 +0200)]
maildir save: Detect when trying to use duplicate GUIDs (filenames) and rename them.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 03:53:08 +0000 (05:53 +0200)]
maildir: Make sure we message's UID isn't tried to be changed unexpectedly.
--HG--
branch : HEAD
Timo Sirainen [Thu, 18 Feb 2010 03:26:51 +0000 (05:26 +0200)]
maildir: Message GUID wasn't correctly set to expunge-GUID transaction records.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 13:05:50 +0000 (15:05 +0200)]
virtual: Implement required new methods.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 10:00:08 +0000 (12:00 +0200)]
maildir++: Fixed listing INBOX
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 09:57:09 +0000 (11:57 +0200)]
maildir: Crashfix to mailbox_update()
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 05:09:12 +0000 (07:09 +0200)]
dsync: Don't try to change INBOX's GUID.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 05:08:40 +0000 (07:08 +0200)]
mbox: Make sure we have valid mailbox GUID when returning it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 04:12:59 +0000 (06:12 +0200)]
mbox: istream_raw_mbox_get_body_size() no longer crashes if header wasn't read.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 04:07:02 +0000 (06:07 +0200)]
mailbox_update(): Updating uid_validity requires also reseting index.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 03:58:11 +0000 (05:58 +0200)]
mbox: Don't allow INBOX creation succeed, if it already exists.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 03:44:14 +0000 (05:44 +0200)]
dsync: Skip alias namespaces when syncing subscriptions.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 03:38:42 +0000 (05:38 +0200)]
Memory usage optimizations.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 03:22:19 +0000 (05:22 +0200)]
dsync: Error handling fixes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 03:19:20 +0000 (05:19 +0200)]
lib-storage: Increased initial mailbox pool sizes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 03:10:51 +0000 (05:10 +0200)]
mbox: Don't return mailbox GUID if it's coming from in-memory index.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 02:46:29 +0000 (04:46 +0200)]
lazy_expunge: Fixes to handling mailbox deletion and renames.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 02:31:35 +0000 (04:31 +0200)]
Mailbox deletion: If mailbox deletion seems to have crashed, allow retrying the deletion.
We'll assume that if deletion transaction was written over 5 minutes ago,
the deletion crashed.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 02:29:47 +0000 (04:29 +0200)]
lib-index: Added mail_index_get_modification_time().
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 02:08:46 +0000 (04:08 +0200)]
lib-storage: Fixes to rename error handling.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 01:07:19 +0000 (03:07 +0200)]
lib-storage: Removed INBOX auto-creating from backend code. Added bool box->inbox.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 00:57:56 +0000 (02:57 +0200)]
lib-storage: Use a default non-NULL mailbox.free() so plugins don't have to check for it.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 00:54:32 +0000 (02:54 +0200)]
lib-storage: Added mailbox.free() method. Use it instead of close() where necessary.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 00:13:14 +0000 (02:13 +0200)]
lib-storage: Removed some code duplication.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 00:08:02 +0000 (02:08 +0200)]
Fixed creating mailboxes over \noselect mailboxes.
--HG--
branch : HEAD
Timo Sirainen [Mon, 15 Feb 2010 00:03:42 +0000 (02:03 +0200)]
lib-storage: Changed mailbox_list.iter_is_mailbox() API.
--HG--
branch : HEAD
Timo Sirainen [Sun, 14 Feb 2010 21:40:23 +0000 (23:40 +0200)]
listescape: Crashfix
--HG--
branch : HEAD
Timo Sirainen [Sun, 14 Feb 2010 21:32:16 +0000 (23:32 +0200)]
Compiler warning fix.
--HG--
branch : HEAD
Timo Sirainen [Sun, 14 Feb 2010 20:49:11 +0000 (22:49 +0200)]
Fixed plugins to use the new mailbox rename API.
--HG--
branch : HEAD