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. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
436adac819e7cbeef04af08dcc6a4f3ecd4a1d9e |
|
13-Aug-2016 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: remove mailbox-recent-flags.h from index-storage.h |
b0ab23e6fd425bf864cdc9fdab0631573d4d1b5f |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
maildir: Improved "Filename keeps changing" error handling/logging |
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/' |
817d027593510c3ba70ad542ce0011f5f6916d1e |
|
18-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved most of the \Recent flag handling code to mailbox-recent-flags.c
There are also some API changes, because functions were renamed and the
recent_* fields were moved to struct mailbox. I'm not aware of any plugins
using these though, except for index_mailbox_set_recent_seq() which for now
is kept as a backwards compatibility macro.
No changes were made to the actual code logic. |
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. |
1235bbd139a1ff97f641fa0e77205eb9adbb0400 |
|
16-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed crash in some rare situations. |
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. |
ce8244c05b9f89d7729a5abe6f4838c1dce46c64 |
|
29-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed potential crash when maildir suddenly loses some directories. |
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. |
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. |
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 |
a8c1d873ebe624cf65893d79e1a509203116cb9a |
|
19-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
maildir_very_dirty_syncs=yes: Try harder to avoid readdir()ing. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
4b8a6aec5fe2daa564799867f31e39e7ea46b9c3 |
|
01-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_mkdir_root() API changed. Use it now for creating mail root dir.
It was supposed to be used for it previously, but wasn't.. |
2bde8972f2dcec46d96543407cc5b56954054359 |
|
09-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: Whenever we're guessing a filename correctly, remember it in uidlist. |
e0cc94d52184944c5da76b509da184e8449b3a5c |
|
23-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: Improved guessing filename when it's still in new/ dir. |
be110f0a3888a24282f06820ec0b5068d2b8f906 |
|
02-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mkdir APIs changed. |
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. |
ca98892a6b8a30ffc1fe26fcf02c7d59e3204e7e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Lazily look up mailbox path and permissions. Added functions to get them. |
42eaa08044fbb134cdc7b342355d8f6772f647fb |
|
14-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Check correctly if file is a symlink.
Patch by Mike Abbott / Apple. |
f6f021c133f680cf3d559187524fd9abcbaae9b9 |
|
28-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: If we see unwanted non-empty directories in new/ or cur/, move them to ../extra-* |
6fe91298731abf0b70dfd796ecc30d3be81fa5d1 |
|
06-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Moved maildir_filename_flags_*() to a separate file. |
6013fbad6638795a00e6c2a2dd2cdbee19612494 |
|
05-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: maildir_uidlist_lookup() -> maildir_sync_lookup() refactoring. |
7fc0f80480063a9d4cb9e8c07b50db2a5627799e |
|
22-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Fixing my english: s/non-?existing/nonexistent/ |
0b4e1043e596bfb36d999dacbf1d4d63ee96d75f |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
When creating shared directories, preserve parent dir's permissions if it has setgid bit enabled.
This works only if location path uses %variables. The directories up to
last variable are created by preserving parent directory's modes, while
the rest of the directories are created with 0700. For example
with "/var/mail/%d/%2n/%n/Maildir", "/var/mail/domain/nn" preserves /var/mail's
permissions, while the "username/Maildir" directories have 0700 mode.
--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 |
e156adefc1260d31a145df2f5e9b3c82050d4163 |
|
28-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Whenever file's group changing fails, show the group origin in the error message.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--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 |
490f66d6476d51cc02333d6eb398a5cd94b67f48 |
|
01-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
storage: Create index/control root directories using same permissions as mail root.
--HG--
branch : HEAD |
7ede6554e451ec039a67beec7d6ee4aff61d386e |
|
04-May-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir: Handle uidlist errors better.
--HG--
branch : HEAD |
785d9cca224d33ca3938e9166784f6483e8a27d7 |
|
31-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added maildir_very_dirty_syncs setting.
--HG--
branch : HEAD |
6cfb1377b2c034cfc4bd37361cc1520f2d8acd6d |
|
12-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
maildir_set_deleted() return value was handled wrong everywhere.
Changed it to work as it was used, since it seems to be clearer that way.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
fea7b8b3fc182e415b1875d79587c0aa1adb09d7 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Use permissions based on mail root directory when creating new files/dirs under it.
--HG--
branch : HEAD |
19e8adccba16ff419f5675b1575358c2956dce83 |
|
11-Feb-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and
replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug
code with gdb.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
ce742bbf646d5cc46c6aff6d8da7786c13203f47 |
|
08-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Removed maildir_tmp_cleanup(). Use unlink_old_files() instead.
--HG--
branch : HEAD |
eddd9bf1a1369aea4a2715f6be1137da6d17d293 |
|
05-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced t_push/t_pop calls with T_FRAME*() macros.
--HG--
branch : HEAD |
f7ad1162969feff6b08f0e640a928db1783daae9 |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
If doing a lockless forced sync, track the UID we're trying to find. If we
didn't find it, do a locked sync to find out if it's expunged.
--HG--
branch : HEAD |
7ccdf78cd45aea9d14e048a5b9f077515c71978f |
|
01-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Code cleanup
--HG--
branch : HEAD |
32ee977e189266744ef69ac4e832fd3111d6f949 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Delay creating directories until we really need them.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
43d32cbe60fdaef2699d99f1ca259053e9350411 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed __attr_*__ to ATTR_*. Renamed __attrs_used__ to ATTRS_DEFINED.
--HG--
branch : HEAD |
a7f83bf37bc4a6f39fd22b09489efb081895ab44 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Removed unneeded includes
--HG--
branch : HEAD |
6746e4ce2138872b2a1e05dbfab57a722e9d70b8 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved maildir_create_tmp() to maildir-save. It's the only place where it's
used.
--HG--
branch : HEAD |
538303a216166f3526c0ae9658c9978275cfa100 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed maildir_generate_tmp_filename() to maildir_filename_generate(). Also
changed it to create the unique filename with time+usecs+pid, increasing
usecs as needed. So there's no longer a process delivery counter.
--HG--
branch : HEAD |
e8bdf1be00aec45d0c6dd72ad9c8be02a3dfc778 |
|
08-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved maildir filename related functions to maildir-filename.c
--HG--
branch : HEAD |
1ec927ba3bb5a904754219c2dd5e2514ea77a6f8 |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Update tmp/ directory's atime+mtime with utime(NULL) so it works even if
we're not the directory owner.
--HG--
branch : HEAD |
825f6569a5276488133796c2f529c65128a09ba0 |
|
15-May-2007 |
Timo Sirainen <tss@iki.fi> |
Handle symlinks pointing to nonexisting files better.
--HG--
branch : HEAD |
ff7056842f14fd3b30a2d327dfab165b9d15dd30 |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling rewrite.
--HG--
branch : HEAD |
c44e6b4d3522b6accba426e1e3f64c2e2d860d92 |
|
02-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Cleaned up maildir_create_tmp() a bit. It now also returns the filename
instead of the whole path, as was originally intended.
--HG--
branch : HEAD |
ccc895c0358108d2304239063e940b7d75f364ab |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed struct index_storage abstraction. It's pointless.
--HG--
branch : HEAD |
b17f1f82de846c6f0ba40a86659c3e64d4c1b1f6 |
|
25-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
File's group could have been wrong with shared mailboxes
--HG--
branch : HEAD |
8a6fc472a12c5ec09e2bd19f1b3acd553d75ff91 |
|
18-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Saved mails and dovecot-keywords file didn't set the group from
dovecot-shared file.
--HG--
branch : HEAD |
73a552a9ed06cd6017ad4ee4b252a8b38c8ac42d |
|
16-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
When opening maildir, check if tmp/'s atime is over 8h old. If it is, delete
old files in it. However if atime - ctime > 36h, it means there's nothing to
be deleted so the scanning isn't done then. We update atime if filesystem is
mounted with noatime.
--HG--
branch : HEAD |
00efa7d99981e18e286c02b18c1163dde18ee521 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Type safe callbacks weren't as easy as I thought. Only callback(void
*context) can be handled generically. Others can be handled specially, but
only if all the parameters are pointers, otherwise eg. int parameter can be
replaced with long without compiler giving any warnings.
--HG--
branch : HEAD |
59151b71059df1190acd75d8717ed04a7920c862 |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added context parameter type safety checks for most callback APIs.
--HG--
branch : HEAD |
5fb3bff645380804c9db2510940c41db6b8fdb01 |
|
25-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Mailbox list indexing and related changes. Currently works only with
maildir and mmap_disable=no. This allows doing STATUS to synced mailboxes
without opening their index files at all.
--HG--
branch : HEAD |
b142deb9a831c89b1bb9129ada655f3e56b9d4cc |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Don't break if mailbox path contains ':' characters.
--HG--
branch : HEAD |
677e22747b82bf15b339e31d1d0106d62bf806da |
|
15-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Add ",S=size" to maildir filenames when quota plugin is loaded with
Maildir++ backend.
--HG--
branch : HEAD |
a2b9afa4bf16d50bb1e1394d874bf212f4baa826 |
|
06-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
If maildir_do() failed with "racing" error, return -1.
--HG--
branch : HEAD |
cce169a321c9c629e4f2db1a69dae3b75bbcb27a |
|
30-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Keywords are stored in maildir filename and maildir-keywords file
(backwards compatible with 0.99.x's .customflags file)
--HG--
branch : HEAD |
8754bb7a1f24705ffa5434f9e10d57e0b3b88d6e |
|
09-Jun-2005 |
Timo Sirainen <tss@iki.fi> |
Replaced ':' and ',' character usages with #defines, so they can be changed
easily if needed.
--HG--
branch : HEAD |
8153fdec343e40e2a78f5c12353e89b994b28f74 |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Created mbox_storage and maildir_storage.
--HG--
branch : HEAD |
b5e6f6f27c1461f0f9f202615eeb738a645188c3 |
|
08-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Moved mbox/maildir-specific variables from struct index_mailbox to
mbox_mailbox and maildir_mailbox.
--HG--
branch : HEAD |
16c89b1260c9d07c01c83a9219424d3727069b2e |
|
26-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Initial support for keywords. Syncing to mbox/maildir doesn't work yet.
--HG--
branch : HEAD |
4c176a543191e4572910401c218a63306ed68784 |
|
05-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
comment fix
--HG--
branch : HEAD |
102c6b4e47a0d17699004e48740f651153fb8b76 |
|
22-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
If we can't create maildir temp file because we're out of quota, give user
readable error message.
--HG--
branch : HEAD |
a38ef15060e45e5060bb24c403a580b9a57a818c |
|
16-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
"readonly sync" -> "forced sync"
--HG--
branch : HEAD |
039e42997fe5e0d1c5ad9306dc0ae69bf0e1ca10 |
|
15-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
warning
--HG--
branch : HEAD |
2f2823ad8928654ed405467c6c1f4fd4c6f5cf7c |
|
11-May-2004 |
Timo Sirainen <tss@iki.fi> |
t_push/t_pop
--HG--
branch : HEAD |
d8b77aef97e89f1ccc5cbdaef77be9052279e35f |
|
02-May-2004 |
Timo Sirainen <tss@iki.fi> |
s/custom flags/keywords/
--HG--
branch : HEAD |
641f0c0900ee6e7cf9667f4b40ed95cec7d0cdca |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
Recent-flag should work now
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |