]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
12 years agomaildir: If we notice an unexpectedly inserted file, retry the sync to fix it.
Timo Sirainen [Sun, 19 May 2013 22:52:25 +0000 (01:52 +0300)] 
maildir: If we notice an unexpectedly inserted file, retry the sync to fix it.
Without this doveadm force-resync would just ignore the inserted files.

12 years agomaildir: Reverted most of changeset c92ebbedc6f9.
Timo Sirainen [Sun, 19 May 2013 22:39:52 +0000 (01:39 +0300)] 
maildir: Reverted most of changeset c92ebbedc6f9.
If dovecot-uidlist file is recreated, it gets a new inode number, and we
should recognize by that alone that it has changed. More importantly this
forced re-reading of dovecot-uidlist clears out the RACING flag, making it
impossible to handle reappearing maildir files.

12 years agolib-storage: Added mailbox_status.have_save_guids.
Timo Sirainen [Sun, 19 May 2013 20:42:29 +0000 (23:42 +0300)] 
lib-storage: Added mailbox_status.have_save_guids.

12 years agombox: Previous change broke index updates to successful saves.
Timo Sirainen [Sun, 19 May 2013 20:21:20 +0000 (23:21 +0300)] 
mbox: Previous change broke index updates to successful saves.

12 years agoexample-config: Added missing auth-dict.conf.ext to distribution
Christian Wiese [Sun, 19 May 2013 19:36:36 +0000 (22:36 +0300)] 
example-config: Added missing auth-dict.conf.ext to distribution

12 years agohttp_url_escape_param(): Added more characters to be escaped.
Timo Sirainen [Sun, 19 May 2013 19:30:52 +0000 (22:30 +0300)] 
http_url_escape_param(): Added more characters to be escaped.
Most importantly '+', which encodes a space normally. The others may not be
strictly necessary, but safer to escape them just in case.

12 years agolib-http: Fixed assert-crash when host had multiple IPs and first one had failed.
Timo Sirainen [Sun, 19 May 2013 16:55:41 +0000 (19:55 +0300)] 
lib-http: Fixed assert-crash when host had multiple IPs and first one had failed.

12 years agoimap-urlfetch: Don't leak memory on error. Use TCP corking when sending data.
Timo Sirainen [Sun, 19 May 2013 16:51:34 +0000 (19:51 +0300)] 
imap-urlfetch: Don't leak memory on error. Use TCP corking when sending data.

12 years agombox: Fixed committing transaction after a previous save had failed.
Timo Sirainen [Wed, 15 May 2013 14:18:29 +0000 (17:18 +0300)] 
mbox: Fixed committing transaction after a previous save had failed.

12 years agombox: If save's input stream fails, fail saving instead of ignoring the error.
Timo Sirainen [Wed, 15 May 2013 14:10:28 +0000 (17:10 +0300)] 
mbox: If save's input stream fails, fail saving instead of ignoring the error.

12 years agolayout=fs: Always return INBOX uppercased when listing mailboxes.
Timo Sirainen [Wed, 15 May 2013 14:09:36 +0000 (17:09 +0300)] 
layout=fs: Always return INBOX uppercased when listing mailboxes.

12 years agolib-storage: Don't lose INBOX's \Subscribed flag when returning it is delayed.
Timo Sirainen [Wed, 15 May 2013 13:10:48 +0000 (16:10 +0300)] 
lib-storage: Don't lose INBOX's \Subscribed flag when returning it is delayed.

12 years agoimap: Return how long SELECT or EXAMINE command took to answer.
Timo Sirainen [Wed, 15 May 2013 12:35:10 +0000 (15:35 +0300)] 
imap: Return how long SELECT or EXAMINE command took to answer.
Could be useful to know sometimes if there's a large maildir where a lot
files need to be rename()d.

12 years agomaildir: Fixed handling over 26 keywords in a mailbox.
Timo Sirainen [Wed, 15 May 2013 12:26:47 +0000 (15:26 +0300)] 
maildir: Fixed handling over 26 keywords in a mailbox.

12 years agoAdded asserts to binary searches to make sure we don't go to infinite loop.
Timo Sirainen [Wed, 15 May 2013 12:06:24 +0000 (15:06 +0300)] 
Added asserts to binary searches to make sure we don't go to infinite loop.
Using idx=left+(right-left)/2 would have worked also to allow 4GB sizes,
but since none of the places in the code are likely to reach 2GB we might as
well just add an assert. (Also if they do reach 2GB, it could be possible
that they could reach also above 4GB and cause problems. Better to see an
early error.)

12 years agoquota-status: If quota_status_* settings are set, don't free them before using.
Timo Sirainen [Wed, 15 May 2013 11:28:04 +0000 (14:28 +0300)] 
quota-status: If quota_status_* settings are set, don't free them before using.

12 years agolib-storage: Allow mail_*cache_fields settings to specify any hdr.* fields.
Timo Sirainen [Wed, 15 May 2013 10:44:01 +0000 (13:44 +0300)] 
lib-storage: Allow mail_*cache_fields settings to specify any hdr.* fields.
Also the fields were previously set only once globally, so if the process
served multiple users, it wouldn't have been possible to use per-user values
for these fields.

12 years agolib-index: Don't mark field decisions dirty when registering initial cache fields.
Timo Sirainen [Wed, 15 May 2013 10:36:43 +0000 (13:36 +0300)] 
lib-index: Don't mark field decisions dirty when registering initial cache fields.

12 years agolib-index: Fixed mail_cache_register_fields() decision updates.
Timo Sirainen [Wed, 15 May 2013 10:34:59 +0000 (13:34 +0300)] 
lib-index: Fixed mail_cache_register_fields() decision updates.
Normally this shouldn't matter, except when mail_*cache_fields settings have
been used.

12 years agolib-storage: Added mail_always_cache_fields setting.
Timo Sirainen [Wed, 15 May 2013 10:20:43 +0000 (13:20 +0300)] 
lib-storage: Added mail_always_cache_fields setting.

12 years agoliblib: Fix Unicode decomposition
Florian Zeitz [Sat, 11 May 2013 15:08:12 +0000 (17:08 +0200)] 
liblib: Fix Unicode decomposition

12 years agoexample-config: Added comment how all *.conf.ext files are accessed typically.
Timo Sirainen [Wed, 15 May 2013 09:52:29 +0000 (12:52 +0300)] 
example-config: Added comment how all *.conf.ext files are accessed typically.

12 years agoMakefile: Removed dovecot-db.conf.ext
Timo Sirainen [Wed, 15 May 2013 09:50:29 +0000 (12:50 +0300)] 
Makefile: Removed dovecot-db.conf.ext

12 years agoexample-config: Removed dovecot-db.conf.ext since Berkeley DB support is never built in.
Timo Sirainen [Wed, 15 May 2013 09:50:03 +0000 (12:50 +0300)] 
example-config: Removed dovecot-db.conf.ext since Berkeley DB support is never built in.

12 years agoexample-config: auth-*.conf.ext should say they're included by 10-auth.conf
Timo Sirainen [Wed, 15 May 2013 09:48:21 +0000 (12:48 +0300)] 
example-config: auth-*.conf.ext should say they're included by 10-auth.conf

12 years agoauth passwd-file: If we fail to open passwd-file, log a request error directly.
Timo Sirainen [Tue, 14 May 2013 20:34:38 +0000 (23:34 +0300)] 
auth passwd-file: If we fail to open passwd-file, log a request error directly.
Instead of one error message and another info message.

12 years agoAvoid strict aliasing warnings.
Timo Sirainen [Tue, 14 May 2013 19:23:27 +0000 (22:23 +0300)] 
Avoid strict aliasing warnings.

