bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
11d4b189a3d98628828228e605fea1f91c689b05 |
|
14-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Fix creating dbox-alt-root symlink when mail root directory doesn't exist
Broken by 74664ac6dcf88cfc2ae6378c87c20ba694385a23 |
d4002fe1f64d25a792f76fb102ef7dc519cd4e24 |
|
11-Dec-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Use mail_set_critical() and mailbox_set_critical() if possible
Replace calls to mail_storage_set_critical() with mail_set_critical()
or mailbox_set_critical() in places where mailbox or mail are easily
available. |
804fa3f03bd9170272168a5ad214053bbe3160c7 |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert dbox-common to use container_of |
84af637240881b8c1cc4df472832f49de952e4c6 |
|
27-Aug-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Don't open mail files when expunging
It was done when mail_attachment_fs was non-empty (and default is
non-empty), even though mail_attachment_dir was empty. |
265ca08926833c86de4311164ed031e5f5b42fcd |
|
03-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Check mailbox existence from index directory with ITERINDEX |
7b15788793354ca0fd4fdb4dda8e426ca1e9e9d7 |
|
03-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Use mail_index_header.last_temp_file_scan instead of directory's atime
This will be required for the following ITERINDEX change. |
c5e2aa3148bc73f766c4a3a435c9dac2b45133e7 |
|
03-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Cleanup - reorganize old temp file cleanup code
No functional changes. In preparation for the next commits. |
50bf6cfe2aa6111fb38af37970f9551b2286638c |
|
28-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Don't create index directory when trying to open nonexistent mailboxes |
f504be57bf0a77b1ad055322c4aa936606fc6e4d |
|
23-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
dbox: Allow ":" separator between mail_attachment_fs driver and args.
The ":" separator is nowadays commonly used elsewhere for the separator,
so it should work here as well. |
dd645357a6b851a3a9527d16e2bced731e46dcaa |
|
30-Jan-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: Add error_r to t_readlink and its callers |
dfa2201c6ac8ddb2d2798dee15662cfe774e644e |
|
30-Jan-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib: Rename abspath to path-util |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
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/' |
46b823ac3bce2c0f9f0fc73911e48d3a77b04fbe |
|
08-Sep-2015 |
Timo Sirainen <tss@iki.fi> |
Replaced unlink() calls with i_unlink*() wherever possible. |
7e2671b295927b461adc8b6c4ed6a1c4761fb323 |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved index/index-mailbox-check.c code to mailbox-watch.c
This changes the API, but adds backwards compatibility macros. |
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> |
48d8312488089dc1a8360991f0881d91095c21ea |
|
07-May-2014 |
Timo Sirainen <tss@iki.fi> |
mdbox: Fixed race condition when creating a new mailbox and another process getting its GUID. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
9393445a6dabd17ce62ebfc12fd73545b0065824 |
|
06-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_init_fs() to easily initialize fs.
Use it for dbox's attachment_fs. |
9865d9e7c5713e41db939222ed9c0225a11fb99e |
|
27-May-2013 |
Timo Sirainen <tss@iki.fi> |
dbox: Don't cache pop3.uidl|order unless index header indicates there are those.
They exist only when doing a migration, so it's pretty wasteful storing
"doesn't exist" for all other installations. |
bdb026e2dc8a7c77585ed5ba489f0056df8074d4 |
|
23-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
"Mailbox doesn't exist" error mixed up using storage and virtual mailbox names.
This could have allowed a user to figure out existence of a mailbox without
having lookup ACL. |
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. |
f3ef965d5c79680b63ceb172af60a82013c9a8d6 |
|
01-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
dbox: Fail if trying to create a mailbox that already exists. |
9345a14605e87c749048d37965d5c92caaab2ee9 |
|
12-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
dbox: dbox-alt-root symlink now points to the alt root directory, not to mailboxes dir.
Existing mailboxes/ symlinks are silently changed to new ones. This also
means that accessing the dbox with an older version will log a warning about
the change. |
1f1ee8db68d9ae1604350801cd8dc33ebe29fe8a |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed mail_storage_set_index_error() to mailbox_set_index_error() |
8c909e451d14075c05d90382cf8eebc4e354f569 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced *_INDEX_PREFIX macros with a common MAIL_INDEX_PREFIX. |
c6afd726060aae56b6622c6c52aec10231c4bf1c |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mail attribute dict to struct mail_storage.
This also means that index_storage_destroy() must always be called, so
removed now unnecessary mail_storage.destroy=NULL checks. |
abceedfdab26c07b48b7156298187a204e24fafa |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Make sure mail_attachment_fs=sis-queue isn't attempted to be used.
It could be fixed, but nobody seems to have used it so far.. |
c59b9c273b41f7bcf51f6803110b67813879ff05 |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-fs API cleanups and improvements |
cf9abf15ed4e1f14e3e8b95b284b3acc35b46d20 |
|
28-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using PATH_MAX. |
63998e49b163c99c483cd7d1a699610d97f00133 |
|
28-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using PATH_MAX. |
360123b1b41b7aa8af6c4a91c39046be646cd349 |
|
24-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added ALTNOCHECK option to mail_location.
By default Dovecot verifies that $rootdir/dbox-alt-root symlink matches the
ALT directory location, and logs an error if not. This is mainly to avoid
accidents during initial configuration when for example alt dir was set in
global mail_location but was forgotten to be set in userdb reply's
mail_location. The ALTNOCHECK setting simply doesn't check or create this
symlink, giving a (very) small performance improvement. |
cf637d2adc34054fb2ce9c53f74cdf3fb40762fc |
|
28-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix for previous change |
afc8d11e88b1e5f4b6833fabaf8e4259e8297314 |
|
28-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using PATH_MAX. |
9fc97c8aa8190df87624d214bcc5d0b5362bec93 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_path() and friends can now return an error.
An upcoming "index" mailbox_list backend uses mailbox GUIDs as the directory
names. Doing a name => GUID lookup may fail, so the path lookup may fail.
This is a somewhat annoying change and perhaps it can be removed in future,
but for now it looks like it can't be avoided. |
94f84d1c3f786d1b92dd2a1507f83a2dad887c56 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Cleanups to mailbox mkdir() related functions. |
3d6fdafca17c073606b63745ca8638e035e871f4 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list.create_mailbox_dir() virtual function.
It really didn't need to be virtual. Some storages didn't care about it,
others wanted it to work basically the same. |
feaa6a3d82ea61496ced1f83a726ff33047c7da2 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_path_to() wrapper for mailbox_list_get_path().
Changed the code to use as much of mailbox_get_path_to() and
mailbox_get_path() as possible. |
755abfa2bc6c5f072519b545faa1487357046b27 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
dbox: Renamed dbox_sync_rebuild_verify_alt_storage() to dbox_verify_alt_storage() |
d4c3d55021bcbf2b062f4782b1cde9115d35aefc |
|
17-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-fs: fs_init() API changed to allow returning an error. |
f561fba30221abcc40288cace406289a8e44da89 |
|
16-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes for 32bit systems. |
724b7fcf28c2547eb9c837d0e99241c0501dccf3 |
|
15-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Changed mail_index_set_fsync_mode() to use a separate enum for the mask. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
68b5e132f1f8bb2528482310daffcc06c2f019d3 |
|
23-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Added mail_temp_scan_interval setting and changed its default from 8h -> 1w. |
bf5f442cdac24f666e0b4f959f3c13c27c7b1e9e |
|
13-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't log errors if trying to open a mailbox with too long name.
Handle ENAMETOOLONG errors the same as ENOENT. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
63e207529879438e9f4412d97cdc34bdc82a3702 |
|
01-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: And another fix to previous maildir_name/mailbox_dir_name changes. |
9e17ea6a30bc64ba2fd4417a765d02be529630f1 |
|
08-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor error handling cleanups. |
a290ae22e1dda492364303ad6af18c3b85fb8441 |
|
08-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Minor error handling cleanups. |
1fb81cb0b622cef1690c96bcc6a3e183e0b1e6ff |
|
16-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
dbox: Create symlink to alt root dir, and warn whenever it changes. |
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. |
5e042146db1be673352b63c9513d5ff1e968b388 |
|
23-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
dbox: mailbox_create/update() might not have updated index header correctly. |
84e49ad7d7a840d600a961daeca60802e3d69cd0 |
|
23-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
dbox: mailbox_create/update() might not have updated index header correctly. |
df00412606a00714a6e85383fa87fbdc7cc1fb5b |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't allocate index until mailbox_open() |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
7bb3cf9215277fb997cbdce9e39056a4ac2b9536 |
|
04-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Minor optimization when creating a mailbox when its alt dir already existed.
Patch by DINH Viêt Hoà |
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. |
57bf90f66f393c2807b2fc543655013f61d1d9e4 |
|
28-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
[m]dbox: If alt-dir exists for a mailbox while trying to create it, rebuild mailbox indexes.
This makes sure that if there are any mails in the alt-dir, they become
visible rather than be overwritten.
--HG--
branch : HEAD |
dd4f30895ebbddd77e000472fbadcb3128ae2883 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
dbox, mdbox: Fixed race conditions when creating mailboxes.
--HG--
branch : HEAD |
029c8542982001bf1386aee0ea9cb9843e5ab62d |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed INBOX auto-creating from backend code. Added bool box->inbox.
--HG--
branch : HEAD |
dca6d617a23e3f93af3b8df59acb46478179fe55 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_list.iter_is_mailbox() API.
--HG--
branch : HEAD |
2649b237dd4690575e75a30b2bf3b39ebd37b835 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox renaming API changed.
--HG--
branch : HEAD |
e5fd6dfd0a492e4708d4dbb7971d7fc5d7b8fd85 |
|
12-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed input parameter from mailbox_alloc(), added mailbox_open_stream()
--HG--
branch : HEAD |
61b0637759146621cbb7edcbd0b03a71cfd66dfe |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox deletion API changed.
Mailbox deletion should now be free of race conditions. The actual file
deletion code is now responsibility of mailbox_list backend.
--HG--
branch : HEAD |
d22301419109ed4a38351715e6760011421dadec |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: *_mailboxes don't descend from index_mailbox anymore, it's now a context.
--HG--
branch : HEAD |
3c493c276f599d9b9cd10764876d648003046954 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mailbox directory creation code to mailbox_list backend.
--HG--
branch : HEAD |
888ab4e17f7441b4dcca4a01886d055b57f4586d |
|
06-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Moved more mailbox creation code to dbox-common.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
9c66dd5c3e2ba484a5c7cdb98a139bda31fdfaa4 |
|
31-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list_get_guid().
Directory GUIDs are pretty pointless.
--HG--
branch : HEAD |
a920bbb8580be2446af28a77dac9ecf548f3c6f4 |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
dovecot-uidvalidity*: Create files with correct permission.
--HG--
branch : HEAD |
f35e836d33ee83899caded9dffb9c68bfed9c843 |
|
05-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
dbox notify: Look for dbox index files from index dir, not mail root dir.
--HG--
branch : HEAD |
1ac7c8e9040e0d0b7e9f849e45b94bfe919595a9 |
|
07-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Split dbox (single-dbox) and mdbox (multi-dbox) into separate storage backends.
This cleans up the code, makes it faster and also fixes some bugs.
Super-fast maildir migration code was also dropped, at least for now.
--HG--
branch : HEAD |