bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
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. |
df3963075d67f76ade66b6a74764f4eae31d9c87 |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert dbox-single to use container_of |
f368169caf5cf14c74e6a4cdd3ee0364659b8ecc |
|
12-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Create missing mail directory on resync if index directory exists
This problem should be visible only with ITERINDEX enabled. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
efe78d3ba24fc866af1c79b9223dc0809ba26cad |
|
24-Dec-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro.
Used the following script:
C_FILES=`git ls-files *.c`
H_FILES=`git ls-files *.h`
for F in "$C_FILES $H_FILES"; do
echo "$F"
perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F
perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F
perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F
perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F
done |
3d758b4fad11dd138b88735dc237f1c6d800a95b |
|
25-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
sdbox: Rebuild index after it's been fsck'd |
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/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
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> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
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. |
2f705f3d22a6251791c2bc4e5bd72e76f6c336be |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
mdbox: If m.X file has no mails, don't try to fix it infinitely in storage rebuild. |
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. |
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. |
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. |
27635b9f23752d67a965a266b3de53637a79457e |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved dbox-sync-rebuild API to more generic index-rebuild. |
755abfa2bc6c5f072519b545faa1487357046b27 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
dbox: Renamed dbox_sync_rebuild_verify_alt_storage() to dbox_verify_alt_storage() |
9f34f81b03a450f3508cf4107b912729dba33fff |
|
22-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Don't log "Rebuilding index" when another process already did it and we cancel it. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
d6a026dcf1dfea0ac68c3764b22042fd060a6d6e |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Don't assert-crash on index rebuild if u.X file exists in both primary and alt storage. |
79be01e19b2f8a18c90b16689cf68571c7dc5dc8 |
|
09-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
dbox: Index rebuild now preserves caching decisions. |
607a8bc27298b711270381364f2a9a999a810a87 |
|
08-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
sdbox: Use mail_index_set_ext_init_data() to simplify opening mailboxes.
Now the initial mailbox index can be created with the necessary sdbox
header. If the header doesn't exist when opening a mailbox, it's guaranteed
to be corrupted. |
de62ce819d59a529530da4b57be1b8d6dad13d6b |
|
25-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Moved GUID code to liblib. Use guid_128_t type consistently everywhere. |
ea0ab5d5edcd1d0a85f8b177a021b51fefca0047 |
|
12-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: When rebuilding index, don't unnecessarily change mailbox's GUID. |
513c37060144cacc3d7ff3080412f573894c376f |
|
05-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
sdbox: Added more error message logging. |
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. |
647a0117685f8468ad1e190f726cd1ae3d876e31 |
|
17-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
dbox index rebuild: If alt dir isn't mounted (can't be mkdir()ed), abort rebuild. |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
4ca83616715c3bd417e34ced2c1d61852513e427 |
|
21-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Reverted the "check if altpath is mounted" change for now.
If alt path didn't yet exist, it reported bogus errors. It should somehow
check if there is anything under the alt root dir. |
763155262f295ab5e6c68244fd047d9b3edb0626 |
|
21-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: If alt path is lost, fail with an error rather than rebuilding indexes.
This could be simply because alt storage is unmounted at the time and
rebuilding would just lose messages. If this error happens unintentionally,
it's still possible to fix it with "doveadm force-resync". |
24f6dbbcaf6f58104b93007a7c8768caf1d6686b |
|
12-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Reset cache files when rebuilding indexes.
This is especially important if there are broken cached GUIDs for messages,
which will cause GUID mismatches when trying to expunge messages. |
a81b240cfe84231eac64084efd5b0e1e91a9e817 |
|
15-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
dbox: Split dbox_file_seek() from dbox_file_get_mail_stream() |
2b9e49e4e65e3e2dca38f56971029a3051ccdb99 |
|
14-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Renamed "dbox" to "sdbox". Keep also dbox as an alias for it. |
e5fb952c6d49d3b6bff1746551566202e92947da |
|
29-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
single-dbox: Fixed broken mailbox handling.
--HG--
branch : HEAD |
9261dbf0675204898c6557591c7aa376e23a52b2 |
|
07-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Started using str_to_*() functions instead of libc's ones.
--HG--
branch : HEAD |
8b7f41ed4e3091d9a53c1db1d0b202cf332c4c15 |
|
04-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Removed unused code.
--HG--
branch : HEAD |
4b2a4c8c762e3eaddf7fd2abfe7d4cca6e5e3fd8 |
|
04-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Avoid logging multiple adjacent "Invalid dbox header size" errors.
--HG--
branch : HEAD |
b58aafbd21b365117538f73f306d22f75acd91f1 |
|
19-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
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 |
90db1ecf779aafabd0894e27bcecea93e7674f32 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fix.
--HG--
branch : HEAD |
686bc4ea97a86333316182865be3fcfe465a5827 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
sdbox: Fixed accessing alt directories.
--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 |
ca98d6a1bbe73499da758a36bfab2963375c8d06 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved struct mail_index_* from index_mailbox to mailbox.
We're relying more and more of all mailboxes being used via lib-index, and
this change makes accessing the indexes easier.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--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 |