2a86a88fb41f4777a937dec3b2d54dedd47ed6cc |
|
01-Mar-2018 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add and use MAILBOX_LIST_PROP_NO_INTERNAL_NAMES
Use it to replace Maildir++ check to see if mailbox_list.is_internal_name()
is wanted to be used. |
655fc45da67a4cfa63d9d12cf106961a1afc12b9 |
|
24-Feb-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Add NO-FS-VALIDATION flag |
638600575ee95f2513c683ef09cb188f76eacd22 |
|
20-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add INDEXCACHE=<path> to mail_location
This allows configuring a different directory for dovecot.index.cache files
than the rest of the index files. |
ba0b86cc4d1717ea168c643ee5d05e25464d3ad4 |
|
15-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-storage: Add MAILBOX_LIST_PROP_NO_LIST_INDEX
If set, disables mailbox list index for the given list. |
eaa2d473ed2ecdb9856cd98a33f4d3063cfaf2a1 |
|
25-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add setting to disable \NoSelect mailboxes
Enabled using mail_location = ...:NO-NOSELECT
Trying to create \NoSelect "dir/" will result just creating "dir", similar
to how Maildir++ layout already did it.
Deleting a mailbox will delete all of its \NoSelect parents. |
49c48631cfd07017d5f93d83713fffe4f13730c4 |
|
24-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Allow LISTINDEX to point to a different directory
Most importantly because the mailbox list index is only a cache, it could be
safely pointed to e.g. tmpfs to save disk I/O. |
17a951e7679ee11a926a030e359d70e7130f479d |
|
12-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Improve MAILBOX_LIST_PROP_AUTOCREATE_DIRS related comments |
4654cf737f538f5de032b8c9908913f121917366 |
|
10-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mailbox_list_last_error_push/pop()
These are similar to mail_storage_last_error_push/pop() |
1728ff34ee03de825ad3aeed67d19f8ae140ee2e |
|
03-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_location=..:ITERINDEX
This changes mailbox list iteration to work using INDEX directory instead of
the normal mail directory. This can be helpful when the indexes are stored
on a faster storage. |
3e0b3ae576483a96b88802b27e93f3caeba09ddc |
|
29-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mailbox_list_get_last_mail_error() |
fd8b93ca5cbeba64fe6fa5dc98a3e580fb046791 |
|
28-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add VOLATILEDIR setting to mail_location
This is useful for creating temporary locks that could exist in tmpfs.
Currently this is used for .vsize.lock and dovecot.autoexpunge.lock. |
8ca217bf3aa23c7922d0d4aa44fcd2320416d61c |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add mailbox_list_get_last_internal_error()
This returns the error given to mailbox_list_set_critical(). |
fa780a18c41881036af582f7a3473d6399e9d34d |
|
16-Dec-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Make dovecot.list.index's filename configurable.
This is useful when there are multiple namespaces pointing to the same mail
root directory. For example mdbox with lazy-expunge:
namespace {
prefix = Expunged/
location = mdbox:~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index
..
} |
291ce16fffca75e8598a8c9dceb08613413dcb07 |
|
19-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Added MAIL_STORAGE_CLASS_FLAG_NO_LIST_DELETES and MAILBOX_LIST_FLAG_NO_DELETES |
be3b9374c9cd7f5fbe1e9f9280ed483286dcc04b |
|
14-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imapc: Don't duplicate standard mailbox flags in LIST replies.
We added the standard \NoSelect, \NonExistent, \NoInferiors and \Subscribed
to special_use string, which caused them to be sent duplicated. |
697ff56bf3cdc9e7989ea2a70accf866b14b64d1 |
|
22-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_fs_get_list()
Using mailbox_list_init_fs() now sets the mailbox_list pointer to root fs,
which allows the fs backends to lookup the list. Although this can't be done
in the init() function since the list is set only afterwards. |
12b4dbf933ee54f7b96968ba150095baa985fdaf |
|
05-Nov-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added FULLDIRNAME=name to mail_location.
The difference to DIRNAME is that the name is used also for index and
control directories. |
8709b2fe6ec2b5ca1d90a63490f8371472062efd |
|
06-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed mailbox_list_get_closest_storage() to ..._get_default_storage()
This function wasn't previously used by anyone. |
2b0fe8606fc0d980b63d9150a8f1cadebe0cc6d6 |
|
26-May-2013 |
Timo Sirainen <tss@iki.fi> |
imapc: Pass through SPECIAL-USE LIST flags if imapc is in INBOX namespace. |
43487bb7de9e907ad61e186714956a83f5be4a15 |
|
10-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Make sure index root dir is created when mailbox list index is created. |
ae2b61a8c6318e56dabd44de17e227c95985aeda |
|
22-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_get_settings() |
bba5900b66f2413676981ff3c92919e35115079e |
|
08-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Copy MAIL_STORAGE_CLASS_FLAG_NO_ROOT to MAILBOX_LIST_FLAG_NO_MAIL_FILES |
69af83d4e6c2c5c825a17edd7a41a4fb014caa8f |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added support for "broken_char" setting for escaping invalid mailbox names.
This is currently enabled only for imapc backend, where '~' character is
used for it.
Most importantly this allows migrating mailboxes from other IMAP servers
that contain mailbox names that Dovecot's imapc backend couldn't otherwise
access. |
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. |
77b5fd56e5a06d624f3ab92198272287333114f4 |
|
18-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: MAILBOX_LIST_ITER_SKIP_ALIASES now skips also "alias symlinks"
An "alias symlink" is a symlink that points to the same directory. These can
safely be skipped when iterating through all mails in all mailboxes (unlike
other symlinks that may point to external storages). |
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. |
76b91bac787101e6b0075122ab6478dd98c8a884 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_get_root_permissions() now returns struct mailbox_permissions. |
48ce03445eaea184426156440116ca1da978bb54 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Improved mailbox_list_mkdir() error handling. |
e9df0f285429d2b896ecdb4cd873d25e5e895620 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Various cleanups to checking if mailbox name is valid. |
1f149331f29809def8f1874312b969408ea60985 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed unused mailbox_list_create_dir() |
a8fe899601735459641edae975c0fa08be8482e2 |
|
16-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Removed all the "enum foo;" declarations.
They didn't seem to be very standard. Old gcc versions warn about them and
C++ code doesn't like them. |
abed24374d7e1a57bec8d8a108acfcaffd52d4f9 |
|
04-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
imap: Fixed LIST (SPECIAL-USE RECURSIVEMATCH) to actually return CHILDINFOs. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
7174e94025e4d156aea9a27c7eb674a7068cb3a0 |
|
30-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Moved most of the IMAP LIST code to lib-storage.
Also removed MAILBOX_LIST_ITER_SHOW_EXISTING_PARENT flag, since there wasn't
any clearly good way to handle it. Some clients got confused when they saw
that foo/ mailbox was returned with \Noselect flag. Either they thought that
the mailbox was named foo/ or that foo was \Noselect. Pretty much the only
sane way to handle this would be to not make return \Noselect and to treat
foo and foo/ as equivalent in all commands, but that might cause trouble
with ACLs and similar checks.. |
402e999a878e0cc41a0afb830fea0a93afc75f0d |
|
11-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed struct mailbox_info.name to vname. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
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 |
5da1aa5197a43d83f0fb3eeb83125c7cd73d1b62 |
|
11-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
shared mailboxes: Per-user flags can now be stored in private index files.
This can be enabled by adding e.g.:
mail_location = mdbox:/var/shared/mdbox:INDEXPVT=~/mdbox/shared |
458752f9e9012482843b92379bcfebecfe26f360 |
|
09-May-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_get_storage_name/_get_vname() are now public. |
2d8319a947d7f3d8c48adb67c30199f0c9ffcd49 |
|
04-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed MAILBOX_LIST_ITER_LIST_PREFIXES flag.
It was already accidentally enabled by default, and there's really no good
reason why it shouldn't always be enabled. |
4a365e606e6d3068f7252836f9b92d17727e2424 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added MAILBOX_LIST_ITER_LIST_PREFIXES flag. |
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.. |
e3a4539a3dde8e38ac1f6a08f13f5e377256f0f2 |
|
04-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_LIST_ITER_SELECT_SPECIALUSE option and enable it for IMAP.
RECURSIVEMATCH option doesn't currently work properly with it. |
ed354926406e28254b581f821bb052f38d9c14e8 |
|
02-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
Implemented IMAP SPECIAL-USE extension. |
7cf1c7dd3dfd989cba1ed32a8e17c1b031c4629b |
|
04-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
imapc: Don't use separate indexes/ directory anymore. Fixes/cleanups to make it possible. |
fd057522c580091ec9803c0dceb4747d8bcaece5 |
|
04-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added MAILBOX_LIST_FLAG_OPTIONAL_BOXES flag. |
1c1cecd3dfaf71b0c9499b044023e631841e88aa |
|
21-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Added new mail_location setting "UTF8" to use UTF-8 instead of mUTF-7 in storage names.
This basically changes mailbox names to be UTF-8 everywhere where they are
mUTF-7 currently (filesystem, subscriptions, etc.) |
de62ce819d59a529530da4b57be1b8d6dad13d6b |
|
25-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Moved GUID code to liblib. Use guid_128_t type consistently everywhere. |
47d5cc09738defd0020c797866e2a25a344aa65a |
|
15-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_get_permissions() now returns struct mailbox_permissions.
Also added new file_uid and file_gid fields to the mailbox_permissions. |
89a2b8909d952d8382e6ffbbd30ab0fd799ae754 |
|
02-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Made mailbox_list_mkdir_root() public |
be110f0a3888a24282f06820ec0b5068d2b8f906 |
|
02-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mkdir APIs changed. |
0b25846ba794ce19536a24d4065beaf2a0bd9464 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_delete() for a symlink now removes the symlink instead of expunging mails. |
b3126bef7460052415eea07b300d02c8eb07c1d7 |
|
23-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Renamed MAILBOX_LIST_ITER_NO_AUTO_INBOX to _NO_AUTO_BOXES. |
db8b0a3f74a20528d66a3c4be7df920e5c4554c2 |
|
10-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Allow creating a secondary mailbox_list for a namespace. |
dc5606fb66d30a659459446b6ca1a8b4f1146052 |
|
10-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Moved most of listescape plugin functionality directly to lib-storage.
This fixes actually opening escaped mailboxes. The plugin may eventually be
removed and replaced with a setting. |
9b2bbd89073e5b78f3f39a19f3f8d7c6d03bbd4c |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: When listing subscriptions, make sure children flags are returned if requested. |
e5aa8d4c9bdda79c2db03391ec45b37bf774df14 |
|
01-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Merged returning dir mode into mailbox_list_get_[root_]permissions(). |
c0a87e5f3316a57e6f915882fa1951d0fbb74a61 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_alloc() now takes a virtual mailbox name and other related API changes.
All storage_name <-> vname conversions now go through the same two
mailbox_list methods. This has many benefits, such as:
* listescape plugin is now much simpler and bugfree
* allows changing lib-storage API to use UTF-8 mailbox names in future
* allows creation of "mailbox aliases" plugin |
306cfd77100131c08b243de10f6d40500f4c27c6 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists(). |
17cf149e5f47183bfcc1503649dfb92a14f9dcd9 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_get_root_[dir_]permissions()
They should be used instead of mailbox_list_get_[dir_]permissions() with
name=NULL parameter. |
43a4450c3b9d995a68f1f0dac129c5a63ae2a8ae |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed unused mailbox_list_get_mailbox_name_status() status codes. |
a91bd6256b33729531c33ff8bc66ee1ae95840f9 |
|
14-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_create_dir() |
3f3260616dd0132974d18edf3fdbbb4abc45b1c3 |
|
05-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox_list_get_hierarchy_sep(). Its usage wasn't correct.
Especially with listescape plugin loaded the function was returning the
wrong separator. list->ns->real_sep should be used instead. |
9e3c348e665b90f1d5faa208f5b061436eaa5ff4 |
|
12-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Show "foo/" style replies only for IMAP LIST command.
Internally those replies just mess up things. |
c07e35cfc9587fc7589cbc1db0daeeb828456b2b |
|
11-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed code related to listing mailboxes with non-virtual names.
The non-virtual listing code would have already crashed with assert. |
de4d9f77d6378a416c9963963eac5ac18b75ec0b |
|
28-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_list_iter_init_namespaces() has more filtering capabilities now.
- namespace types
- MAILBOX_LIST_ITER_STAR_WITHIN_NS flag so that "*" doesn't escape beyond
the namespace it started in.
--HG--
branch : HEAD |
a24519c36d5f8fa22f58b2c693ba547e8d175a54 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added "none" mailbox list driver.
Fixed the most obvious crashes when using the driver.
--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 |
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 |
a574952c01611899b8ecf81434dbbb3345f27518 |
|
08-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
mailbox_list_get_mailbox_name_status() now separates between existing mailbox and dir.
--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 |
2f30b72d49fbff0c4096125c139e4bdfef45669c |
|
31-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_list_delete_dir() to (try to) delete a \noselect mailbox.
--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 |
3fe67ec75ccae1230bb9eb9f16affc48377f6441 |
|
21-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
dsync: Write mailbox changelog records using original timestamps.
--HG--
branch : HEAD |
48ca4c43ebca6fa3eee217bd4439cba5b5376dd4 |
|
16-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Avoid using PATH_MAX.
--HG--
branch : HEAD |
5a0b68eeaf48cd1655057f36f19357146bf08e1d |
|
20-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_set_changelog_writable().
--HG--
branch : HEAD |
37847ec8eaec9ad55c9df10ae109efe7b37ac573 |
|
06-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Fill mailbox log with mailbox delete/rename/(un)subscribes.
--HG--
branch : HEAD |
6bc5fed79741503437c6d46d9f282b66bd029c6b |
|
06-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_get_guid() to get/create directory GUID.
Directory GUIDs are mainly useful for dsync to identify \Noselect mailboxes.
--HG--
branch : HEAD |
1c885b304f060e3ac4fe04195a2f53457d0ac99e |
|
03-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
Allow namespace prefix to be opened as mailbox, if it already exists.
--HG--
branch : HEAD |
2d9b086a0a55f8afa558183cc86f56d45c3f56c7 |
|
28-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_LIST_ITER_NO_AUTO_INBOX for listing INBOX only when it already exists.
--HG--
branch : HEAD |
472369cba85d9f7c995dda60e7cd01d78b4a960a |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_create_parent_dir() and used it when creating subscriptions file.
--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 |
547847191d4a95cd267fc846a1ca3c2111214719 |
|
23-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox list iteration: Added MAILBOX_LIST_ITER_SKIP_ALIASES flag.
--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 |
91b203fd2132510a47a4b34252c0ae0efd688a19 |
|
23-May-2009 |
Timo Sirainen <tss@iki.fi> |
Implemented initial support for renaming mailboxes across namespaces.
--HG--
branch : HEAD |
5494a6bc149da8f02fd25c0434a9d612ac33f659 |
|
12-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added :MAILBOXDIR= to mail_location to specify the root dir for mailboxes.
--HG--
branch : HEAD |
a1d8f53f21be1b5755836fe3ff9faa08e3d08843 |
|
12-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added :MAILBOXDIR= to mail_location to specify the root dir for mailboxes.
--HG--
branch : HEAD |
b82d6d7f02734007c129fa25bc876049c8d9bdde |
|
21-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Create all mail/index files'/dirs' permissions based on the mailbox directory.
--HG--
branch : HEAD |
84ec0e59fd2428debf643b9ca222722f58e24bde |
|
13-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed comment for mailbox_list_iter_deinit().
--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 |
bbd0a870f8639767e4e4011d2aedadac08d5c66f |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed dbox to work with Maildir++ layout.
--HG--
branch : HEAD |
de486b59018016977015ef42e6071155b60e82e1 |
|
08-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_iter_init_namespaces() for listing mailboxes from multiple namespaces.
struct mailbox_info now always contains the listed namespace.
--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 |
68a4946b12583b88fa802e52ebee45cd96056772 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added more consts, ATTR_CONSTs and ATTR_PUREs.
--HG--
branch : HEAD |
c040ee67d0ac0fb7375bb543965bf67dcae6affa |
|
08-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_get_global_temp_prefix()
--HG--
branch : HEAD |
d02d34e138e32b4266f5a403d6c51d7803bf322f |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Simplified mailbox_list_get_permissions() a bit. Now it returns only
permissions for the root directory. Also UID isn't returned anymore.
--HG--
branch : HEAD |
ef50336eefcb9ba99f73c6af37420eaf8857a39b |
|
28-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling namespace prefixes and real!=virtual separator. Added a
new MAILBOX_LIST_ITER_VIRTUAL_NAMES which specifies if mailbox listing
should be using virtual or real mailbox names.
--HG--
branch : HEAD |
8da095519878426b012058e6f331a669f327f47f |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
dotlocks: Flush NFS attribute cache only if nfs_flush setting is TRUE.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
1701e3f91107051b1704721bf1dc1e32491faaf9 |
|
09-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Split mailbox_list_init() to _alloc() and _init(). _init() is called only
after storage backend has overridden the wanted functions, so plugins can
override them.
--HG--
branch : HEAD |
263401f148a6e1085078f73d96a30361bacbec4f |
|
09-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_LIST_FLAG_MAILBOX_FILES flag. If it's set and INBOX path is
set, point index and control directories under the root directory instead.
--HG--
branch : HEAD |
d92f33f13830ba23d814342bf3ea8db721a15bb1 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added support for multiple mailbox list patterns.
--HG--
branch : HEAD |
533bfba437e4120aa29dd45bca2aa87e30ee28a2 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
s/mask/pattern/ for mailbox listing.
--HG--
branch : HEAD |
18ffea71d9beeec3cc1d400f751926ee72807f62 |
|
29-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Mailbox listing API changed to support more features. Used to implement
support for half of LIST-EXTENDED.
--HG--
branch : HEAD |
61e84692827b6a64912343f515c984853021483a |
|
27-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_list_iter_next() returns now const pointer.
--HG--
branch : HEAD |
ff7056842f14fd3b30a2d327dfab165b9d15dd30 |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling rewrite.
--HG--
branch : HEAD |
2423da95ee20fd4b3c260c1389cf2952d25f099c |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Removed HAS_INBOX and SHARED_NAMESPACE flags from mail storage and mailbox
list flags. They can be directly taken from struct mail_namespace.
--HG--
branch : HEAD |
5694eeb99b69dea8033ca77ad69743c6b4871370 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list_get_permissions() and MAILBOX_LIST_ITER_RAW_LIST.
--HG--
branch : HEAD |
c58906589cafc32df4c04ffbef933baadd3f2276 |
|
11-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_list to struct mail_namespace. Added a few functions to get
private data out of mailbox_list.
--HG--
branch : HEAD |
b039dabf4c53f72454e795930e7643b6e0e625f9 |
|
29-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Moved delete/rename operations to mailbox_list API. Fixed mbox/maildir to
work with either fs/maildir++ directory layout. They can be changed by
appending :LAYOUT=fs|maildir++ to mail_location.
--HG--
branch : HEAD |
8887bf3757d51d73887dd20b1db3334d867d3817 |
|
28-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added dotlock_use_excl setting.
--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 |
d9fdacd5fb3e07997e5c389739d2054f0c8441d8 |
|
06-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Lock handling changes. Everything goes through file-lock API now and there's
only a single enum listing the different lock methods. This change exposed
some unneeded (or possibly even wrong?) unlock calls in index file handling
which were fixed.
--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 |
a27e065f1a1f91c7fbdf7c2ea1c387441af0cbb3 |
|
16-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Initial code for separation of mailbox accessing and directory layout
handling. It's not yet possible to change the default layouts though.
--HG--
branch : HEAD |