12 years agoexample-config: Moved imap_* and pop3_* settings outside protocol section.
Timo Sirainen [Tue, 14 May 2013 13:46:08 +0000 (16:46 +0300)] 
example-config: Moved imap_* and pop3_* settings outside protocol section.
There's no need to keep them inside protocol {}, and in case of
pop3_uidl_format=%m setting it's actually harmful.

12 years agopop3: Added pop3_deleted_flag setting.
Timo Sirainen [Tue, 14 May 2013 13:32:30 +0000 (16:32 +0300)] 
pop3: Added pop3_deleted_flag setting.

12 years agoconfigure: Fixed checking for struct sockpeercred with OpenBSD <5.3
Timo Sirainen [Tue, 14 May 2013 11:14:16 +0000 (14:14 +0300)] 
configure: Fixed checking for struct sockpeercred with OpenBSD <5.3

12 years agologin-proxy: If login fails with timeout, log what the proxying state was.
Timo Sirainen [Tue, 14 May 2013 11:02:36 +0000 (14:02 +0300)] 
login-proxy: If login fails with timeout, log what the proxying state was.

12 years agologin-proxy: Don't crash if connect() succeeds but login fails with timeout.
Timo Sirainen [Tue, 14 May 2013 11:00:21 +0000 (14:00 +0300)] 
login-proxy: Don't crash if connect() succeeds but login fails with timeout.

12 years agoFix out of source build of manpages
Dennis Schridde [Mon, 13 May 2013 21:06:31 +0000 (23:06 +0200)] 
Fix out of source build of manpages

12 years agolib-index: Previous commit sometimes broke scanning transaction log view.
Timo Sirainen [Mon, 6 May 2013 20:59:41 +0000 (23:59 +0300)] 
lib-index: Previous commit sometimes broke scanning transaction log view.
If min_file_seq+offset pointed to the end of the previous file that no
longer existed, we didn't just skip over it.

12 years agoimap: URLFETCH sometimes failed thinking it didn't receive all of the message data.
Timo Sirainen [Mon, 6 May 2013 17:21:27 +0000 (20:21 +0300)] 
imap: URLFETCH sometimes failed thinking it didn't receive all of the message data.

12 years agoimap: URLFETCH leaked istream on failures.
Timo Sirainen [Mon, 6 May 2013 17:20:43 +0000 (20:20 +0300)] 
imap: URLFETCH leaked istream on failures.

12 years agoimap: Fixed URLFETCH assert-crashes due to output_cmd_lock not being cleared.
Timo Sirainen [Mon, 6 May 2013 17:15:58 +0000 (20:15 +0300)] 
imap: Fixed URLFETCH assert-crashes due to output_cmd_lock not being cleared.

12 years agoimap: Don't eat away the next command if CATENATE fails.
Timo Sirainen [Mon, 6 May 2013 16:51:07 +0000 (19:51 +0300)] 
imap: Don't eat away the next command if CATENATE fails.

12 years agoimap: Fixed assert-crash on invalid APPEND parameters.
Timo Sirainen [Mon, 6 May 2013 16:49:55 +0000 (19:49 +0300)] 
imap: Fixed assert-crash on invalid APPEND parameters.

12 years agoimap: Don't hang in APPEND when giving it invalid parameters.
Timo Sirainen [Mon, 6 May 2013 16:49:18 +0000 (19:49 +0300)] 
imap: Don't hang in APPEND when giving it invalid parameters.

12 years agolib-imap: imap_parser_read_args() shouldn't append multiple EOLs when calling multipl...
Timo Sirainen [Mon, 6 May 2013 16:48:32 +0000 (19:48 +0300)] 
lib-imap: imap_parser_read_args() shouldn't append multiple EOLs when calling multiple times.

12 years agolib-imap-urlauth: Don't try to access garbage memory on error handling paths.
Timo Sirainen [Mon, 6 May 2013 15:35:36 +0000 (18:35 +0300)] 
lib-imap-urlauth: Don't try to access garbage memory on error handling paths.

