]>
git.ipfire.org Git - thirdparty/dovecot/core.git/log
Timo Sirainen [Fri, 22 Feb 2013 13:14:19 +0000 (15:14 +0200)]
auth: userdb passwd iteration no longer skips shells.
Some systems are using passwd for mail users with shell set to nologin.
Maybe first_valid_uid check is good enough alone?
Timo Sirainen [Fri, 22 Feb 2013 11:21:09 +0000 (13:21 +0200)]
mail_shared_explicit_inbox: Switched the default from "yes" to "no".
Timo Sirainen [Fri, 22 Feb 2013 11:05:21 +0000 (13:05 +0200)]
auth: Use real_lip for proxy_maybe checks.
Timo Sirainen [Fri, 22 Feb 2013 11:04:45 +0000 (13:04 +0200)]
auth: Added real_[lr]ip, real_[lr]port variables.
The unreal ones differ when a trusted proxy overrides them.
Timo Sirainen [Fri, 22 Feb 2013 10:42:26 +0000 (12:42 +0200)]
proxying cleanup: Send TTL=1 (instead of TTL=0) as "no more proxying".
Timo Sirainen [Fri, 22 Feb 2013 08:32:05 +0000 (10:32 +0200)]
lib-storage: Make sure mailbox_get_open_status() can't be used with items that can fail.
Timo Sirainen [Fri, 22 Feb 2013 08:31:38 +0000 (10:31 +0200)]
doveadm, indexer: Don't crash if STATUS_LAST_CACHED_SEQ lookup fails.
(I'm sure I did this change already once, where did it go?..)
Timo Sirainen [Fri, 22 Feb 2013 08:09:19 +0000 (10:09 +0200)]
lib-storage: Fixed assert-crash when saving mails if UIDs weren't assigned.
Timo Sirainen [Thu, 21 Feb 2013 17:30:38 +0000 (19:30 +0200)]
mailbox_list_index=yes: Don't crash if destroying list before its init finished.
Timo Sirainen [Thu, 21 Feb 2013 15:09:08 +0000 (17:09 +0200)]
Added signature for changeset
018de2aa893a
Timo Sirainen [Thu, 21 Feb 2013 15:09:02 +0000 (17:09 +0200)]
Added tag 2.2.beta2 for changeset
018de2aa893a
Timo Sirainen [Thu, 21 Feb 2013 15:07:55 +0000 (17:07 +0200)]
Released v2.2.beta1.
Stephan Bosch [Thu, 21 Feb 2013 15:06:27 +0000 (17:06 +0200)]
lib-http: Fixed hanging on errors
Timo Sirainen [Thu, 21 Feb 2013 12:16:45 +0000 (14:16 +0200)]
Removed dead assignments.
Timo Sirainen [Thu, 21 Feb 2013 12:15:15 +0000 (14:15 +0200)]
dsync: Fixed hiding the "remote command returned error" message when it was unnecessary.
Timo Sirainen [Thu, 21 Feb 2013 11:27:42 +0000 (13:27 +0200)]
quota-status: Fixed compiling
Timo Sirainen [Thu, 21 Feb 2013 11:22:33 +0000 (13:22 +0200)]
TODO updated
Timo Sirainen [Thu, 21 Feb 2013 11:21:18 +0000 (13:21 +0200)]
Merged changes from v2.1 tree.
Stephan Bosch [Thu, 21 Feb 2013 08:23:08 +0000 (10:23 +0200)]
lib-http: Minor improvements.
Timo Sirainen [Thu, 21 Feb 2013 08:21:31 +0000 (10:21 +0200)]
lib-http: Fixed hangs/crashes with chunked ostream.
Based on patch by Stephan Bosch.
Timo Sirainen [Thu, 21 Feb 2013 05:55:24 +0000 (07:55 +0200)]
Added quota plugin's headers to LIBDOVECOT_STORAGE_INCLUDE.
This allows creating external plugins that depend on the quota plugin
(similar to trash plugin).
Timo Sirainen [Thu, 21 Feb 2013 04:22:40 +0000 (06:22 +0200)]
lib-storage: Fixed crash with mailbox_list_index=no
Stephan Bosch [Wed, 20 Feb 2013 17:34:51 +0000 (19:34 +0200)]
lib-http: Fixed hang with failed DNS lookups
Timo Sirainen [Wed, 20 Feb 2013 14:58:45 +0000 (16:58 +0200)]
quota-status: Load plugins after all.
They may be needed for user initialization to work (e.g. virtual plugin) or
maybe even for quota itself to work (external quota backend plugin).
Timo Sirainen [Wed, 20 Feb 2013 14:49:14 +0000 (16:49 +0200)]
mailbox_list_index: Delay allocating the index so mbox can override the index path.
Timo Sirainen [Wed, 20 Feb 2013 14:03:53 +0000 (16:03 +0200)]
mbox: Fixed mailbox_update() to not shrink uidnext.
Timo Sirainen [Wed, 20 Feb 2013 13:56:56 +0000 (15:56 +0200)]
acl: Skip ACLs if admin user flag is set (especially dsync).
Timo Sirainen [Wed, 20 Feb 2013 13:49:46 +0000 (15:49 +0200)]
acl: If copy() doesn't have enough permissions, free mail_save_context properly.
Timo Sirainen [Wed, 20 Feb 2013 13:49:06 +0000 (15:49 +0200)]
lib-storage: Added more asserts to catch missing mail_save_context frees.
Arguably mail_save_context could already freed at this time, but some other
code relies on this as well. These could be removed later if this is no
longer true.
Timo Sirainen [Wed, 20 Feb 2013 13:41:17 +0000 (15:41 +0200)]
lib-storage: If mailbox is deleted, mailbox_save_begin() should cancel mail_save_context.
Timo Sirainen [Wed, 20 Feb 2013 13:40:16 +0000 (15:40 +0200)]
lib-storage: Reset saving/moving/copying_via_save flag between mail_save_context uses.
Timo Sirainen [Wed, 20 Feb 2013 10:24:36 +0000 (12:24 +0200)]
test-http-client: Added POST functionality also.
Timo Sirainen [Wed, 20 Feb 2013 09:58:34 +0000 (11:58 +0200)]
test-http-client: If given a parameter, GET it.
Timo Sirainen [Wed, 20 Feb 2013 09:57:55 +0000 (11:57 +0200)]
lib-http: Avoid hanging in http_client_wait() while there's nothing to do.
Timo Sirainen [Wed, 20 Feb 2013 09:18:59 +0000 (11:18 +0200)]
lib-http: Minor API change: Added http_client_request_finish_payload()
Timo Sirainen [Wed, 20 Feb 2013 08:58:02 +0000 (10:58 +0200)]
mailbox_list_index: Removed race conditions from index updates.
Timo Sirainen [Wed, 20 Feb 2013 08:57:13 +0000 (10:57 +0200)]
lib-index: Added assert.
Timo Sirainen [Tue, 19 Feb 2013 15:36:59 +0000 (17:36 +0200)]
Added quota-status service for asking if user is over quota.
Implemented Postfix-compatible policy server protocol initially. Usage:
service quota-status {
executable = quota-status -p postfix
unix_listener /var/spool/postfix/private/quota-status {
user = postfix
}
client_limit = 1
}
Postfix:
smtpd_recipient_restrictions =
...
check_policy_service unix:private/quota-status
Timo Sirainen [Tue, 19 Feb 2013 13:52:21 +0000 (15:52 +0200)]
hostpid_init() should die if hostname is invalid.
This was accidentally changes during last commit.
Timo Sirainen [Tue, 19 Feb 2013 11:43:42 +0000 (13:43 +0200)]
lib-index: Give a better error message if index is readonly and log is tried to be locked.
Timo Sirainen [Tue, 19 Feb 2013 11:18:38 +0000 (13:18 +0200)]
LAYOUT=index: Index is the only source for mailbox info, don't try any syncing with storage.
Timo Sirainen [Tue, 19 Feb 2013 11:17:42 +0000 (13:17 +0200)]
lib-storage: Fixed mailbox_update() when using mailbox_list_index=yes
Timo Sirainen [Tue, 19 Feb 2013 11:17:05 +0000 (13:17 +0200)]
Added guid_128_equals() helper function.
Timo Sirainen [Tue, 19 Feb 2013 09:25:21 +0000 (11:25 +0200)]
auth: Fix to previous change.
Timo Sirainen [Tue, 19 Feb 2013 09:22:57 +0000 (11:22 +0200)]
auth: userdb passwd-file iteration now skips passdb-only entries if there are other userdbs.
Timo Sirainen [Tue, 19 Feb 2013 09:08:49 +0000 (11:08 +0200)]
dsync: Added more debug logging.
Timo Sirainen [Tue, 19 Feb 2013 08:38:51 +0000 (10:38 +0200)]
auth: If user in passwd-file has no userdb info, userdb lookup now returns it as nonexistent.
Timo Sirainen [Tue, 19 Feb 2013 08:14:04 +0000 (10:14 +0200)]
dsync: Improved debug output.
Timo Sirainen [Tue, 19 Feb 2013 07:45:12 +0000 (09:45 +0200)]
dsync: Assert-crashfix for handling conflicting private flags.
Timo Sirainen [Tue, 19 Feb 2013 07:35:10 +0000 (09:35 +0200)]
replicator plugin: And crashfix for the previous change..
Timo Sirainen [Tue, 19 Feb 2013 07:32:11 +0000 (09:32 +0200)]
replication plugin: Notify replicator also for changes in public mailboxes.
Timo Sirainen [Tue, 19 Feb 2013 06:54:32 +0000 (08:54 +0200)]
lib-storage: Copy initial private message flags from shared flags for public mailboxes.
Timo Sirainen [Tue, 19 Feb 2013 06:35:57 +0000 (08:35 +0200)]
replicator: Use -N parameter for dsync (replicate all visible namespaces).
Timo Sirainen [Tue, 19 Feb 2013 06:35:23 +0000 (08:35 +0200)]
dsync: Renamed -a parameter to -N. It also now skips invisible namespaces.
Timo Sirainen [Tue, 19 Feb 2013 06:27:40 +0000 (08:27 +0200)]
lib-storage: Saving/copying no longer discards private message flags.
Timo Sirainen [Tue, 19 Feb 2013 06:17:50 +0000 (08:17 +0200)]
log: Recent log parser change started logging "Invalid log line" errors unintentionally.
Timo Sirainen [Mon, 18 Feb 2013 13:14:05 +0000 (15:14 +0200)]
log: Don't crash if log client sends line with pid=0.
Timo Sirainen [Mon, 18 Feb 2013 13:12:26 +0000 (15:12 +0200)]
my_hostname was broken because of recent change.
Timo Sirainen [Mon, 18 Feb 2013 06:46:06 +0000 (08:46 +0200)]
doveconf: Added -H parameter to check for hostname hash duplicates.
Timo Sirainen [Mon, 18 Feb 2013 06:45:54 +0000 (08:45 +0200)]
Added guid_128_host_hash_get().
Timo Sirainen [Mon, 18 Feb 2013 05:20:03 +0000 (07:20 +0200)]
Master looks up system hostdomain now and sends it to child processes via environment.
This avoids doing a gethostbyname() lookup at startup for each process that
needs it.
Timo Sirainen [Mon, 18 Feb 2013 05:12:44 +0000 (07:12 +0200)]
master: Don't close stderr. If log process fails at startup, the errors are logged there.
Timo Sirainen [Mon, 18 Feb 2013 04:49:57 +0000 (06:49 +0200)]
Free my_hostdomain at deinit.
Timo Sirainen [Mon, 18 Feb 2013 04:35:41 +0000 (06:35 +0200)]
example-config: Updated hostname setting's comments.
Timo Sirainen [Mon, 18 Feb 2013 04:31:51 +0000 (06:31 +0200)]
dsync: Fix to checking which side should do the locking.
Timo Sirainen [Sun, 17 Feb 2013 10:03:06 +0000 (12:03 +0200)]
mbox: If namespace prefix is used, don't show <prefix>/inbox mailbox.
Timo Sirainen [Sun, 17 Feb 2013 09:48:16 +0000 (11:48 +0200)]
dsync: Fixes to handling local changes during dsync.
Timo Sirainen [Sun, 17 Feb 2013 09:47:32 +0000 (11:47 +0200)]
dsync: Fail if changing mailbox GUID update doesn't work.
Timo Sirainen [Sun, 17 Feb 2013 09:46:14 +0000 (11:46 +0200)]
mbox: Fixed mailbox_update() for changing mailbox GUID.
Timo Sirainen [Sun, 17 Feb 2013 08:47:40 +0000 (10:47 +0200)]
lib-index: Make sure unused_old_sync_* fields are cleared in header in old inedx files.
Timo Sirainen [Sun, 17 Feb 2013 08:15:04 +0000 (10:15 +0200)]
dsync: Fixed infinite loop in importer.
Timo Sirainen [Sun, 17 Feb 2013 08:14:49 +0000 (10:14 +0200)]
dsync: Improved unexpected error logging.
Timo Sirainen [Sun, 17 Feb 2013 08:11:20 +0000 (10:11 +0200)]
maildir: Don't try to preserve old filename when saving if uidlist couldn't be locked.
Timo Sirainen [Sun, 17 Feb 2013 08:10:45 +0000 (10:10 +0200)]
maildir: If we see old maildir file reappear, re-read uidlist before logging error.
Sometimes the old file gets added back intentionally and the dovecot-uidlist
is recreated (if necessary) to give it a new UID. Existing processes should
handle this situation.
Timo Sirainen [Sun, 17 Feb 2013 06:50:18 +0000 (08:50 +0200)]
dsync: If locking fails, fail instead of continuing.
Timo Sirainen [Sun, 17 Feb 2013 05:05:08 +0000 (07:05 +0200)]
dsync: Use full hostname+domain when comparing if hosts are different in locking.
Timo Sirainen [Sat, 16 Feb 2013 17:06:18 +0000 (19:06 +0200)]
login-common: Updated obsolete login_process_size setting in error log message.
Timo Sirainen [Sat, 16 Feb 2013 16:57:33 +0000 (18:57 +0200)]
Merged changes from v2.1 tree.
Timo Sirainen [Sat, 16 Feb 2013 16:24:28 +0000 (18:24 +0200)]
NEWS file updated.
Timo Sirainen [Sat, 16 Feb 2013 16:22:23 +0000 (18:22 +0200)]
pop3_lock_session: Use a separate dovecot-pop3-session.lock file instead of mailbox lock.
This changes the behavior in a way that it's now possible for IMAP sessions
to expunge mails during a POP3 session. But now it's no longer possible for
POP3 sessions to hang new mail deliveries.
Timo Sirainen [Sat, 16 Feb 2013 15:58:20 +0000 (17:58 +0200)]
pop3: Minor code cleanup
Timo Sirainen [Sat, 16 Feb 2013 15:54:57 +0000 (17:54 +0200)]
pop3: Use RFC 3206 [SYS/*] and [AUTH] response codes.
Timo Sirainen [Sat, 16 Feb 2013 15:33:27 +0000 (17:33 +0200)]
pop3: Code cleanup: INBOX always exists, no need to check for it here.
Timo Sirainen [Sat, 16 Feb 2013 15:17:14 +0000 (17:17 +0200)]
dsync: Merge last-common-* values from both local and remote when they differ.
Timo Sirainen [Sat, 16 Feb 2013 14:47:40 +0000 (16:47 +0200)]
dsync: -l parameter locking is now done on the server with "lower" hostname.
This allows running multi-master replication on two servers without two
dsyncs mixing up changes by running at the same time.
Timo Sirainen [Sat, 16 Feb 2013 14:45:47 +0000 (16:45 +0200)]
dsync: If unexpected changes happen during sync, return a safe last-common-uid for state.
Timo Sirainen [Sat, 16 Feb 2013 14:44:13 +0000 (16:44 +0200)]
dsync: Don't hide the final error messages from remote.
Timo Sirainen [Sat, 16 Feb 2013 12:51:50 +0000 (14:51 +0200)]
dsync: Fixed last-common-uid lookup when local UID was expunged but remote wasn't.
Timo Sirainen [Sat, 16 Feb 2013 12:09:42 +0000 (14:09 +0200)]
dsync: Assert-crashfix for previous importer changes.
Timo Sirainen [Sat, 16 Feb 2013 11:58:14 +0000 (13:58 +0200)]
lib-index: Avoid getting expunged-status in index lookups when not necessary.
This especially improves dsync performance.
Timo Sirainen [Sat, 16 Feb 2013 11:51:05 +0000 (13:51 +0200)]
mdbox, mbox, virtual: Avoid getting expunged-status in index lookups when not necessary.
This especially improves dsync performance with mdbox.
Timo Sirainen [Sat, 16 Feb 2013 11:38:10 +0000 (13:38 +0200)]
lib-index: Don't lookup mail's expunge-state in transaction log view if caller doesn't care.
This was especially bad with dsync, which could trigger sorting of the
expunges array each time after processing a mail (= potentially tens of
thousands of sorts).
Timo Sirainen [Sat, 16 Feb 2013 11:34:13 +0000 (13:34 +0200)]
lib-storage: Assert-crash if mailbox_save_context isn't properly freed before reusing.
Timo Sirainen [Sat, 16 Feb 2013 11:32:57 +0000 (13:32 +0200)]
mdbox: mailbox_copy() didn't properly free the save context.
Timo Sirainen [Sat, 16 Feb 2013 11:32:57 +0000 (13:32 +0200)]
mdbox: mailbox_copy() didn't properly free the save context.
Timo Sirainen [Sat, 16 Feb 2013 11:31:37 +0000 (13:31 +0200)]
dsync: Various importer fixes.
Timo Sirainen [Sat, 16 Feb 2013 06:09:41 +0000 (08:09 +0200)]
fts-solr: Don't assert-crash on failures.
Timo Sirainen [Sat, 16 Feb 2013 06:01:10 +0000 (08:01 +0200)]
dsync: Avoid possibly long function recursion.
Timo Sirainen [Sat, 16 Feb 2013 06:00:51 +0000 (08:00 +0200)]
dsync: Don't log "remote failed with 75" if we already logged an error from remote.
This reduces number of log lines when dsync fails.
Timo Sirainen [Sat, 16 Feb 2013 05:59:44 +0000 (07:59 +0200)]
dsync: Don't log a redundant "importing mailbox failed" error.