8855d5f5d9962d8431c12974b9c4968844223c2b |
|
17-Jan-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Add attachment detection settings |
bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
3b4d146372a1d443c8482070bf4014a23d3a9cc5 |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Delay error handing for invalid postmaster_address setting |
e98ba66a8ead146be66ba8219038a45fbf87b62c |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: Make parsed postmaster_address available in mail_storage_settings->parsed_postmaster_address. |
2ae85e9ccfdb416201d5a2043a64d198f8983874 |
|
12-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add settings to configure lib-index optimization parameters
The defaults are expected to be pretty good, but these settings make it
easier to test whether other values might be more optimal. |
c2ea6b029715a74b1f3724c7db05b222537371cd |
|
05-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
lib-storage: Added hostname, postmaster_address and recipient_delimiter settings to mail_storage_settings.
Copied from lda_settings. |
3dcf98a55df71b11c2cac4c20232b07e49606a9a |
|
21-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
Add <%{pid}> to default mail_log_prefix
It's especially useful nowadays when the same session ID can be reused by
multiple processes with IMAP hibernation enabled. |
e4122867044b44e9715c85ac373dbb1c03e0963d |
|
24-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mailbox_list_index_include_inbox setting
This controls whether to update INBOX's STATUS information in the mailbox
list index. It can be useful especially if LISTINDEX points to a tmpfs,
but perhaps also in other situations.
I considered adding a more generic setting to exclude other mailboxes, but
the namespace prefixes and hierarchy separators get a bit complicated with
shared mailboxes. It's probably also not very useful to change this for
anything but the INBOX. |
a85cf0bdd86ba36e6f1243e9b6848a335625185b |
|
19-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_sort_max_read_count setting.
This controls how many slow mail accesses sorting can perform before it
fails:
a NO [LIMIT] Requested sort would have taken too long
The SORT reply is still returned, but it's likely not correct. |
a758be690d736655ed7c1e3dfb46d3aaf4dd5db2 |
|
16-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_vsize_bg_after_count setting.
If folder vsize calculation requires opening more than this many mails from
disk (i.e. mail sizes aren't in cache already), return failure and finish
the calculation via indexer process.
This should be used like:
protocol !indexer-worker {
mail_vsize_bg_after_count = 10
} |
2eeea57b495fe2965a8bff5cc1cd47d7b8969b58 |
|
07-Feb-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: remove mail_storage_get_driver_settings
It has been marked obsolete. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
46e917c9fa05cbe7bddf805d3a9838b61e3960e1 |
|
18-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_namespace_get_driver_settings() and use it.
It obsoletes mail_storage_get_driver_settings(). |
8f0503ea115c4bb1eb1857023cc5051cf4bed807 |
|
21-Jun-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
lib-storage: Add autoexpunge_max_mails configuration to autoexpunge
Mails are expunged until mail count is at autoexpunge_max_mails or below.
In below example, autoexpunge will expunge 1 mail when message count > 100
and *then* try to expunge mails that are still older than 2 minutes:
namespace {
..
mailbox Trash {
autoexpunge = 2 mins
autoexpunge_max_mails = 100
}
} |
a11c0bcd4ad286b399053daf827735c39acdb9ec |
|
09-May-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
lib-storage: Add %{session} to mail_log_prefix by default
Parameter is added to initialization string. |
7633195df10da3c0f73502376a40fa58a2d82a5a |
|
29-Apr-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: mailbox_list_index yes by default |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
1ae5d61ec366fdb2f3c5b150ca378d6141b0f4bd |
|
27-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
Added mailbox { autoexpunge } setting.
This can be used to automatically expunge mails from specified mailboxes
after they're old enough. The expunges are done when the user is being
deinitialized. mailbox_list_index=yes should be enabled to have the best
performance with this setting.
Example:
namespace inbox {
mailbox Spam {
auto = create
special_use = \Junk
autoexpunge = 30d
}
} |
186c198e258401b0d2d9374d7ac7e248dc4d7377 |
|
25-Apr-2015 |
Stephan Bosch <stephan@rename-it.nl> |
imap: METADATA: Implemented mailbox and server comment entries and the server admin entry. |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
50053223085da761ce3f9491f428381503ce3ec9 |
|
14-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
imap: namespace { order } parameter now specifies the order returned in NAMESPACE reply.
This is relevant only if there are multiple visible namespaces with the same
type. The default order depends primarily on the length of the prefix because
of internal sorting (the order of equal length prefixes can't really be
relied on). |
d74a4126a72b1bf3d7df21aaed62917dedb70035 |
|
03-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Compile fix to previous change
The original patch was correct, my copy&pasting by hand just sucked. :) |
4c0e20db10034bb572d278f62beff12e3deb17d9 |
|
03-Sep-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fixed off-by-one memory allocation in dynamic settings allocation code.
This didn't actually affect normal Dovecot builds, because there were always
some storages with get_setting_parser_info=NULL that added the necessary
padding.
Patch by Michael M Slusarz |
53cc097d3f8cd789f3c8fa0dfdd02bcda776230e |
|
22-May-2014 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_index_very_dirty_syncs setting.
This setting assumes that the mailbox list index is up to date and uses it
without stat()ing backend mailbox files/dirs. (As a possible future TODO it
might be useful to still do the stat()ing, but only rarely.) |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
d2e74f2af690b8e2d536400f02f397cbed1334b7 |
|
08-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox { driver } setting to specify which storage to use. |
872d122a6f570e462f40341b7dd581dbd7d59f90 |
|
15-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mail_always_cache_fields setting. |
56d1345c43bbd28c36b7faa85e4163bd9e874290 |
|
07-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
Added ssl_client_ca_file to specify the CA certs as a file instead of as a dir.
This is required for Redhat-based systems where there isn't a CA directory
like in Debian/Ubuntu. |
16cb5d65265dd0b216542803fd80c4b999ae118e |
|
19-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
Moved ssl_client_ca_dir and ssl_crypto_device to mail_storage_settings.
Probably could also be moved to master_service_settings, but that makes
accessing them a bit more tricky with the current code. |
f437d8feeb3b5f0426169fd8f43a5a2d846c0e35 |
|
26-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: If namespace has disabled=yes, don't verify alias_for validity. |
3ad4568a3f2a04e09f8e7d09150a67c11262b9f5 |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
mail_shared_explicit_inbox: Switched the default from "yes" to "no". |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
62041dfb7d6ac6e9c633a557075999cdfcff7bd5 |
|
13-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support to get/set/iterate mailbox attributes.
The attributes are stored in a dict specified by mail_attribute_dict
setting. The idea is to use this as storage for extensions that require
per-mailbox key=value pairs, such as METADATA. |
12976f028ab46bd30fc87b8a26052360d516330f |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added "disabled" setting for namespaces. |
7a2d48763b43c4fd8bc17c444271f0b802113a5f |
|
13-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mail_storage_settings_to_index_flags to mail-storage-private.h
This is mainly to allow #including mail-storage-settings.h from C++ code
without having to #include mail-index.h from mail-storage-settings.h |
57b819d3aa978b88ef478e4f2397c32db231ebb7 |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added "disabled" setting for namespaces. |
938fbc319fc0baa44257e9241049b88cb91efef1 |
|
23-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Verify that namespace prefix is valid UTF8 string. |
05570210e91a205a68a9079be810105269545596 |
|
12-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Verify that mailbox_idle_check_interval setting isn't 0. |
0bd259973f98837cf0e41fdee3e2a578e51ad09e |
|
04-May-2012 |
Timo Sirainen <tss@iki.fi> |
Added mail_shared_explicit_inbox setting. |
68b5e132f1f8bb2528482310daffcc06c2f019d3 |
|
23-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_scan_interval setting and changed its default from 8h -> 1w. |
de83c1e095ba081ef80f630bcd933e5e28aff94b |
|
13-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added namespace { ignore_on_failure } setting.
If the namespace can't be created for any reason, it's simply silently
skipped. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
c10669a4219b5323127356d8ad5416d41c128235 |
|
06-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
Moved mailbox {} settings inside namespace {} and no longer require ns prefix in name.
This allows specifying mailboxes more easily with per-user namespace
prefixes. |
ed354926406e28254b581f821bb052f38d9c14e8 |
|
02-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
Implemented IMAP SPECIAL-USE extension. |
eb1572d7c44ebc7b0b039d085c3dbab2ef7043dd |
|
02-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
Moved autocreate plugin functionality into lib-storage.
The autocreate plugin is still used for backwards compatibility.
Mailboxes can be configured like:
mailbox Sent {
auto = subscribe
}
mailbox Spam {
auto = create
} |
e15b305e90c9834734ccf35ed78f0ad29d570ee9 |
|
31-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Search supports now prefetching data for returned mails. Dropped imapc's own prefetching.
mail_prefetch_count specifies how many mails can be kept open and issue a
prefetch.
This works using posix_fadvise(POSIX_FADV_WILLNEED) for maildir, sdbox and
cydir backends. Apparently only Linux supports this.
imapc backend also implements this internally by sending wanted IMAP
commands to remote server. The command pipelining helps with latency. This
change also makes it actually possible for imapc backend to first check if
wanted data is already cached in local index and avoid sending unnecessary
IMAP commands to remote server. |
06545b0f9825527e3d81f6614ed9cc723b0df0ce |
|
06-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: dotlock_use_excl default was accidentally set to "no". |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
dc53fff3700362b544dcba166ff81420db227a60 |
|
08-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Initial commit for rewritten mailbox list indexes code.
They're only enabled with mailbox_list_index=yes setting (default is no).
They can also get out of sync pretty easily currently. |
68bc73799cf5c9ec7bf19e272fa4bd932383eea9 |
|
23-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mail_temp_dir setting should have done %variable expansion. |
b9f564d00b7a115f465ffd6840341c7b8f9bfc8a |
|
19-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for saving mail attachments separately via filesystem API.
Currently this works only with sdbox and mdbox backends. |
55a14bce15b9f44441b5f56616d73651a294d770 |
|
15-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_dir setting, used by deliver and lmtp for creating temp mail files. |
b780aa272b742a43579cdb523cc79cc8d4521306 |
|
25-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Renamed fsync_disable to mail_fsync=optimized|always|never.
--HG--
branch : HEAD |
036626b19f14bef582f96e556913ae91b1d67881 |
|
23-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Added mail_max_lock_timeout setting.
This could be useful inside lda/lmtp protocol sections to avoid them from
spending too much time waiting for locks, since they can easily just
return "try again later".
--HG--
branch : HEAD |
25650f94453d4a001e394bd502e22e5ff78f1ef6 |
|
08-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed accidentally committed debug code.
--HG--
branch : HEAD |
84078771687fabf75819918f0f3aecdc3ed08b36 |
|
07-May-2010 |
Timo Sirainen <tss@iki.fi> |
Mail search register getting API change to fix a doveadm crash bug.
--HG--
branch : HEAD |
3e4e40cb3b75a9effc113829aaaa3b8e3b024d17 |
|
13-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Check for mail_plugin_dir existence only in config binary.
Other binaries may already have chrooted when the check is done.
--HG--
branch : HEAD |
5d03d9f439e41c90215a3c938ffebe4c2a8ae257 |
|
20-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added support for caching config lookups.
Currently caching won't work if config has any remote {} blocks.
--HG--
branch : HEAD |
dca6d617a23e3f93af3b8df59acb46478179fe55 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.iter_is_mailbox() API.
--HG--
branch : HEAD |
f330867f937b7a8505807a02edd21524600822ee |
|
28-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Namespaces can now have names. This could make some types of configuration cleaner.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
66d420d694b63007b33df63261d4699018421455 |
|
30-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
pop3: Added %g = GUID to pop3_uidl_format.
--HG--
branch : HEAD |
714d59900e44e6e2dd744bd7b76862e1d11a4f61 |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Added setting aliases: mail for mail_location, both of them for namespace location.
Removed special case handling for changing mail to mail_location in userdb.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
50e20db49f29917fe9adcf1b56b11badf28bd0e4 |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Added "time" (interval) setting type, which supports s/m/h/d/w suffixes.
--HG--
branch : HEAD |
7744586e3e0fd60158abfbb03a233d3bd8d6c48b |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Changed all settings related structs to const and changed APIs to make it work.
--HG--
branch : HEAD |
2ace3f00a7b743112a98a125c9b85dfd69a82d11 |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
services, unix/fifo_listeners and namespaces are now sections with unique name.
--HG--
branch : HEAD |
71e4ecfd695b3838c8fafb43730286eb45655a8d |
|
24-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
namespace section name now points to prefix, not type.
--HG--
branch : HEAD |
2fb9ae42f9e36388ec6db24188b9108434043fd0 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed APIs to fix reading settings for multiple users.
--HG--
branch : HEAD |
f38485358ffc04c3466b917770575e29deef24c3 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
mail_chroot can now contain %variables.
--HG--
branch : HEAD |
1cfdcb36985904eff281fc6d7ea2d13b3c375980 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
struct setting_parser_info now specifies the module name.
--HG--
branch : HEAD |
383d0e8c24451468d6bea17e4b55d74de744abe6 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Reordered struct setting_parser_info fields to make using them easier.
--HG--
branch : HEAD |
e0740628f6ca05f4bc79a9d8a90b650f4d38d4d0 |
|
09-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Removed mail_log_max_lines_per_sec setting and related code.
It's pretty unnecessary and there's really no good way to implement it with
shared log pipes.
--HG--
branch : HEAD |
1dd7e17bcb59e158457eed755223e1981a1eed96 |
|
02-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
settings: Don't crash if no namespaces or services have been created.
--HG--
branch : HEAD |
1d32ae27503cd011a116363b4e9a49db02333eb1 |
|
17-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Renamed auth-master socket to auth-userdb socket.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
b7179ed727ee6f7cef5f5b797d401f6c0df5b484 |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
mail_log_prefix default setting: Don't uppercase the service name.
--HG--
branch : HEAD |
37fb6d7f94e846c2df3c388f017ffe1dcbd7b9da |
|
30-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Moved pop3_uidl_format checking to mail-storage-settings.
--HG--
branch : HEAD |
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 |
|
24-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for v2.0 master rewrite. Several features are still missing.
--HG--
branch : HEAD |
d1fff80640050631b06bfab904a34b2ad24601e8 |
|
21-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Pass remote/local IPs to mail_users. Standalone mail programs now log with mail_log_prefix.
--HG--
branch : HEAD |
8d3278a82b964217d95c340ec6f82037cdc59d19 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Currently only the standalone applications (e.g. deliver) uses this.
--HG--
branch : HEAD |
b9f30617c2c96d54acbc4f85ed17b939c4f28916 |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Updated missing copyright years to 2009.
--HG--
branch : HEAD |
d63b4241643b6014d49ff356f14e0f3ee43068a8 |
|
08-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
settings_parser_info.check_func() now gets pool parameter if it wants to change settings.
--HG--
branch : HEAD |
3760e4670f9a7cd6b81e62f3948f250a7dfcfeca |
|
07-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Removed umask setting. It's no longer used.
--HG--
branch : HEAD |
b215a8a123623782554a83f3025ef4e771bd8f01 |
|
10-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
doveconf now checks that all settings are ok by calling check functions.
--HG--
branch : HEAD |
0df9428baed48afaff90b4d4f03792d2fd756a43 |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed plugins to work with config rewrite.
--HG--
branch : HEAD |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |