d14fd32eff820ee5833d76abed5eca3fbdbcd640 |
|
24-Jan-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lazy-expunge: Fix context checking
Was not done properly in 462a3d92adcde4bfa9a575875bd8ae740b89ce9e |
462a3d92adcde4bfa9a575875bd8ae740b89ce9e |
|
18-Jan-2018 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lazy-expunge: Contexts are now required or checked
Satisfied static analyzers |
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. |
a3e5780c9eb464129be300338d5714fbb55418f4 |
|
01-Nov-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lazy-expunge: Fix spelling mistakes
Original work by @jsoref |
c6ce2e251ac75fa650c7fbfa52150eae69386293 |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox.transaction_begin() |
0dab9cb35a976c49b28a11e28d5570f5191f1a7a |
|
22-Sep-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
lib-storage: Add reason to mailbox_transaction_begin()
Remove mailbox_transaction_set_reason(). |
c69a177207ed18d0f0210347430a60957136bd6c |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on pool_unref(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- pool_unref(&E);
- }
+ pool_unref(&E); |
0a2511b99dd8bfc5ffec75ccb22f761b2b831cfd |
|
04-Aug-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Log internal errors instead of just "Internal error occurred" |
61cf001f1944d92eb25f113ba4c08985d6e30d53 |
|
03-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Add mailbox_set_reason() calls
Added to the most important places. |
bf7dc750b95039981c0e9d728f313d50cf38a156 |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
global: Log internal storage error on failure |
f05d013c67c9af853c3258d59403da13e1d4307b |
|
26-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Use mailbox_move() instead of mailbox_copy()
This allows some optimizations to be performed that are only possible when
moving messages.
It's slightly strange now that mail_expunge() is triggered twice for the
same source mail, but lazy_expunge plugin is called very early so most
plugins won't see it called twice. Currently only acl plugin sees it, and
it doesn't care. |
06c55920c133602d6347f574b4149a083935cca8 |
|
22-Feb-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Fix error handling for GUID lookups
If the mail is already expunged, the error should be ignored.
In other situations the original error string should be preserved as
part of the logged error message. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
782a1e245aef1011683f82e8bcdf05be9fc3f1f8 |
|
25-Jul-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: If lazy-expunge transaction failed already, stop further expunges.
Most importantly if the lazy-expunge mailbox opening fails, we don't now
retry opening the mailbox for each expunged mail. |
6181ecf4d911026ec7546fd2231de2e505bc9f33 |
|
28-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Fixed crash when copying from internal namespace
Most importantly fixes crash in LDA. |
b7e29199cbbd18d66085a8c945e6dce8a610828d |
|
23-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy_expunge: Optimize checking for last instance when moving a mail.
It's never the last instance, so we don't need to even check it. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
eaebcff84c1d3c6ce82918c185d933c24a4964c6 |
|
04-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Fixed crash on error handling |
f8a63c14a4d2eed05019e5d8ed48fc3d8c976ed4 |
|
30-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-storage: Added MAILBOX_FLAG_DELETE_UNSAFE |
f819fafff4ac09930e27d171242dc90358fa98a6 |
|
27-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Don't fail expunge if mail was already expunged. |
567d2fd59e0f3d74f2473045b1f5488186840205 |
|
27-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Fixed error logging. |
e5bc823952a118eeeab4e9f4e98f7f4ee72fc323 |
|
05-May-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Handle mailbox create race conditions.
Don't log an error if another process just created the lazy-expunge mailbox. |
71748cca1bacd74451fd228db5536828bdfeb190 |
|
03-May-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
global: Use mail_user_plugin_getenv_bool() wherever possible
New API is used to check boolean setting OR exsitence of an env variable. |
0bcfa2a649ee4da64580648698481df41cd63b24 |
|
27-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Open the mailbox with ACLs ignored. |
994d09a23d02bce990d07a298046f744d13b36e6 |
|
27-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Open mailbox with MAILBOX_FLAG_SAVEONLY flag. |
f5a105b5e19f866d432f271cfef83fc42e38d908 |
|
20-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Fixed using a mailbox (instead of namespace) as lazy_expunge destination.
The initial implementation in f2d7ae020bda762f78e8e639a69fb129230cbb7d was
completely broken. |
f2d7ae020bda762f78e8e639a69fb129230cbb7d |
|
19-Apr-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Allow lazy_expunge setting to point to a mailbox in any namespace.
This way we can use an existing namespace without having to create a new one
just for a single lazy_expunge mailbox. |
4a769606eb49926c6dfb9a532186e9e737683283 |
|
21-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Fixed crash if lazy_expunge-namespace was not found. |
8281cfda2ef92282bd6ecf77dc9a2fd1e115875e |
|
17-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: If lazy_expunge is set to namespace root, save all mails to the root mailbox.
So the difference is:
namespace {
prefix = expunged/
..
}
plugin {
# Move expunged mails to expunged/INBOX, expunged/Trash, etc. mailboxes
lazy_expunge = expunged/
# Move all expunged mails to "expunged" mailbox, which is the namespace root.
lazy_expunge = expunged
} |
eade05821e7e39e93bfbea226fab127e907555d9 |
|
17-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lazy-expunge: Code cleanup - move destination mailbox name generation to its own function |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
814bf67459ad405a157af0b8940602024d7fadfe |
|
23-Sep-2015 |
Teemu Huovila <teemu.huovila@dovecot.fi> |
Remove now-unnecessary direct stdlib.h #includes. |
42562240cadb78223a6463755711141532353538 |
|
17-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: If MAIL_FETCH_REFCOUNT fails because mail is expunged, ignore the error. |
0f277a064942b89141caa40a8b2184fe83dc6fe7 |
|
17-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: If MAIL_FETCH_REFCOUNT fails, log the storage error. |
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> |
d8615e0bec5fc8ffe6be9f64928c2f26b9b5a4de |
|
15-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
Replaced mail_get_real_mail() callers with mail_get_backend_mail() |
92878b89753821c71d77e466d6e0706b23bd1ae4 |
|
09-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
lazy_expunge: If setting is empty, disable the plugin.
Instead of assuming that we want to use prefix="" as the lazy_expunge
namespace, which is highly unlikely anyone will ever want to do. |
a3036257fc770240090f52055edbb47a31337a07 |
|
09-Apr-2014 |
Timo Sirainen <tss@iki.fi> |
lazy_expunge: If lazy-expunge mailbox open/create fails, show the mailbox name in error message. |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
4a3413190593712896180d157c39d2ea65722a47 |
|
24-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: If lazy_expunge_only_last_instance is set, copy only last instances of mails.
Requires storage backend to support refcounts. |
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. |
f2b491e4795ccab8da05d8e67f735131e8b2bcfe |
|
04-Jan-2013 |
Timo Sirainen <tss@iki.fi> |
lazy_expunge: Allow expunging from lazy_expunge namespace via virtual mailbox.
(Instead of copying the message all over again to the lazy_expunge
namespace.) |
bd63b5b860658b01b1f46f26d406e1e4a9dc019a |
|
11-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Plugin ABI version checking improvements.
Previously the plugin version was checked against the version string
returned by the currently running Dovecot master process, not necessarily
the same as the binary. Also version_ignore=yes setting skipped the version
check entirely.
Now there's a new DOVECOT_ABI_VERSION macro that can (at least in theory) be
updated only when the ABI actually changes. The version is in format
"2.2.ABIv1(2.2.15)", where the (2.2.15) would be the actual Dovecot version
number that gets ignored when comparing the strings.
Also now the plugin version is compared to the actually running binary's
ABI, not the master's version, and it can't be ignored with a setting. |
a94f37b8cc0c4b5c175b571fe92ca3011cb34f20 |
|
26-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Fixed handling non-default namespace separator. |
f318b3dbe2acc177b8ee1c160e4b5b14e7f2cd41 |
|
13-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage API change to allow using it from C++ code |
71e88fae3be360e9a93b3398e743f99a6f05d2ed |
|
10-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed rename_children parameter from mailbox_rename()
The children are now always renamed. The only reason this feature was added
in the first place was to make dsync's job easier, but this is no longer
needed. |
3e0bae44b65f5c46989fcef3d1e07203f496327e |
|
02-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed enum namespace_type to enum mail_namespace_type |
99695d99930b35c2bac85d52e976b44cf8485d83 |
|
23-Aug-2012 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Moved per-mail data in struct mail_save_context to separate struct.
This fixes previous save leaking metadata to the next save. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
4145cbac82bfc0c8bfeceeca0ef841700117930c |
|
28-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Replaced MAILBOX_FLAG_KEEP_RECENT flag with reverse MAILBOX_FLAG_DROP_RECENT.
Very few places actually want to drop recent flags, so this way is easier. |
87ac1612e87ff5046330aa3cc43dd617f01b6b0c |
|
16-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Avoid crashing if user init fails. |
eae0829232705d7c44abf50153a6ce45e4a7990a |
|
16-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Fixed assert-crash when trying to open lazy-expunge mailbox. |
af9edddbb704a640055898846add4e386e83fe43 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: mailbox_delete() now always first expunges all mails before trying deletion.
If any new mails are added during expunging, the mailbox deletion fails.
This behavior allows removing basically duplicated code where this is done
for mdbox, sdbox with external attachments, quota updates and lazy-expunge. |
d6c00d76248fcf5ccce168633eb5ef0fe11c6513 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Removed support for more than one lazy-expunge namespace.
More than one is conceptually difficult to understand, complicates the code
and after the next change it wouldn't even work anymore. |
eef4ba0cc3e78f8c26804c1c9251a76580a41f0c |
|
29-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_search_*() API to return pointer struct mail.
This reduces the flexibility, because now different mailbox_search_next()
calls can't have different mail parameters with possibly different
wanted_fields settings. This flexibility was never used though, and removing
it gives a couple of benefits:
* it's now easier for backends to implement prefetch and parallel search
* usage is easier since mail_alloc()/mail_free() is no longer needed |
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. |
e5aa8d4c9bdda79c2db03391ec45b37bf774df14 |
|
01-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Merged returning dir mode into mailbox_list_get_[root_]permissions(). |
11352dc3e4b29f3d2763c82f8ea4f99e8daf4fa3 |
|
20-Jan-2011 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Added mailbox_get_last_*error() wrappers and use them. |
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. |
b7c8d8416a771681a8b87aa2cbdef3ee0043f004 |
|
05-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Don't crash when using shared users. |
f6a5f61c4fafd999ad57052af12753f0f8342abe |
|
05-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Use mailbox_list_created hook to override list methods. |
eb453ada41017805a07c24e3d0eaad5af6b7dddf |
|
26-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Keep internal namespaces referenced. Fixes crash with dsync. |
539977f9257bd8985be5a8093658da266ae9cd19 |
|
07-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Plugin API changed to run plugin functions in correct order.
Previously the hooks were run in correct order, but the functions they
overrode were run in reverse order. This caused problems when multiple
plugins were used.
--HG--
branch : HEAD |
b83deefd2cf1e293373673eefb4d5cf60907978c |
|
07-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Mailbox deletion: Delay marking its index deleted until ACL has had a chance to abort the deletion.
--HG--
branch : HEAD |
cae63fcd9206d457c71a5ce3bdb1f5befff37342 |
|
27-May-2010 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Don't crash if lazy_expunge setting isn't enabled for user.
--HG--
branch : HEAD |
8bb360f9e5de1c25e4f875205bb06e8bf15dae14 |
|
05-Apr-2010 |
Timo Sirainen <tss@iki.fi> |
Removed dead code.
--HG--
branch : HEAD |
c1862d09e1fdd9bb1c50b38a54310ea82daf8960 |
|
15-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lazy_expunge: Fixes to handling mailbox deletion and renames.
--HG--
branch : HEAD |
2649b237dd4690575e75a30b2bf3b39ebd37b835 |
|
14-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox renaming API changed.
--HG--
branch : HEAD |
e5fd6dfd0a492e4708d4dbb7971d7fc5d7b8fd85 |
|
12-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Removed input parameter from mailbox_alloc(), added mailbox_open_stream()
--HG--
branch : HEAD |
61b0637759146621cbb7edcbd0b03a71cfd66dfe |
|
09-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Mailbox deletion API changed.
Mailbox deletion should now be free of race conditions. The actual file
deletion code is now responsibility of mailbox_list backend.
--HG--
branch : HEAD |
e10d8b1291090c26b9ef499637e6e632485ca5be |
|
07-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Split mailbox_close() and mailbox_free() functionality.
--HG--
branch : HEAD |
4462bd7b4c7ef3de006f060e155a90e5de7cae21 |
|
06-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
plugins: Use DOVECOT_VERSION instead of PACKAGE_VERSION.
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
2584e86cc2d8c31ba30a4109cf4ba09d1e37e28a |
|
17-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Changed mailbox_sync() and mailbox_sync_deinit() APIs.
Although we're already in beta stage, this is simple enough of a change that
it shouldn't matter much. Having syncing also return status information made
the API ugly and the status information wasn't even wanted all that often.
--HG--
branch : HEAD |
20866bdef50b7e0e63383262fe21dc14b7242755 |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Fixed deleting mailboxes that didn't have expunged messages.
--HG--
branch : HEAD |
0b7a8f6c6d61d51d86adfbe56f0397dafd34960c |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Support a single-namespace configuration.
If a mailbox is deleted, its contents are merged with the existing expunged
messages.
--HG--
branch : HEAD |
81c0e970da009d078dcdaa7c05990675d1352899 |
|
14-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
plugins: Use mail_namespace_storage_added hook instead of mailbox_list_created.
In mailbox_list_created the storage hasn't yet overridden the list functions.
--HG--
branch : HEAD |
5666a3d6a7ea89362b8d9e8b39b15424cd9d6388 |
|
04-Dec-2009 |
Timo Sirainen <tss@iki.fi> |
lib-storage: Plugin hook API changed to support per-user plugins within a process.
--HG--
branch : HEAD |
e5acc283bf030b0b5c79ca4e52d315c516a299fa |
|
16-Oct-2009 |
Pascal Volk <user@localhost.localdomain.org> |
Log debug-level messages with i_debug().
--HG--
branch : HEAD |
2d6b4b20ff02cdc50d27268a133e3f2eaa7a4c0c |
|
27-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge: Drop \Deleted flag when moving message.
--HG--
branch : HEAD |
96308127e006bb3b1108093bcf4cc1fd9481cb7a |
|
24-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
mailbox_transaction_commit_get_uids() changed to _get_changes() with more generic API.
Saved UIDs are no longer necessarily in a simple x:y range.
--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 |
48f9069853ebb59fd9fe22ab1647cf735e6bbe37 |
|
22-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_save_copy_flags(). Use it wherever possible.
--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 |
1d2b188f0eedc3cab6e27ceac5425a037f38042e |
|
15-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Mailbox opening and closing APIs changed.
--HG--
branch : HEAD |
2615df45a8027948a474abe5e817b34b0499c171 |
|
03-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for making mail_storage:mailbox_list to be from 1:1 to n:n.
This will allow namespaces to share the same storage and a single namespace
to have multiple storages (multiple mailbox formats). Neither works
currently, and this commit probably breaks some things.
--HG--
branch : HEAD |
16db188cfddce117500a161302f17ae691b4500e |
|
26-May-2009 |
Timo Sirainen <tss@iki.fi> |
Split NAMESPACE_FLAG_INTERNAL into distinct _NOQUOTA and _NOACL flags.
--HG--
branch : HEAD |
64eec253d2098aadf923ff74b38b2f2dd16ff65a |
|
23-May-2009 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge plugin implements mailbox deletions now using mailbox_list_rename_mailbox().
--HG--
branch : HEAD |
a78022839bad9ce136c0e121987878126b38660f |
|
21-May-2009 |
Timo Sirainen <tss@iki.fi> |
lazy-expunge plugin: Replaced maildir-specific expunge implementation with generic copy+expunge.
--HG--
branch : HEAD |
9313113964ebf3ce6984ecb4386cd5979885886a |
|
05-Mar-2009 |
Timo Sirainen <tss@iki.fi> |
lazy_expunge: When deleting mailboxes, if the destination parent dir didn't exist, delete failed.
--HG--
branch : HEAD |
0df9428baed48afaff90b4d4f03792d2fd756a43 |
|
02-Feb-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed plugins to work with config rewrite.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
63110c906fdb5b4e8c870e76fa3f244dac4b043d |
|
21-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
mailbox_open() now takes struct mail_storage ** so it can be changed.
--HG--
branch : HEAD |
77c0730f0ef7c5de3ab1490874fdcc336b942de7 |
|
15-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Plugins: If mail_debug=yes, log "plugin disabled" if plugin's required setting isn't set.
--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 |
5afa8e2edf4f313cd56e5909f92f39c3b5b7b4d3 |
|
07-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed mailbox_get_uids() to mailbox_get_seq_range().
--HG--
branch : HEAD |
e726bf74fcc8d24f4c9d0d83217b3db4314d9d1f |
|
25-Apr-2008 |
Timo Sirainen <tss@iki.fi> |
next_hook should be called after our hook is finished with its doings, that
way they get executed in the intended order. This should fix some problems
when multiple plugins are used.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--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 |
63f36c2b47217fc2dc4ed49cfc1907311d5ed366 |
|
30-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
mailbox_transaction_commit*() doesn't sync the mailbox anymore, so it
shouldn't take mailbox_sync_flags parameter either.
--HG--
branch : HEAD |
2febb31693bdc93bf90034e1bc014ca2a450d8fc |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
If rename() fails, log an error.
--HG--
branch : HEAD |
2241a5c2d8d1ac050f56f5b1e3f1c9029749b4d0 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Crashfix to last change
--HG--
branch : HEAD |
9209a733e7448bbcdbe6d782dde8a9caab498d34 |
|
22-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Mark lazy expunge's namespaces as internal so quota doesn't count them.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
042a07daa4a5614159532a2a3878e76e3f176965 |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Renamed strocpy() to i_strocpy().
--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 |
73b50eecfc31750a312e2f940023f522eb07178c |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
mail_index_lookup*() can't fail anymore. Changed several APIs not to return
failure anymore.
--HG--
branch : HEAD |
88187ee880b4829443e0d55ea7d145d9d5880217 |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Removed explicit locking from views and maps. They were already locked all
the time when they were used. Because of this change several functions can
no longer fail, so they were changed to return void, and a lot of pointless
error handling was removed.
--HG--
branch : HEAD |
6bcf2135389eee244a286916d1611d52019429d5 |
|
12-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Compile fix
--HG--
branch : HEAD |
e947ef2e3536a48d3661ba3eaf1b91f61e8a6df0 |
|
08-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Fixed to use hook_mail_namespaces_created so we work also with pop3.
--HG--
branch : HEAD |
ff7056842f14fd3b30a2d327dfab165b9d15dd30 |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
Error handling rewrite.
--HG--
branch : HEAD |
cb44b8fd1fa5cac5a451c39245c878e1307c332c |
|
13-May-2007 |
Timo Sirainen <tss@iki.fi> |
lib-storage doesn't need the ability to return syntax errors. They should be
checked before lib-storage is called.
--HG--
branch : HEAD |
4d2211dac61c615c5bdfd501ea54d46c89d41b0f |
|
17-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Added mailbox_transaction_commit_get_uids() which returns the UID range for
saved/copied messages.
--HG--
branch : HEAD |
e8490a52a1bc71bc53034e68f464435684ad810f |
|
03-Apr-2007 |
Timo Sirainen <tss@iki.fi> |
Moved namespace handling to lib-storage. Beginnings of namespace support for
non-IMAP parts of Dovecot.
--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 |
f6c1297c26b355c4aec2a08978f51ec3efecb351 |
|
22-Feb-2007 |
Timo Sirainen <tss@iki.fi> |
Added <plugin_name>_version string.
--HG--
branch : HEAD |
b444bc28a4c5319a4820cea208e311f4478efa2e |
|
05-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
If index/control dirs were different than the maildir, deleting mailboxes
didn't move their contents correctly.
--HG--
branch : HEAD |
fed564495b7d7c4dfbb025f52ff3df0e640a5959 |
|
17-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Fixes
--HG--
branch : HEAD |
b9a94db495dd924f4743f43e5cb28d5201ab9206 |
|
16-Dec-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added lazy expunge plugin.
--HG--
branch : HEAD |