12 years agodoveadm: If search query attempts to access nonexistent mailbox, just ignore it.
Timo Sirainen [Mon, 6 May 2013 14:30:07 +0000 (17:30 +0300)] 
doveadm: If search query attempts to access nonexistent mailbox, just ignore it.
Most importantly running a query for multiple users wouldn't be an error if
the mailbox existed only for some users. It's probably cleaner to then
always just ignore the nonexistent mailboxes.

12 years agodoveadm_mail_iter_init(): Removed unnecessarily returning transaction.
Timo Sirainen [Mon, 6 May 2013 14:27:36 +0000 (17:27 +0300)] 
doveadm_mail_iter_init(): Removed unnecessarily returning transaction.
If it's needed in future just add a new doveadm_mail_iter_get_transaction().

12 years agolib-index: The previous assert-crashfix didn't actually fix the problem.
Timo Sirainen [Mon, 6 May 2013 13:43:29 +0000 (16:43 +0300)] 
lib-index: The previous assert-crashfix didn't actually fix the problem.

12 years agomaildir++: Fixed mail_shared_explicit_inbox=no
Timo Sirainen [Mon, 6 May 2013 12:17:49 +0000 (15:17 +0300)] 
maildir++: Fixed mail_shared_explicit_inbox=no

12 years agonamespace { prefix="" list=no } should never be listed.
Timo Sirainen [Mon, 6 May 2013 12:04:57 +0000 (15:04 +0300)] 
namespace { prefix="" list=no } should never be listed.

12 years agoacl: Optionally get default ACL's for private/shared namespaces from user's INBOX.
Timo Sirainen [Mon, 6 May 2013 11:59:27 +0000 (14:59 +0300)] 
acl: Optionally get default ACL's for private/shared namespaces from user's INBOX.
This probably should be the default always, but better not break anyone's
existing setup until v2.3.0. So for now there's a setting for this:
plugin { acl_defaults_from_inbox = yes }

12 years agoacl: Mailbox creation ignored ACLs (due to API changes in v2.2).
Timo Sirainen [Mon, 6 May 2013 11:58:55 +0000 (14:58 +0300)] 
acl: Mailbox creation ignored ACLs (due to API changes in v2.2).
The created mailbox couldn't have been accessed however.

12 years agoquota-status: Return 554 instead of 552 on quota failures.
Timo Sirainen [Fri, 3 May 2013 14:17:15 +0000 (17:17 +0300)] 
quota-status: Return 554 instead of 552 on quota failures.
This is because RFC 5321/2821 recommends that 552 is treated the same as 452.

12 years agolib-imap-urlauth: Don't try to access garbage memory on error handling path.
Timo Sirainen [Thu, 2 May 2013 15:32:47 +0000 (18:32 +0300)] 
lib-imap-urlauth: Don't try to access garbage memory on error handling path.

12 years agoimap-urlauth-worker: Fixed a crash (by removing unnecessary code)
Timo Sirainen [Thu, 2 May 2013 15:29:50 +0000 (18:29 +0300)] 
imap-urlauth-worker: Fixed a crash (by removing unnecessary code)

12 years agoimap: Don't allow empty CATENATE () list.
Timo Sirainen [Thu, 2 May 2013 15:18:26 +0000 (18:18 +0300)] 
imap: Don't allow empty CATENATE () list.

12 years agoimap: Fixed using literals for URLs in CATENATE.
Timo Sirainen [Thu, 2 May 2013 15:11:56 +0000 (18:11 +0300)] 
imap: Fixed using literals for URLs in CATENATE.

12 years agoexample-config: Typofix
Timo Sirainen [Thu, 2 May 2013 13:20:02 +0000 (16:20 +0300)] 
example-config: Typofix

12 years agostats plugin: Don't try to send notifications to already dead stats process.
Timo Sirainen [Tue, 23 Apr 2013 18:32:24 +0000 (21:32 +0300)] 
stats plugin: Don't try to send notifications to already dead stats process.

