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. |
68969d3f5b70bceae90e551686b925c9dd5dc2be |
|
23-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
maildir: Fix memory leak when mailbox opening fails |
77f8c49beac69a8f5d5d41239528474ee1b877ea |
|
07-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
lib-storage: convert maildir to use container_of |
211c638d81d382517d196ad47565e0d85012c927 |
|
19-Feb-2017 |
klemens <ka7@github.com> |
spelling fixes |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
857c471c13ca215f4be9dd4b336b742b8d434e31 |
|
25-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Add mail_storage.list_index_corrupted()
The actual implementation is in the next commit. |
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(). |
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/' |
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> |
522925f6e9ff8fe9592511c2221b3d6526d4cbf4 |
|
03-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed auto-creating INBOX that was missing tmp/ directory (but not cur/) |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
435a5772f577a6e080802bf1422deeb2bfe18baf |
|
22-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
maildir: Autocreate missing cur/ new/ tmp/ directories only with Maildir++ and imapdir.
\Noselect mailboxes aren't possible with those layouts, but with other
layouts they are and they shouldn't get automatically created just by
selecting them. |
f600530d7aa98c8a027bf4bbb34b5d9d7abdc952 |
|
05-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
maildir: mailbox_create() was returning 1 instead of 0 on success.
This broke acl plugin's check to copy the ACLs to the newly created mailbox. |
d46a1e3f999dda802dc5137e883adcd7a6629cd3 |
|
12-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added MAIL_STORAGE_CLASS_FLAG_BINARY_DATA flag for classes. |
9847ec56efa15fa063eea9988eee2d4ed9ec7d58 |
|
19-May-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_status.have_save_guids. |
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. |
8b31f966d9688e07672ef1958dcbdb7686523c04 |
|
10-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_status.have_guids flag |
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. |
69e03163071126463a421ac8a67e154775a2f147 |
|
15-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: Fixed a crash caused by previous mailbox_update() change |
491319353df4a71dbfe0e4be2f88fd381d4a8be1 |
|
15-Dec-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: If mailbox_update() doesn't affect dovecot-uidlist file, don't lock it. |
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. |
2f5256b4770d97b0ac76614a47cbdc91b89ca790 |
|
23-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: Don't assert-crash on mailbox creation. |
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. |
d817aa1ebc2d5f0905af82d814d0520bfd85cfed |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: If INDEXPVT is set, assume private \Seen flags even if dovecot-shared doesn't exist. |
860e6dd603921f61b0cd53c1cc16e1d66d312699 |
|
31-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Don't crash when trying to detect public namespace's mail_location.
Public namespaces have no owner. |
8820df795850e5a1af874a4af77f26d29e82ac63 |
|
28-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: Directories were created without execute-permissions
Broken by recent changes. |
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. |
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. |
da1c31ec550cd7598673948876a231a56628720e |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
maildir: Minor fixes and code cleanup to mailbox creation. |
e2f29d05aa7cd86d866041b196bdb39eb302db12 |
|
25-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Create "maildirfolder" file only with maildir storage.
Previously it was created for all storages, as long as they used
LAYOUT=maildir++. The file is mainly meant for MDAs that want to update
maildirsize quota, but that's only available for Maildir storage. |
f561fba30221abcc40288cace406289a8e44da89 |
|
16-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Compiler warning fixes for 32bit systems. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
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. |
6469cf211a57433335641725dc236ebb2b9fdd3b |
|
30-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added struct mailbox.set_subscribed() virtual method. |
810321fb77c892476ae721afa0b4edcec33daf1f |
|
16-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Use namespace owner user's home dir for autodetection (for shared namespaces). |
206ed2f6fa3a6fb291498627b2da626581c07a18 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_get_metadata() no longer always opens mailbox. |
93ec3b0c4b911e2cc79a99f4a300e488d2d694d3 |
|
02-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox list index's ext_id shouldn't be cached in mail_storage.
It's mailbox_list-specific, not mail_storage-specific. The easiest fix was
to just cache it into mailbox rather than create a new index_mailbox_list. |
352cd70b5850eb0815f1ee3bb4e7533d2c8c4c5f |
|
12-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Handle INBOX in the common mailbox_exists() code. |
de62ce819d59a529530da4b57be1b8d6dad13d6b |
|
25-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Moved GUID code to liblib. Use guid_128_t type consistently everywhere. |
cff1f182205e674285cf3ff446a0dcf7afea277d |
|
29-Jul-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added auto_boxes parameter to mailbox_exists(). |
b59960aed0923004f21f2a00bc1c945084d2f851 |
|
23-May-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Export a list of permanent flags via mailbox_status().
Removed mailbox_allow_new_keywords(), since it's now included in the status
structure. ACL plugin may limit what flags are permanent according to ACLs. |
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. |
1460ef7a18c53216ddb4a94bb62fba96076aae8e |
|
24-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved index_mailbox_context.save_*() methods to mailbox_vfuncs. |
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. |
047e3bbb00e68a0d43355e11a67b2e912e06de19 |
|
12-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: layout=fs now uses mailbox_exists() instead of requiring storage hooks. |
70d86de5af29abd5afe05342057ec9d6ca2a2d37 |
|
01-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
maildir: Avoid stat()ing dovecot-shared unnecessarily. |
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 |
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_last_*error() wrappers and use them. |
306cfd77100131c08b243de10f6d40500f4c27c6 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced mailbox_list_get_name_status() with mailbox_exists(). |
51327f2489a4e0e615eb9f7d921473cf8512bb79 |
|
01-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved some items from mailbox_get_status() to a new mailbox_get_metadata().
The idea is now that all status items are tracked all the time after mailbox
is opened and they can always be looked up without failure. The metadata
items are looked up lazily and the lookups may fail at any time.
mailbox_get_status() can be used after mailbox_alloc() to indicate that the
mailbox doesn't necessarily have to be opened, just that the status fields
get returned.
If mailbox is already known to be open, mailbox_get_open_status() can be
used. It never fails. |
b62140c5849297a800fee942026d9c3cb8c60206 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved mailbox.save_is_attachment() to mail_save_context.part_is_attachment() |
a4f09749814b93e8ad3ec8a0dc18885b874d6f8c |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Unvirtualized mailbox_header_lookup_*() |
dbe64f3893616a4005c8946be75d2dc8f6823d72 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Unvirtualized some methods from struct mailbox.
There was never any point in overriding or hooking into them. |
499fec3443374cc89fb8c83b8027c1614097d7a3 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
Moved fts/virtual plugin communication functions away from lib-storage. |
4182d8cd818e76856a5a1e25b343fe5ddf69fd8e |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Simplified mailbox_keyword*() APIs.
They are no longer struct mailbox methods, because they're always implemented
as being wrappers to lib-index APIs anyway.
Also mailbox_keywords_ref/unref() no longer take mailbox parameter. |
c000c8eca8f24b2a0c76393ec4bbf76a505a4983 |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed mailbox.backend_readonly. Backends set it internally lazily now. |
8a13b020f90e080570658b18c042e7e352c8b14f |
|
06-Dec-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved box->private_flags_mask to mailbox_get_private_flags_mask()
This allows getting it lazily only when it's actually needed. |
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. |
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. |
36122480cc7080b7e3d17faa9b7ced90331bd308 |
|
26-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
Maildir: Fixed accessing INBOX whose tmp/ directory was lost. |
eb64c3586d854cddd693f0b811d897399076a441 |
|
06-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
Fixes to INBOX sharing.
NAMESPACE_FLAG_INBOX was split to two flags: _FLAG_INBOX_USER (this namespace
has the user's own INBOX) and _FLAG_INBOX_ANY (namespace has INBOX, either
user's own or another user's).
--HG--
branch : HEAD |
7a7d2aa11e46195e2d92d6c337d7e78052a5ce67 |
|
04-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Avoid including mailbox-list-private.h everywhere.
--HG--
branch : HEAD |
b6eced3d628ad0c50a3cbc9f966da0edc20108ab |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
mailbox_list_mailbox(): Fixed INBOX and root dir lookups.
--HG--
branch : HEAD |
8967007fba4aa8973f75f8c5b45c278d7878afa2 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
maildir: Crashfix to mailbox_update()
--HG--
branch : HEAD |
3b32bc12710240f86465a00fbb2bd1ef030e6c40 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Increased initial mailbox pool sizes.
--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 |
438f12d7a776da695019114884b48188d94613ef |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Use a default non-NULL mailbox.free() so plugins don't have to check for it.
--HG--
branch : HEAD |
e03d986a74128f5ba30fcfda9f6e36578f5d8dec |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox.free() method. Use it instead of close() where necessary.
--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 |
fbd918f47f591f8084fd52b207ef29515ddd11b9 |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: STATUS_GUID moved to mailbox_get_guid() that can fail.
--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 |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--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 |
ac26a4607cb12b156f6a42f1ead2881bedd43d94 |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Moved mail_index lookup cache from lib-storage to lib-index.
Removed some code duplication as a result.
--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 |
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 |
05b302576cc776867395c5768eaf64f239bd42a8 |
|
23-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
maildir storage: Don't keep memory pointing to mailbox list.
Storage is no longer directly related to mailbox list, and the list may be
freed.
--HG--
branch : HEAD |
a920bbb8580be2446af28a77dac9ecf548f3c6f4 |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
dovecot-uidvalidity*: Create files with correct permission.
--HG--
branch : HEAD |
7bafda1813454621e03615e83d55bccfa7cc56bd |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
Removed MEMBER() macro. Require C99 style struct initializer.
--HG--
branch : HEAD |
507b5af74f97400e23445df8e57030f90a3a3e4d |
|
28-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
maildir: mailbox_update() crashed if mailbox wasn't yet open.
--HG--
branch : HEAD |
e5acc283bf030b0b5c79ca4e52d315c516a299fa |
|
16-Oct-2009 |
Pascal Volk <user@localhost.localdomain.org> |
Log debug-level messages with i_debug().
--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 |
9ffdc9d18870acef2e4dde99715d8528ff4b080d |
|
06-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
mailbox_update(): Update index also.
--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 |
0c3cde7382518b486092bfae64bb6a948405854a |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Removed mailbox_guid_is_empty(), use mail_guid_128_is_empty() directly instead.
--HG--
branch : HEAD |
eb0816090cf5a549280ad783b9aa6fec199d36ba |
|
31-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index-storage: Simplified the way transactions are are created/finished.
Removed also mail_storage.class_init/deinit since they're no longer used
for anything.
--HG--
branch : HEAD |
bfb2e9b85e0784d81553a1a7dfa63a4d78facad4 |
|
28-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
maildir_list_iter_is_mailbox() should return 0 for non-existing maildirs.
--HG--
branch : HEAD |
74ea94e9d4d6ae08c9e05e2d80790c851197f0e8 |
|
26-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Maildir LAYOUT=fs: Default INBOX path to Maildir root.
--HG--
branch : HEAD |
370b60cfccff7c50586fc30f4f591499a55301a8 |
|
15-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
Renamed index_storage_get_expunged_uids to index_storage_get_expunges.
--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 |
17ad2164c747cedbf81dae1893063e71a3df0356 |
|
26-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added support for creating/updating mailboxes with given metadata (guid, uid validity, etc).
--HG--
branch : HEAD |
84ed9f8f3d0e5ed47607ef417618e49e4f865557 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added reference counting to struct mail_keywords and related APIs.
--HG--
branch : HEAD |
c0bfb67ba32064347bac3241f1aac9b8a809e2f1 |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added support for mailbox GUIDs.
--HG--
branch : HEAD |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
14ab4610b6038da6c5d0814fecabc6b74bc81a6b |
|
05-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_keywords_create_from_indexes().
--HG--
branch : HEAD |
de58be41126e5d68008d2ea706d62ccdc1f29337 |
|
05-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
mailbox_header_lookup*() private API changed.
--HG--
branch : HEAD |
563273bdac80393af63b9520cbf4d24cc0efd028 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
mail storages can now be shared between namespaces.
--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 |
3e564425db51f3921ce4de11859777135fdedd15 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_storage_purge() for dbox. dbox no longer calls it automatically at logout.
--HG--
branch : HEAD |
785d9cca224d33ca3938e9166784f6483e8a27d7 |
|
31-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Added maildir_very_dirty_syncs setting.
--HG--
branch : HEAD |
85da0aa840ee1d49bd367fddacf07f7cf8d1315e |
|
26-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
Don't try to create files to Maildir/tmp/ if INBOX doesn't exist in Maildir/.
--HG--
branch : HEAD |
70ead6466f9baa8294e71fc2fba0a4f54f488b5e |
|
26-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Added mail_user_get_temp_prefix() and mail_storage_get_temp_prefix().
--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 |
a64adf62fa33f2463a86f990217b0c9078531a40 |
|
28-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for config rewrite.
--HG--
branch : HEAD |
7b85f7d35b2192bdff734d7d2891630bc30b2518 |
|
16-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Permission denied error handling can now suggest missing +w permissions.
--HG--
branch : HEAD |
42456ec33fe65feb411890f99d436071e0185ee3 |
|
14-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Cleaned up read-only mailbox handling. Fixes a bug with Maildir syncing.
If Maildir was opened read-only (STATUS, EXAMINE) then all flag changes were
saved to index as dirty.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
9e9f0cf3cc3ce546e8a433990c92dd9be6665df6 |
|
05-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
Improved "Permission denied" error handling. It'll now show also the uid/gid name.
Also moved the code to mail-error.c and used it when listing mailboxes.
--HG--
branch : HEAD |
3852872e6954b7132e637294132005e86b8ebd4a |
|
29-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Finished making full text search indexes work fast with virtual mailboxes.
--HG--
branch : HEAD |
ecdce39e5ef4b62eefa9f5818f17d153fd5d710a |
|
23-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Initial support for getting full text search working nicely with virtual mailboxes.
--HG--
branch : HEAD |
67c47dbb3fde79218320fd38a45c33f61bbf3012 |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
mail_user_*() now handles home directory lookups when necessary.
Namespace owner is now a pointer to struct mail_user rather than a string.
--HG--
branch : HEAD |
4321f6c969e7b8f6b243ff5bb6b8d297921676f6 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Implemented imap-response-codes draft.
--HG--
branch : HEAD |
269c7a4f364abde5b797f431ca51b8332d881790 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: Fixed to work with LAYOUT=fs and non-empty DIRNAME.
--HG--
branch : HEAD |
cc1cb03943eae6d2a49f21a7ae300f4916df4d57 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir + LAYOUT=fs: Return children flags correctly.
--HG--
branch : HEAD |
9f236e1dfa48bd38b832d359712d9bcd09c353bb |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Make maildir++ iter_is_mailbox() code consistent with others.
--HG--
branch : HEAD |
dba4e98033fadc949e80f746daf3d1d107e9bdb8 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: LAYOUT=fs didn't return \NonExistent flag correctly.
Also made the *_iter_is_mailbox() handling consistent between backends.
--HG--
branch : HEAD |
c4c9be10781e1a16b3b001dc6b0461c4640da101 |
|
01-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
shared mailboxes: Cleanups, fixes and optimizations.
--HG--
branch : HEAD |
0d16525a729011f4fced989a3da74d755ea49e6d |
|
01-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Use mail_storage_set_critical() instead of i_error() directly.
--HG--
branch : HEAD |
f1743785713e7632459d623d5df2108f4b93accb |
|
23-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Fixed shared mailboxes to work with plugins.
--HG--
branch : HEAD |
300baf826ba39003b861e7716c35bae372e6f23e |
|
11-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir/dbox: Try harder to assign unique UIDVALIDITY values to mailboxes.
--HG--
branch : HEAD |
96f2533c48ce5def0004931606a2fdf275578880 |
|
30-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Created mail_user_[try_]home_expand(). Used them for expanding mail directories.
--HG--
branch : HEAD |
d23c747de9d33966483fbdd41f08ad7766da7c5c |
|
12-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Added struct mail_user and fixed the code to support multiple users per process.
--HG--
branch : HEAD |
e3aeeb634245e80d4f643f8d2eea11d6b72336d8 |
|
07-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox_save_init() API was split to multiple functions.
This allows adding more parameters easily in future.
--HG--
branch : HEAD |
e3796bfd2bc0fd5ba664893d346df9334a5b3af0 |
|
21-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_keyword_is_valid().
--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 |
aa789e40a5dda9912326b82d9f48c6b6fd868d40 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: Create maildirfolder using the same permissions as dovecot-shared.
--HG--
branch : HEAD |
26bd2b441460e477fa4bc4d418dd0a24b52dbb95 |
|
20-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: Group of the created shared directory wasn't set.
Patch by Simon Michelson.
--HG--
branch : HEAD |
f95b3d29bc56f139c18c880aa574a0ca72b0cffb |
|
19-Jul-2008 |
Timo Sirainen <tss@iki.fi> |
struct mailbox_header_lookup_ctx can now be referenced/unreferenced so it
can be shared among multiple struct mails.
--HG--
branch : HEAD |
30656419ac3010d31107329e58049a50135b9e77 |
|
23-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Maildir: Create maildirfolder file also when dovecot-shared file exists when
creating new mailboxes.
--HG--
branch : HEAD |
48270badadd82279bfe50ae3d187aea8b0b2b30e |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
CONDSTORE: STORE UNCHANGEDSINCE conflicts are now checked atomically.
--HG--
branch : HEAD |
8ebc5601a597208c14ea1071c3730bc6ec2ca4d0 |
|
18-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Removed accidentally committed debug code that caused Maildir tmp/ directory
to be scanned every time mailbox was opened.
--HG--
branch : HEAD |
408e5be344c9131fdebe771718a5bf49f88cc51c |
|
07-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_get_uid_range().
--HG--
branch : HEAD |
5afa8e2edf4f313cd56e5909f92f39c3b5b7b4d3 |
|
07-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed mailbox_get_uids() to mailbox_get_seq_range().
--HG--
branch : HEAD |
7230352f1177a8ed2b924c6992e751fd2ab9bc27 |
|
04-May-2008 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_name parameter to mailbox_list.iter_is_mailbox().
--HG--
branch : HEAD |
923eb3dde28e4d8841c14fd6b4a69635b7070c3e |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Added QRESYNC support.
--HG--
branch : HEAD |
a2f250a332dfc1e6cd4ffd196c621eb9dbf7b8a1 |
|
15-Mar-2008 |
Timo Sirainen <tss@iki.fi> |
Initial CONDSTORE support.
--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 |
b42697a5749b85659a24316d97f1c208d469e4e8 |
|
20-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
If mail storage or mailbox can't be accessed because of EACCES, log an error
message that clearly shows where the permission problem is.
--HG--
branch : HEAD |
1d266a7419fafa25f3505a12217452a8c647074f |
|
05-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Fixes to handling INBOX with non-INBOX namespaces.
--HG--
branch : HEAD |
a2a08c191a33bfaa758f9c68cafec2521b9a4472 |
|
02-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
libstorage.a shouldn't reference symbols in libstorage_index.a. Changed
index_storage_destroy_unrefed() call to be done by storage.destroy().
--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 |
789c04e840025e968a516dda411e29319ec88117 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
If dovecot-shared doesn't have group permissions set, ignore the group.
--HG--
branch : HEAD |
32ee977e189266744ef69ac4e832fd3111d6f949 |
|
11-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Delay creating directories until we really need them.
--HG--
branch : HEAD |
4645cc6c911a95991d7af43b40f88e99506ea5e9 |
|
03-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Support for looking up dbox files from an alternative directory if they're
not found from the primary directory.
--HG--
branch : HEAD |
a897a252e3d4109a8958918c299a01122355cf28 |
|
28-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Code cleanup
--HG--
branch : HEAD |
c9373e5326cbf7d305fa8d2ccb6b250376948512 |
|
28-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Fix to handling setgid-bit-ignores-gid.
--HG--
branch : HEAD |
f8173d8c115a2bb6e2687814c374b85917551ac5 |
|
27-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
If dovecot-shared file has setgid bit set, the group is ignored.
--HG--
branch : HEAD |
030eadbd3b46b721198e13b0c58527bbddfd087b |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Crashfix
--HG--
branch : HEAD |
47001341950b8588c5f3a96b75864dab48e279ae |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_create_mode/gid from struct maildir_mailbox to struct mailbox.
--HG--
branch : HEAD |
5f8828b6c2b848410e881b4207414ff07f2ea230 |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
If control dir isn't the same as root dir, we created .box/.box/ directory
instead of just .box/.
--HG--
branch : HEAD |
adb6413686e52e00dded4932babcc08ff041876b |
|
17-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mail_location data parsing to a common function. It supports now also
specifying SUBSCRIPTIONS and DIRNAME.
--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 |
9740d55b228a670047c854484d5cc979a056a9af |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed *_deinit() APIs to take ** pointer and set it to NULL.
--HG--
branch : HEAD |
0ea17cea21df405e6e74a167d08e1ff0ee95dd13 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Added maildir_keywords_init_readonly() which can be used to read the
keywords file from non-maildir mailboxes.
--HG--
branch : HEAD |
1e77bad1b2f8ba7306fee97c50b83a3d801933e3 |
|
09-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
When creating mailboxes, set cur/new/tmp directories' group to
dovecot-shared file's group.
--HG--
branch : HEAD |
ccec5f82349eae44087900c0e64ed1fd5a1a6fca |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_transaction_commit_get_uids() now returns also UIDVALIDITY. It's the
only usable way to get it returned correctly. Removed maildir-specific
mailbox_get_status() handling, it's supposed to return the current state of
the mailbox, not the latest state. It was useful only for returning non-zero
UIDVALIDITY for newly created mailboxes, and that's no longer needed.
--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 |
524bdee0ac56fa6fd30bcea7014e9dc5a367118d |
|
19-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
If mailbox is deleted while it's being created, don't log an error.
--HG--
branch : HEAD |
53964063bd97a1a41e95c11d1abde18b45b25ef7 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Handle multiple simultaneous DELETEs better.
--HG--
branch : HEAD |
807612d7506d8c8e1b0c93c7437c6213f150d406 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Deleting a mailbox was supposed to rename it to ..DOVECOT-TRASHED, not
.DOVECOT-TRASHED
--HG--
branch : HEAD |
d3442384ca53d4b18a493db7dd0b000f470419cf |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved mailbox list index sync stamp checking and updating to
storage-specific code.
--HG--
branch : HEAD |
90c4297090569d02acd0e394d3b3c516da30b631 |
|
18-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Added t_push/t_pops to avoid wasting memory.
--HG--
branch : HEAD |
f23ede27743c1aa03eacbfc634d6a10de9110c91 |
|
17-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Moved private_flags_mask to struct mailbox.
--HG--
branch : HEAD |
1d3f7c1278168d5b1cbfa9a2cc9929a0909056b4 |
|
16-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Recent flag handling rewrite. Still not perfect with maildir.
--HG--
branch : HEAD |
2dd39e478269d6fb0bb26d12b394aa30ee965e38 |
|
15-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
mail_storage.create() now returns error message string. Also fixed handling
"/" and empty root paths.
--HG--
branch : HEAD |
cfe14619609c0fcf8655c41db9f2ddeb695fc604 |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
When status is returned, make sure we return correct uidvalidity/nextuid
values from uidlist if index isn't up-to-date.
--HG--
branch : HEAD |
7ab4baf99e9a7678e62da79933b03ddf269d61e8 |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
minor cleanups
--HG--
branch : HEAD |
d61a5e0e4ff58d1aa613f0d51161e5bb0f092514 |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Store syncing information to maildir extension header instead of kludging
them into base header. Also we're now using nanoseconds to check for changes
if they're available.
--HG--
branch : HEAD |
ce14a51847c3dcbaa51e15d6bec1b6534cac5501 |
|
03-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Don't auto-create INBOX if namespace doesn't have INBOX.
--HG--
branch : HEAD |
817821d2710b206fd5b548c525d4a4fe0df43861 |
|
30-May-2007 |
Timo Sirainen <tss@iki.fi> |
compile fix for last change
--HG--
branch : HEAD |
ef2b648d869e10dbbd5c71b025bfbac0f79592b1 |
|
30-May-2007 |
Timo Sirainen <tss@iki.fi> |
Deleting symlinked maildirs didn't work.
--HG--
branch : HEAD |
c72d5f1aa95544dbfbc66d72bfa3205f8876d91c |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Moved index directory creation code to index_storage_alloc().
--HG--
branch : HEAD |
ff7056842f14fd3b30a2d327dfab165b9d15dd30 |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling rewrite.
--HG--
branch : HEAD |
6d7275f3b4084d8f9b2e63f0db925d85945a37b9 |
|
11-May-2007 |
Timo Sirainen <tss@iki.fi> |
If we don't have write access to cur/ directory, treat the mailbox as
read-only.
--HG--
branch : HEAD |
5137d2d80255938a0f5fb8f3c1a21b34cf11ada3 |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added sync_notify() callback to struct mail_storage. It's now called for
expunges and flag/keyword changes (except with cydir).
--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 |
7ff5401b623d3a6da5e82b63da97587d65f73349 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed virtual mail_storage.get_last_error(). The implementation is always
the same.
--HG--
branch : HEAD |
09c08fad8e7cc694a6c8d1711e67839acd3a2f04 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
cleaned up mailbox closing code
--HG--
branch : HEAD |
f81f4bc282cd1944cec187bae89c0701a416ed2a |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Moved notify settings to struct mailbox. Removed the parameters from
notify_changes(), they're now set before calling it.
--HG--
branch : HEAD |
3d6fe65c7af8a4d4e7dc75946fab974620aff724 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_open/create: Moved the mailbox name validation and error clearing
into common mail-storage.c
--HG--
branch : HEAD |
1108376e39a19912e8394e64e19b1bc6f6691cf6 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Moved all storage destruction code to mail-storage.c and made destroy()
optional. Removed set_callbacks(). Made autodetect() optional.
--HG--
branch : HEAD |
0a3b01714dadf97dcc7439ad4eeba690ab044966 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed mail_storage_create_with_data(). mail_storage_create() with
driver=NULL behaves the same way. Removed parameters from
mail_storage.create(), they're now put into the storage structure before
calling create().
--HG--
branch : HEAD |
f7539a17ea306191b53b8f5e752e228937df9ec3 |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Added virtual mail_storage.alloc() function and changed create() to work
differently.
--HG--
branch : HEAD |
ccc895c0358108d2304239063e940b7d75f364ab |
|
30-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Removed struct index_storage abstraction. It's pointless.
--HG--
branch : HEAD |
8e371a3ce32bd64288786855b8ce0cb63f19f7d1 |
|
29-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Better type safety to module_contexts arrays. Already fixed some bugs.
--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 |
48be18eebcde34f138e3da811e11172bdc1d5534 |
|
27-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Disable index files if index directory can't be created.
--HG--
branch : HEAD |
c9205d09549222e0654471a85f7231890bf50318 |
|
15-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If mailbox is deleted under us while we're also deleting it, handle it
without logging an error message.
--HG--
branch : HEAD |
d3eff05aaa4c2bc0a7580ee87a54f6693f4a8241 |
|
06-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
When syncing huge maildirs check once in a while if we need to update
dovecot-uidlist.lock so that another process won't decide that it's stale
and overwrite it. Check more often when moving mails from new/ to cur/.
--HG--
branch : HEAD |
228a8ec0216964c7418a9a0f7ace07da4092f729 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
cleanup
--HG--
branch : HEAD |
b659635c2e720ce0bece14d63a610472c6ad65d9 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
When using KEEP_LOCK, the mbox/uidlist file must be locked before index file
is opened. Otherwise we can end up in a deadlock.
--HG--
branch : HEAD |
6474d25a162db5478dfb4fd84f594a1edee68ed1 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
If KEEP_LOCK is set and we timeout, don't crash.
--HG--
branch : HEAD |
4673afe816ffbca769585e4518e9b3c3d72e95dd |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
If pop3_lock_session=yes, update maildir/dbox uidlist lock file every 10
seconds so it won't be treated as a stale lock.
--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 |
b5a084602a3dc2c118345f6d2990f47c1ff66264 |
|
18-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Use larger default pool sizes
--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 |
c1d6338d51d9b7d3e8598d7f2ccfc7fae76b64e4 |
|
14-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Grow the initial pool sizes a bit.
--HG--
branch : HEAD |
0f506139b4c95589a09a81a5d51636aee994cd1e |
|
22-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added maildir_copy_preserve_filename setting.
--HG--
branch : HEAD |
c5ab90cfad9cc3e33bcb1baeb30ffc82a7b7053a |
|
21-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Moved storage callbacks to struct mail_storage. If searching takes over 10
seconds, start giving estimates about when it's ready.
--HG--
branch : HEAD |
42507d758b053bb483de58fba55c73a9eb5d3fba |
|
20-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Dovecot is now able to execute multiple commands at the same time.
Practically this means commands: FETCH, LIST, SEARCH and syncing output for
all commands. For example it's possible that doing two FETCH commands at the
same time makes their output mixed together.
Non-blocking SEARCH is done by doing search for 20 mails at a time, and then
checking if another command is pending.
Also added X-CANCEL <tag> command to cancel running commands.
--HG--
branch : HEAD |
2c0a2b1902232ba12c20a4092a0943b0db9940e6 |
|
16-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added EDESTDIREXISTS() macro, and changed rename() calls to use it.
--HG--
branch : HEAD |
b28816eae22d99ba3abf0440f5368d87b69414be |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
rename and delete operations didn't touch control directory if it was
different from maildir or index dir.
--HG--
branch : HEAD |
013e3b3942e9550fde619a0b3ce6bdd04edc4268 |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Make sure the mailbox is opened when transaction is started (fixes deliver).
Also did some other API cleanups, mailbox index opening can't fail anymore.
--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 |
cafbfb142d25594144b99542c9d67f7484cad470 |
|
03-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added MAIL_STORAGE_FLAG_NO_AUTOCREATE flag which silently fails storage
creation if the root directory doesn't exist. Otherwise the root dir is
created.
--HG--
branch : HEAD |
7931dfb5a1d28278f2b7fe4f0d72fce26c501714 |
|
01-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Removed get_mailbox_control_dir and get_mailbox_index_dir virtual functions
from mail_storage, since they're already in mailbox_list.get_path(). Updated
mbox to override that function to return index/control dirs with the
".imap/" in the middle.
--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 |
5f24517ae602ca828bc7e197913f51d55d79c9bc |
|
12-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Fixed some warnings with older gccs.
--HG--
branch : HEAD |
df8a8bb3ce466273ef4239ed0ad7069348e59514 |
|
09-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
If the mail environment data contains mail format prefix, don't do any kind
of autodetection. Practically this means that mbox:/var/mail/user doesn't
work anymore.
--HG--
branch : HEAD |
91dca97b367c54a139c268b56a0c67f564bd9197 |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced ARRAY_CREATE() macro with [ipt]_array_init() macros. The macro
has no side effects so it might as well be lowercased.
--HG--
branch : HEAD |
26a8b7deb3a5b6f26f9c4d71538e1248f680e4be |
|
10-Sep-2006 |
Timo Sirainen <tss@iki.fi> |
Removed type parameter from ARRAY_CREATE since it's not needed anymore.
--HG--
branch : HEAD |
f7402a1325415c65a9bf43ee79cb262a25650b60 |
|
23-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
And actually fix it instead of leaving it commented out...
--HG--
branch : HEAD |
ca56f5bd5f454c6d81e900b5fcb95f0c94a63cd0 |
|
23-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Rename was a bit broken if the new name began with the old name
--HG--
branch : HEAD |
e2201aea6d1341008c853e43fca3f8a906e95c60 |
|
10-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Create maildirfolder file when creating new maildirs.
--HG--
branch : HEAD |
d6badc27cd6e8d3398877b6766cb0aaeef3a7800 |
|
28-Jun-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Beginnings of joining mail-storage API more closely to mail-index, so that
mail-index could be directly used if needed. Currently only transactions
are joined.
--HG--
branch : HEAD |
8d80659e504ffb34bb0c6a633184fece35751b18 |
|
28-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Array API redesigned to work using unions. It now provides type safety
without having to enable DEBUG, as long as the compiler supports typeof().
Its API changed a bit. It now allows directly accessing the array contents,
although that's not necessarily recommended. Changed existing array usage to
be type safe in a bit more places. Removed array_t completely. Also did
s/modifyable/modifiable/.
--HG--
branch : HEAD |
4bb5aea87af630d75a7fa39d23e0805047ed5cf0 |
|
26-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
If dovecot-shared file exists in the Maildir++ root, use the file's mode and
gid when creating mailboxes under it.
--HG--
branch : HEAD |
27c77e7115d2b3145fcde9d99b93049b8209d19e |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
When renaming a mailbox's subfolders, read the list of them first into
memory to avoid the possibility of readdir() skipping some of the mailboxes.
--HG--
branch : HEAD |
5505efe43cc7d5058561cda8882487b7971f8ad9 |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
When creating a mailbox, limit the number of hierarchies (to 20) and the
length of the mailbox name within a hierarchy (to 200).
--HG--
branch : HEAD |
532a37777197dbf2aae6992035d2a85be0b55d5a |
|
08-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Don't allow "." and ".." mailbox names/masks.
--HG--
branch : HEAD |
a04cd96888653891272a512f7735121193af7b35 |
|
08-Jun-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Changed mail-storage API to do the mail sorting internally. Optimized it
internally to keep a 32bit sort_id field in index for each used primary sort
condition. Practically this should mean less disk I/O, memory and CPU usage
when SORT command is used.
--HG--
branch : HEAD |
e7fc5cbe72125bd46fba54b2b61883ffd4e0d202 |
|
31-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
With some NFS implementation DELETE failed if ..DOVECOT-TRASHED directory already existed
--HG--
branch : HEAD |
68801241c575c0ae8f5574cf0b0792bdff63c95b |
|
31-May-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Close index files before trying to unlink the index directory
--HG--
branch : HEAD |
a3ee5ce6ecc8e228ee69300fdd562d7ac8be89a7 |
|
14-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Optimized searching a bit for cases where we can restrict search range by
simply looking at sequence sets. Also optimized some deleted/seen flag
searches where no results would be found. Added search_next_update_seq()
virtual method which allows plugins to restrict the search range (eg.
allowing indexed text search plugins).
--HG--
branch : HEAD |
d67ac5f76cc02c227f4997878bb4aef48ee298fa |
|
09-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_OPEN_KEEP_LOCKED flag to mailbox opening and implemented it
for mbox and maildir. It keeps the mailbox locked the whole time until
mailbox_close() is called.
--HG--
branch : HEAD |
8673d88275a64908ecc291440f4b001bd2a08949 |
|
31-Mar-2006 |
Timo Sirainen <tss@iki.fi> |
When deleting a maildir, rename it to ..DOVECOT-TRASHED, and assume only
that directory to be safe to be deleted, instead of all ..dirs. When
deleting maildir with absolute path, don't do renaming at all but delete it
directly.
--HG--
branch : HEAD |
721b683078dab7a46e2a42cfcb81c7d066b57dea |
|
06-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Merged save-copying and hardlink-copying code so that hardlink-copying updates indexes immediately.
--HG--
branch : HEAD |
defb12ecd360df672ffb2f4dbf4d1218a0a9549c |
|
22-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Make life easier for plugins:
- Added MAILBOX_OPEN_SAVEONLY flag for mailbox_open(), which is set when mailbox is opened only for append/copy
- Added a couple of MAIL_STORAGE_ERR_* string defines that should be used when giving visible errors to clients
- Added failed-flag for mailbox_list_context, which plugins can directly set to make mail_storage_mailbox_list_deinit() return failure
- Added mail_storage_get_mailbox_path() and mail_storage_get_mailbox_control_dir() to return locations for mailbox directories
Also be more strict when validating mailbox names.
--HG--
branch : HEAD |
5f8c5ba7dae54b4df12115b1984874493cc3692f |
|
15-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Allow creating mailbox names with '*' and '%' characters. They don't break
anything anyway.
--HG--
branch : HEAD |
f0fa0904765d41e7e6c52606400199b004ae7492 |
|
05-Feb-2006 |
Timo Sirainen <tss@iki.fi> |
Limit maximum mailbox name length while creating them.
--HG--
branch : HEAD |
5cc772dc8b507be0bc1996b5717943ba13432e08 |
|
19-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added mbox_min_index_size setting.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
5d7a1ff61dd81ec3355f9af94a129d82adf63cc8 |
|
19-Nov-2005 |
Timo Sirainen <tss@iki.fi> |
MAILBOX_OPEN_NO_INDEX_FILES flagfix.
--HG--
branch : HEAD |
822b71c04ddd61cb08a0104f9e58f55334725e2a |
|
30-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Added MAILBOX_OPEN_NO_INDEX_FILES flag and made streamed mboxes by default
also indexed.
--HG--
branch : HEAD |
6246b93fb37890dcb2f4df9896438f3f376ab284 |
|
14-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
New inotify code and notify API change. Patch by Johannes Berg
--HG--
branch : HEAD |
7e6d4ac298496df695a842fe4688dd67d7fa828e |
|
22-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Reverted accidental commit.
--HG--
branch : HEAD |
b3eb41ca62463645f1feb4cb7d6e455d0bbe5ab9 |
|
12-Jul-2005 |
Timo Sirainen <tss@iki.fi> |
Notification was added to maildir root always, not to the actual mailbox
that was being selected. Patch by Johannes Berg.
--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 |
367c05967091a2cbfce59b7f274f55b1a0f9e8c9 |
|
16-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Raised initial pool sizes.
--HG--
branch : HEAD |
237c229cbffd84435a63580a5c78c74121c77a2e |
|
12-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Removed extra 0-initializers from struct storage initializers. They used to
be there because -W gave warnings with gcc, but newer versions seem to be
silent as long as C99 style member initializers are used. Also fixes a
compiling problem with some non-gcc compilers.
--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 |
bf661a542d17273066e720b4f75868a1ff975a4c |
|
03-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Moved several getenv()s from lib-storage to main code. deliver binary was
missing several getenvs..
--HG--
branch : HEAD |
04ab375449dd97eed50ada88dd0df2abab01cfee |
|
29-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Added input stream parameter to mailbox_open(). With mbox it now allows
opening a read-only mbox using a stream.
--HG--
branch : HEAD |
fdc557286bc9f92c5f3bb49096ff6e2bcec0ea79 |
|
15-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
Major mail-storage API changes. It's now a bit cleaner and much more plugin
friendly. Removed proxy_mailbox* stuff, they were difficult to use and
there's now much easier way to replace them.
--HG--
branch : HEAD |
aa169282254299326d8f3ddaac3e100f258243a7 |
|
09-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
code cleanup
--HG--
branch : HEAD |
faed8babca9914257f34fb2e603d74016d563b2d |
|
05-Feb-2005 |
Timo Sirainen <tss@iki.fi> |
Internal changes in how keywords are handled. struct mail_keywords isn't
automatically freed anymore, added *_keywords_free() for that.
--HG--
branch : HEAD |
a1a72612e13e7058aadefe2b8f76d04e488d6f3b |
|
30-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
If maildir-shared exists in the Maildir root, copy it for each created
mailbox.
--HG--
branch : HEAD |
8d630c15a8ed6f85553467c3a231a273defca5f6 |
|
29-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Added mail_debug setting. Moved full_filesystem_access from global variable
to flag in mail_create*() functions.
--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 |
d22390f33eedbd2413debabc0662dde5241b1aa6 |
|
11-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
dovecot-shared file was supposed to show permissions/gid for files created
in the maildir, but it didn't work for indexes.
--HG--
branch : HEAD |
8a450b60d44b92cb6b085d5aba69d627f848461a |
|
20-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Removed special Maildir/.INBOX directory. Indexes are now stored in maildir
root.
--HG--
branch : HEAD |
20a802016205bbcafc90f164f769ea801f88d014 |
|
21-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Get index file mode and GID from dovecot-shared file.
--HG--
branch : HEAD |
1ef6e6a89af780d721038c5c66c6e6f60fa3c546 |
|
11-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Report INBOX as existing always, even if it doesn't yet exist in disk.
Fixes COPYing messages to INBOX when it didn't yet exist in disk.
--HG--
branch : HEAD |
a423d985ba7261661475811c22b21b80ec765a71 |
|
21-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
Changed mail saving API to be nonblocking.
--HG--
branch : HEAD |
84f80d9231b6ddc80ebfae425fd3674620fdf746 |
|
22-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Moved namespace and hierarchy separator handling to imap-specific code. LIST
now shows non-hidden namespaces in the LIST reply.
--HG--
branch : HEAD |
e015e2f7e7f48874495f9df8b0dd192b7ffcb5cc |
|
18-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Header caching redesigned. New design allows caching decisions per field, so
they can be divided to temporary/permanent. Cached headers are now always
returned in original order, old code didn't guarantee it. Some other caching
changes. (still missing code to store changes in caching decisions)
--HG--
branch : HEAD |
d756ebcfa96bd7cff02097c8f26df9df368b81b1 |
|
12-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Broke mailbox_sync() into iterator.
--HG--
branch : HEAD |
439980f88f421039dea8335e92d3fa82b3f470a1 |
|
11-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Recent flags should be fully working now with maildir.
--HG--
branch : HEAD |
6913a451b76b1bdb53be55e2f2f7ad572b2c2b8a |
|
09-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Create all the missing paths up to maildir
--HG--
branch : HEAD |
e0965ef0a118013e7ff47efa3d2c01084fcf31c8 |
|
09-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Some more mailbox name checks.
--HG--
branch : HEAD |
b3b4f3875850099c9292ad74d08bb385c3988f8f |
|
22-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
get_last_error() wasn't virtualizable
--HG--
branch : HEAD |
27c626de0589c54a5e0b0f63d74c0511e3b12733 |
|
10-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Make sure INBOX is created when maildir storage is opened.
--HG--
branch : HEAD |
92888ef30960c30ccc9e030fe7eab5d4d04a7d1c |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
Some more UIDVALIDITY issues fixed.
--HG--
branch : HEAD |
e06c0b65c16ccce69bbee009ead14d7d3d17a256 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
Index header changes now go through transaction log. Removed the kludgy
parameters for mail_index_sync_end(). Removed code duplication of syncing
index root mapping and view mapping. Some fixes to handling uidvalidity and
nextuid in syncing.
--HG--
branch : HEAD |
fff95fdfb5c8ba917eb80f82b439ee3066e5a051 |
|
10-May-2004 |
Timo Sirainen <tss@iki.fi> |
maildir: don't use ".temp" prefix for temporary files, since in ~/Maildir they
conflict with mailbox namespace.
--HG--
branch : HEAD |
8fcff4c5b52f24d9c681805fdf06b486f1d0fcbe |
|
06-May-2004 |
Timo Sirainen <tss@iki.fi> |
mbox code compiles again, but syncing is only partially implemented so
accessing mboxes fails..
Also some cleanups to index-storage and maildir code.
--HG--
branch : HEAD |
e562002ef5607c8bad5216de484098493f00391e |
|
03-May-2004 |
Timo Sirainen <tss@iki.fi> |
Create .INBOX/ to index directory, if it's different.
--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 |
b1f57b7183fe44d7d7ba30b944d3de1f015b9253 |
|
26-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
Removed fetch_init/fetch_next from mail-storage. search_* makes it
unnecessary
--HG--
branch : HEAD |
df1db5e1dde18b87fa78bd846b736c67c46406fd |
|
26-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
Moved copy() method from struct mail to struct mailbox - the context
parameter makes sense only to destination mailbox handler.
--HG--
branch : HEAD |
3b913f5e116b22102eda5b794221266fa60886c4 |
|
20-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
mail_create_mode was set too late.
--HG--
branch : HEAD |
fe411a59ad87184982b069ea8411f2ad88fa8b8f |
|
20-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
fix
--HG--
branch : HEAD |
ad783aef281cfbe74186ba2503a2207cc0c82626 |
|
20-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
crashfix
--HG--
branch : HEAD |
181aa01111e2de2dae413b4c1ccfcfc4e801ac40 |
|
20-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
fixed dovecot-uidlist permissions for shared mailboxes
--HG--
branch : HEAD |
05d8b39defaa5bcaea31ab9f8ff2bd8e119c7d52 |
|
20-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
If maildir contains dovecot-shared file Dovecot does two things differently:
it allows some flags to be private and stored only in index file (currently
hardcoded to \Seen flag only) and new mails are created with dovecot-shared
file's mode & 0666. So if you set filesystem permissions correctly, you
should have fully functioning shared mailboxes.
--HG--
branch : HEAD |
29b6850e788f34431e1b369837b419b3ea5f14a9 |
|
05-Oct-2003 |
Timo Sirainen <tss@iki.fi> |
Strip trailing '/' from mail directory if given. Just makes it cleaner in
log files.
--HG--
branch : HEAD |
cd9195a6351716f2dbebe1839423f7d15821956a |
|
23-Sep-2003 |
Timo Sirainen <tss@iki.fi> |
Fixes memory/fd leaking with INDEX=MEMORY.
--HG--
branch : HEAD |
12ec974ad83a77a8c5d353d56658e5026c08638f |
|
17-Sep-2003 |
Timo Sirainen <tss@iki.fi> |
Revert the mailbox/ == mailbox change after all. It broke LIST and it's not
important really..
--HG--
branch : HEAD |
04e81955f3fafac9e6a48642198640a65fa6732d |
|
15-Sep-2003 |
Timo Sirainen <tss@iki.fi> |
Ignore hierarchy separator at the end of mailbox name.
--HG--
branch : HEAD |
00bb3f3db48a9e80a633a7c4d3d768b8ff1a72c5 |
|
15-Sep-2003 |
Timo Sirainen <tss@iki.fi> |
CREATE mailbox/ with maildir now creates the mailbox instead of ignoring it.
--HG--
branch : HEAD |
e8e61f9a5a50e40b01024d7c9767e23fc63b0d8f |
|
09-Sep-2003 |
Timo Sirainen <tss@iki.fi> |
treat ~ mailbox prefix as absolute path too
--HG--
branch : HEAD |
9f80875e1e574a61bf5834535a8c328b5ceb13eb |
|
24-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
IDLE uses now IO_*_NOTIFY to get instant notifying of mails.
--HG--
branch : HEAD |
b728c54e411fd1964195497572ab7066138206cb |
|
27-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Mail storages support now configurable namespace prefix and hierarchy
separator. Subscription file handling needs some more thought.
--HG--
branch : HEAD |
05ea76547573aec80f1b58654bce7b850dd99501 |
|
27-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change: Mailbox list sorting must now always done by storage itself if
it's needed.
Maildir listing rewritten.
--HG--
branch : HEAD |
ff1c87522054d080d68b0123373d989a8991aa2a |
|
26-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API changes: Don't keep variables in mailbox class.
--HG--
branch : HEAD |
dbb1fb1c51727e2050792f8c333b212e22a36d69 |
|
26-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for expunging messages. Not exactly what I wanted, but good
enough.
--HG--
branch : HEAD |
4b9441132b03149cce54b8fbaabb6bbcc10b899e |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Explicit lock() method for mailbox.
--HG--
branch : HEAD |
6389aeec8c26b585e583c364b48ad12adf741898 |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for updating message flags.
--HG--
branch : HEAD |
dfbf03518468bee9a2ca54c104a9be71b38d4436 |
|
23-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
API change for copying messages.
--HG--
branch : HEAD |
290d0477ac0fed6e0c5faa17d55364a971696923 |
|
15-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
index_mmap_invalidate = yes now invalidate memory maps before accessing
them. Setting this on should fix some problems with OpenBSD. It should also
make it possible to use index files over NFS as long as lock daemon is used.
It might be such a good idea however.
--HG--
branch : HEAD |
de28039edc52c7695b5262556446a879b14c8ac0 |
|
07-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Destroy all unused indexes 10 seconds after use. Before we destroyed them
only when opening a new index.
--HG--
branch : HEAD |
07a7ff803d52a39ffd568a2466c04097ef4a47e1 |
|
01-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
Expand ~/ from beginning of all paths. Added INBOX=<dir> support for
maildir.
--HG--
branch : HEAD |
dae702b7ff81cf38291d4f2cb49334bfaf5cc1ba |
|
01-Jul-2003 |
Timo Sirainen <tss@iki.fi> |
mail_full_filesystem_access = yes fixes
--HG--
branch : HEAD |
406a92a344f789e6ec763104b03de3f0b8fcfdb7 |
|
15-Jun-2003 |
Timo Sirainen <tss@iki.fi> |
Dirty maildir flags support works now.
--HG--
branch : HEAD |
484d5c222e6d9a9330c76e8b88c6e96a112d6569 |
|
14-Jun-2003 |
Timo Sirainen <tss@iki.fi> |
Close index files before deleting the mailbox.
--HG--
branch : HEAD |
783baa940911b9267c1900d569398022cb4ba8a9 |
|
30-May-2003 |
Timo Sirainen <tss@iki.fi> |
Some fixes/cleanups for cases when maildir doesn't exist
--HG--
branch : HEAD |
934d42dec29def3fc2b070932f2a7247ec2eea8a |
|
17-May-2003 |
Timo Sirainen <tss@iki.fi> |
Maildir: CONTROL=<dir> in MAIL environment now specifies where to save
.customflags and dovecot-uidlist files. This can be useful if the main
mail directory is under hard quota.
--HG--
branch : HEAD |
2e9df287c7ce63bfcd2b19aa769b53dd3f65a5f4 |
|
09-May-2003 |
Timo Sirainen <tss@iki.fi> |
DELETE should report success to client even if it can't actually delete the
folder, as long as it can rename it to "..dir".
--HG--
branch : HEAD |
02a59fc4b15191c29b97aac2f53266f0c93cc93e |
|
15-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
Renaming maildir subfolders inserted extra "." in the middle.
--HG--
branch : HEAD |
ae2bf8e61d24887e8cb1398258c01ab8b40c3cdc |
|
09-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
mbox: CREATE mailbox/ now mkdir()s it.
--HG--
branch : HEAD |
cbada5b46b27117057d472c4256829f8b092dbff |
|
24-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Use less strict mailbox name verification when trying to access existing
mailboxes. Don't delete directories beginning with ".." outside our maildir
root (if full_filesystem_access = yes).
--HG--
branch : HEAD |
977de65fe54e23ff5675d5e16cfcfdf06cea1a9b |
|
24-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Added support for CHILDREN and LISTEXT extensions.
--HG--
branch : HEAD |
3bd9825b05e37cddf905adafda6848d646c3687b |
|
23-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
in-memory index crashfixes
--HG--
branch : HEAD |
0f203eb6e0524641e415ce6b555212b5395a54ce |
|
23-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Index opening rewrites. We don't try to support .imap.index-<hostname> style
indexes anymore. They just made things more difficult, and it's really not a
good idea to use index files via NFS anyway.
Added support for :INDEX=MEMORY in MAIL env to disable using index files.
Also if we can't open or create index file for any reason, we now fallback
to in-memory indexes. Before we fallbacked only with out of disk space
errors.
If .customflags can't be created, we still work now by not allowing to
create new custom flags.
--HG--
branch : HEAD |
d85afa35a24745514e7fe48ea9ee2d921e915573 |
|
19-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
outlook-idle workaround fixes.
--HG--
branch : HEAD |
1128eaa60b7ac5e81a71b61db914b31c48610057 |
|
19-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
We don't really need the cur, new and tmp symlinks in .INBOX/ dir. Also
don't even try to support renaming INBOX since we can't make it atomic.
--HG--
branch : HEAD |
b79fcd97b1ce9b413139f71170dc821d3ee3bdee |
|
19-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Rewrote LIST, LSUB and subscription file handling. LIST replies aren't
sorted anymore by default, it can be enabled with client_workarounds =
list-sort.
--HG--
branch : HEAD |
4a90d3e9f670117c30b5e1ca3b12538a11114339 |
|
17-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Check for ENOTEMPTY too for rename() failures.
--HG--
branch : HEAD |
d1bcee48225783610f0f6f639973677dd72b884a |
|
13-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Support for IDLE extension.
--HG--
branch : HEAD |
acc1f6926edce60565289f80cc8e67b7ece59d0e |
|
12-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Several fixes to mail_full_filesystem_access = yes handling
--HG--
branch : HEAD |
8ec4e32c9c886c777954c7b9d99fc5d9250b3805 |
|
22-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Support for MULTIAPPEND extension. COPY now behaves like spec says - if it
fails, none of the messages are copied. maildir_copy_with_hardlinks didn't
actually work.
--HG--
branch : HEAD |
5ce2084ada06ade9f44fc2914c34658e9a842dc1 |
|
20-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
mail-storage.h interface changes, affects pretty much everything.
FETCH, SEARCH, SORT and THREAD handling were pretty much moved from
lib-storage/ to imap/ so adding non-index storages would be much easier now.
Also POP3 server can now be easily implemented with lib-storage.
Not too well tested, and at least one major problem: partial fetching is
_slow_.
--HG--
branch : HEAD |
c0435c854a0e7246373b9752d163095cc4fbe985 |
|
05-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
--HG--
branch : HEAD |
162677af0091c924cb7266e23978e342982f7d05 |
|
01-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Storage can now specify if errors should be sent to user as BAD or NO.
Some changes to messageset parsing as specified by latest IMAP4rev1 draft.
Bad charset error is prefixed with [BADCHARSET]. Fixed a crash in SEARCH the
last commit in it caused.
--HG--
branch : HEAD |
fed105d173e2102400f9dc98623ca52979d8779b |
|
21-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
If used base/login directories exist already, make sure they're with correct
permissions. Always delete contents in login directory at startup.
Added safe_mkdir(). changed unlink_directory() behaviour, and fixed a race
condition which could have made it follow symlinks to other directories and
delete them. Didn't really harm us so far, we never used it for deleting
unsafe directories.
--HG--
branch : HEAD |
a8767e3a8dd08bb782f05dacf2c8877f3cba644e |
|
20-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Added :INDEX=<dir> for both Maildir and mbox to specify different location
where to store index files. This would allow keeping mailboxes accessible
through NFS but still keep the indexes in fast local disk.
Did also some other related cleanups and minor fixes.
--HG--
branch : HEAD |
c427ac2a7005cd865267107023ba0038d761104d |
|
20-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Support for separate location of mbox INBOX folder.
--HG--
branch : HEAD |
555ebb032f9b8f0cdb66f27ce7374734833e7cac |
|
19-Dec-2002 |
Timo Sirainen <tss@iki.fi> |
Buffer related cleanups. Use PATH_MAX instead of hardcoded 1024 for paths.
Added str_path() and str_ppath() functions. i_snprintf() now returns only -1
or 0 depending on if buffer got full. dec2str() returns the string allocated
from data stack. Instead of just casting to (long) or (int), we now use
dec2str() with printf-like functions. Added o_stream_send_str(). Added
strocpy() and replaced all strcpy()s and strncpy()s with it.
Pretty much untested, hope it doesn't break too badly :)
--HG--
branch : HEAD |
c2bb1764c359ce85a7f7f789ead11dd613ff9769 |
|
25-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
Locking changes triggered a bit larger cleanup :) If we have to wait for a
lock longer, the client is now notified about it every 30 seconds. Also if
mailbox opening fails because of lock timeout, we won't overwrite the index
anymore. Finally user gets a clear error message about lock timeout instead
of "internal error".
--HG--
branch : HEAD |
f6b9211fbf619fb31d703bfdf10715d1a19cd4ac |
|
20-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
typo in comment
--HG--
branch : HEAD |
a6fb32ab244ac12ba3d1f091a1a53d12b710ada6 |
|
20-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
Don't allow '*' and '%' characters in mailbox names. Maildir RENAME works
now properly when renaming folders having subfolders.
--HG--
branch : HEAD |
461692d3974949b1e6fa49fa50a6c7fd0a559da9 |
|
12-Nov-2002 |
Timo Sirainen <tss@iki.fi> |
mailbox_check_interval setting: Dovecot can notify client of new mail in
selected mailbox soon after it's received. This setting specifies the
minimum interval in seconds between new mail notifications to client -
internally they may be checked more or less often. Setting this to 0
disables the checking.
--HG--
branch : HEAD |
10ffe25023df7de97803cd94cc3ad97ff1c986a7 |
|
19-Oct-2002 |
Timo Sirainen <tss@iki.fi> |
MailStorage interface change. We now let storage call several sync-functions
whenever it wants instead of forcing it through sync() function.
This now allows us to send client FLAGS and PERMANENTFLAGS messages whenever
new custom flags are added. Also EXPUNGE command now goes nicely through
expunge() function (which CLOSE used) instead of through flag in sync().
"Out of disk space" alert is also sent now whenever it happens, before it
was sent only when opening mailbox.
Message set parser now complains when referencing mail sequences outside the
possible range. Modify log before sent flags/expunges changes to client even
if it didn't know about those messages yet. Also some other smaller
cleanups.
Beginnings of fixing APPEND and COPY when trying to store mails into
selected mailbox. Before this didn't work too well or simply broke things.
Still broken, needs a bit more changes..
--HG--
branch : HEAD |
ca1319463a8e8dbfeff8b78b0c687980b6428ddc |
|
29-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
ANSI-C compatibility fixes
--HG--
branch : HEAD |
7913b62dac8e4928226bc5eba59b01675cdb0018 |
|
23-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
Added fast-flag for mailbox opening, which doesn't do any index compressing
or cache updating. This flag is set when mailbox is opened by APPEND, COPY
or STATUS (ie. not SELECT/EXAMINE).
--HG--
branch : HEAD |
d442a8aaebb1cd64a6f452ef9d9b562b824df244 |
|
03-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
more INBOX-sensitivity fixes
--HG--
branch : HEAD |
7b937fa47f42981b98c98489b19962feb59f098c |
|
03-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
"CREATE Inbox.sub" created it using that case, instead of "INBOX.sub" which
caused trouble.
--HG--
branch : HEAD |
b0329930c9010a5001050fe687afa55cdae1786d |
|
03-Sep-2002 |
Timo Sirainen <tss@iki.fi> |
"Mailbox doesn't exist" error now gives the name of the mailbox that was
tried to be accessed.
--HG--
branch : HEAD |
1eb3f00f9abb1675f8a5ee4b0568301cf8986ad2 |
|
25-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Don't allow '\' character in mailbox name.
--HG--
branch : HEAD |
9a4d9919d66149a6112e84b951fccaea12a5aa28 |
|
25-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Don't allow using "../" anywhere in mailbox names.
--HG--
branch : HEAD |
468bb8fbe53f28a18a47b8dc6761171d5d8ce706 |
|
24-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
mbox fixes, not fully working yet but almost :)
--HG--
branch : HEAD |
4027c1f2c7a848dfe657d7cf8771a3067003c903 |
|
22-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
"Critical errors" aren't displayed to users anymore, ie. anything that is
not a predefined human readable error message is written into log file and
user gets only "Internal error [timestamp]".
--HG--
branch : HEAD |
e403d34ae6904cd8d9f72345a2f2dc017d3b46aa |
|
22-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Message data is parsed in blocks (no longer entirely mmap()ed). Several
IOBuffer changes. All mixed signed/unsigned comparisions were fixed so code
can now be compiled with gcc's -W flag. mbox support is broken currently,
and there's most likely several other problems too.
--HG--
branch : HEAD |
66251e6ab31e5cc153fe5cae608e416dacafe9cd |
|
08-Aug-2002 |
Timo Sirainen <tss@iki.fi> |
Initial revision
--HG--
branch : HEAD |