12 years agolib-master: Added master_service_is_master_stopped()
Timo Sirainen [Tue, 23 Apr 2013 18:31:52 +0000 (21:31 +0300)] 
lib-master: Added master_service_is_master_stopped()

12 years agohash_table_clear(): Added a comment about API usage.
Timo Sirainen [Tue, 23 Apr 2013 18:08:31 +0000 (21:08 +0300)] 
hash_table_clear(): Added a comment about API usage.

12 years agomaildir: Crashfix after dovecot-keywords file was re-read.
Timo Sirainen [Tue, 23 Apr 2013 18:06:34 +0000 (21:06 +0300)] 
maildir: Crashfix after dovecot-keywords file was re-read.

12 years agolib-storage: Fixed crash with mailbox_list_index=yes after re-reading index.
Timo Sirainen [Tue, 23 Apr 2013 18:06:00 +0000 (21:06 +0300)] 
lib-storage: Fixed crash with mailbox_list_index=yes after re-reading index.

12 years agoistream-[b]zlib: Don't break if parent stream gets seeked in the middle of reads.
Timo Sirainen [Tue, 23 Apr 2013 17:53:53 +0000 (20:53 +0300)] 
istream-[b]zlib: Don't break if parent stream gets seeked in the middle of reads.

12 years agodbox: Close file's fd only after its istream is destroyed.
Timo Sirainen [Tue, 23 Apr 2013 17:51:34 +0000 (20:51 +0300)] 
dbox: Close file's fd only after its istream is destroyed.
For example zlib plugin keeps the stream open as a cache even after the
dbox_file has been destroyed.

12 years agoistream-seekable: Don't crash when seeking forwards past the data we haven't read...
Timo Sirainen [Tue, 23 Apr 2013 14:21:46 +0000 (17:21 +0300)] 
istream-seekable: Don't crash when seeking forwards past the data we haven't read yet.

12 years agolib-http: Makefile fix
Timo Sirainen [Tue, 23 Apr 2013 13:20:48 +0000 (16:20 +0300)] 
lib-http: Makefile fix

12 years agofts-solr: Don't crash if fts_solr setting is invalid.
Timo Sirainen [Tue, 23 Apr 2013 10:47:46 +0000 (13:47 +0300)] 
fts-solr: Don't crash if fts_solr setting is invalid.

12 years agomaster: Fixed warning log message.
Timo Sirainen [Tue, 23 Apr 2013 10:33:12 +0000 (13:33 +0300)] 
master: Fixed warning log message.

12 years agoOpenBSD compile fix: include sys/socket.h when checking for struct sockpeercred.
Timo Sirainen [Tue, 23 Apr 2013 10:28:17 +0000 (13:28 +0300)] 
OpenBSD compile fix: include sys/socket.h when checking for struct sockpeercred.

12 years agostats plugin: Use nonblocking open() for stats fifo.
Timo Sirainen [Mon, 22 Apr 2013 18:51:01 +0000 (21:51 +0300)] 
stats plugin: Use nonblocking open() for stats fifo.
This fixes hangs in it. Alternative would be to use alarm().

12 years agozlib: Keep the last read mail cached uncompressed in a temp file.
Timo Sirainen [Mon, 22 Apr 2013 15:45:04 +0000 (18:45 +0300)] 
zlib: Keep the last read mail cached uncompressed in a temp file.
This fixes performance problems with partial IMAP FETCH commands.

12 years agolib-storage: Avoid wasting data stack during searches.
Timo Sirainen [Sat, 20 Apr 2013 18:57:47 +0000 (21:57 +0300)] 
lib-storage: Avoid wasting data stack during searches.

12 years agoFixed a memory leak.
Timo Sirainen [Sat, 20 Apr 2013 18:02:30 +0000 (21:02 +0300)] 
Fixed a memory leak.

12 years agostats plugin: Fixed memory leak.
Timo Sirainen [Sat, 20 Apr 2013 17:58:06 +0000 (20:58 +0300)] 
stats plugin: Fixed memory leak.

12 years agoCompiling fix for Sun compilers.
Timo Sirainen [Fri, 19 Apr 2013 11:29:23 +0000 (14:29 +0300)] 
Compiling fix for Sun compilers.
I wish gcc/clang warned about these as well, as sometimes they indicate bugs.

12 years agoAdded signature for changeset 6fcf060b50f1
Timo Sirainen [Thu, 18 Apr 2013 21:38:05 +0000 (00:38 +0300)] 
Added signature for changeset 6fcf060b50f1

12 years agoAdded tag 2.2.1 for changeset 6fcf060b50f1
Timo Sirainen [Thu, 18 Apr 2013 21:38:00 +0000 (00:38 +0300)] 
Added tag 2.2.1 for changeset 6fcf060b50f1

12 years agoReleased v2.2.1. 2.2.1
Timo Sirainen [Thu, 18 Apr 2013 21:38:00 +0000 (00:38 +0300)] 
Released v2.2.1.

12 years agolayout=index: Fixed listing subscriptions.
Timo Sirainen [Thu, 18 Apr 2013 15:49:55 +0000 (18:49 +0300)] 
layout=index: Fixed listing subscriptions.

12 years agolib-storage: Set virtual/physical size in dest_mail when copying, if possible.
Timo Sirainen [Thu, 18 Apr 2013 14:54:29 +0000 (17:54 +0300)] 
lib-storage: Set virtual/physical size in dest_mail when copying, if possible.
Ideally lib-index would be fixed so this wouldn't be necessary. The
lib-index way of fixing it would also be useful for more than just quota
plugin.

12 years agolib-storage: mailbox_copy() didn't always copy all the cached fields to destination.
Timo Sirainen [Thu, 18 Apr 2013 14:48:38 +0000 (17:48 +0300)] 
lib-storage: mailbox_copy() didn't always copy all the cached fields to destination.
If the destination mailbox's cache file wasn't already opened, the default
cache decisions were used.

12 years agoliblib: Added DLLIST2_INSERT_AFTER_FULL()
Stephan Bosch [Wed, 17 Apr 2013 15:47:36 +0000 (18:47 +0300)] 
liblib: Added DLLIST2_INSERT_AFTER_FULL()
For inserting a new element in a doubly-linked list after an existing
element.

12 years agolib-imap-urlauth: Fixed connection error handling to abort all pending requests.
Stephan Bosch [Wed, 17 Apr 2013 15:44:52 +0000 (18:44 +0300)] 
lib-imap-urlauth: Fixed connection error handling to abort all pending requests.

12 years agolib-storage: mailbox_save_finish() internally does one final mailbox_save_continue()
Timo Sirainen [Wed, 17 Apr 2013 13:19:42 +0000 (16:19 +0300)] 
lib-storage: mailbox_save_finish() internally does one final mailbox_save_continue()

12 years agodoveadm fs: Set base_dir.
Timo Sirainen [Wed, 17 Apr 2013 13:08:26 +0000 (16:08 +0300)] 
doveadm fs: Set base_dir.

12 years agombox: Handle broken Status: and X-Status: headers without sync errors.
Timo Sirainen [Tue, 16 Apr 2013 17:08:18 +0000 (20:08 +0300)] 
mbox: Handle broken Status: and X-Status: headers without sync errors.

12 years agoauth: Fixed multiple master passdbs.
Timo Sirainen [Tue, 16 Apr 2013 13:20:30 +0000 (16:20 +0300)] 
auth: Fixed multiple master passdbs.

12 years agomaildir: Fixed crash in some rare situations.
Timo Sirainen [Tue, 16 Apr 2013 12:54:05 +0000 (15:54 +0300)] 
maildir: Fixed crash in some rare situations.

12 years agozlib: Don't crash when trying to use zlib_save for handler that isn't compiled in.
Timo Sirainen [Mon, 15 Apr 2013 18:40:35 +0000 (21:40 +0300)] 
zlib: Don't crash when trying to use zlib_save for handler that isn't compiled in.

12 years agolib-mail: Don't assert-crash when multipart doesn't actually have any parts.
Timo Sirainen [Mon, 15 Apr 2013 14:22:06 +0000 (17:22 +0300)] 
lib-mail: Don't assert-crash when multipart doesn't actually have any parts.

12 years agolib-storage: mailbox_list_index=yes was still broken.
Timo Sirainen [Sun, 14 Apr 2013 18:27:29 +0000 (21:27 +0300)] 
lib-storage: mailbox_list_index=yes was still broken.

12 years agoLinking error fix.
Timo Sirainen [Sun, 14 Apr 2013 17:40:47 +0000 (20:40 +0300)] 
Linking error fix.

12 years agoAdded tag 2.2.0 for changeset 1c8e7a295d4b
Timo Sirainen [Fri, 12 Apr 2013 18:19:38 +0000 (21:19 +0300)] 
Added tag 2.2.0 for changeset 1c8e7a295d4b

12 years agoAdded signature for changeset e2cd03cc9c69 2.2.0
Timo Sirainen [Thu, 11 Apr 2013 19:38:59 +0000 (22:38 +0300)] 
Added signature for changeset e2cd03cc9c69

12 years agoReleased v2.1.0.
Timo Sirainen [Thu, 11 Apr 2013 19:38:54 +0000 (22:38 +0300)] 
Released v2.1.0.

12 years agolib-storage: mailbox_list_index=yes was broken by previous change.
Timo Sirainen [Thu, 11 Apr 2013 16:06:25 +0000 (19:06 +0300)] 
lib-storage: mailbox_list_index=yes was broken by previous change.
Reverted the previous change and fixed it the right way.

12 years agoRemoved ambiguous mail_user.admin flag. dsync shouldn't sync mailboxes without +r...
Timo Sirainen [Thu, 11 Apr 2013 15:50:25 +0000 (18:50 +0300)] 
Removed ambiguous mail_user.admin flag. dsync shouldn't sync mailboxes without +r ACL.

12 years agodoveadm: Don't use MAILBOX_LIST_ITER_RAW_LIST when listing mailboxes.
Timo Sirainen [Thu, 11 Apr 2013 14:35:31 +0000 (17:35 +0300)] 
doveadm: Don't use MAILBOX_LIST_ITER_RAW_LIST when listing mailboxes.
That skips ACLs and mailbox list. There's really no good reason to use that
by default.

12 years agolib-storage: mailbox_list_index=yes wasn't working with ACLs.
Timo Sirainen [Thu, 11 Apr 2013 13:54:53 +0000 (16:54 +0300)] 
lib-storage: mailbox_list_index=yes wasn't working with ACLs.

12 years agolib-storage: mail_update_pvt_modseq() shouldn't crash if there is no private index.
Timo Sirainen [Thu, 11 Apr 2013 13:19:35 +0000 (16:19 +0300)] 
lib-storage: mail_update_pvt_modseq() shouldn't crash if there is no private index.

12 years agonet_getunixcred(): Fix to previous NetBSD<5 support: return pid as -1.
Timo Sirainen [Thu, 11 Apr 2013 10:38:16 +0000 (13:38 +0300)] 
net_getunixcred(): Fix to previous NetBSD<5 support: return pid as -1.

12 years agonet_getunixcred() support for NetBSD <v5.0. Fixed also building with other NetBSDs.
Timo Sirainen [Thu, 11 Apr 2013 10:15:39 +0000 (13:15 +0300)] 
net_getunixcred() support for NetBSD <v5.0. Fixed also building with other NetBSDs.
Patch by Emmanuel Dreyfus