[Dovecot] maildirsize update error
Maykel Moya
moya at infomed.sld.cu
Mon Dec 4 20:50:16 UTC 2006
El dom, 03-12-2006 a las 18:17 +0200, Timo Sirainen escribió:
> On Thu, 2006-11-16 at 16:07 -0500, Maykel Moya wrote:
> > According to [1], Trash is a reserverd folder name. When moving a
> > message to it, maildirsize should be update with a negative byte count.
> >
> > If I move a message from any folder to Trash, maildirsize gets two
> > lines, one positive and one negative.
> >
> > The problem is that a user can't move messages to Trash while being
> > overquota because the positive entry goes before the negative.
>
> OK, fine, added support for this:
>
> http://dovecot.org/list/dovecot-cvs/2006-December/007001.html
> http://wiki.dovecot.org/Quota/Maildir
>
> quota-rewrite.diff patch has also been updated for rc15.
The patch applied cleanly but Dovecot didn't compiled. Using rc15
Regards
maykel
----
trash-plugin.c:103: warning: `struct quota_root_transaction_context'
declared inside parameter list
trash-plugin.c:103: warning: its scope is only this definition or
declaration, which is probably not what you want.
trash-plugin.c: In function `trash_try_clean_mails':
trash-plugin.c:118: dereferencing pointer to incomplete type
trash-plugin.c: At top level:
trash-plugin.c:183: warning: `struct quota_root_transaction_context'
declared inside parameter list
trash-plugin.c: In function `trash_quota_root_try_alloc':
trash-plugin.c:185: dereferencing pointer to incomplete type
trash-plugin.c:189: structure has no member named `try_alloc'
trash-plugin.c:202: warning: passing arg 1 of `trash_try_clean_mails'
from incompatible pointer type
trash-plugin.c:186: warning: `ret' might be used uninitialized in this
function
trash-plugin.c: At top level:
trash-plugin.c:212: warning: `struct quota_root_transaction_context'
declared inside parameter list
trash-plugin.c: In function `trash_quota_root_try_alloc_bytes':
trash-plugin.c:214: dereferencing pointer to incomplete type
trash-plugin.c:218: structure has no member named `try_alloc_bytes'
trash-plugin.c:226: warning: passing arg 1 of `trash_try_clean_mails'
from incompatible pointer type
trash-plugin.c:215: warning: `ret' might be used uninitialized in this
function
trash-plugin.c: At top level:
trash-plugin.c:236: warning: `struct quota_root_transaction_context'
declared inside parameter list
trash-plugin.c: In function `trash_quota_root_test_alloc_bytes':
trash-plugin.c:238: dereferencing pointer to incomplete type
trash-plugin.c:242: structure has no member named `test_alloc_bytes'
trash-plugin.c:250: warning: passing arg 1 of `trash_try_clean_mails'
from incompatible pointer type
trash-plugin.c:239: warning: `ret' might be used uninitialized in this
function
trash-plugin.c: In function `trash_quota_root_created':
trash-plugin.c:277: structure has no member named `v'
trash-plugin.c:278: structure has no member named `v'
trash-plugin.c:279: structure has no member named `v'
trash-plugin.c:280: structure has no member named `v'
trash-plugin.c:281: structure has no member named `v'
make[4]: *** [trash-plugin.lo] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/dovecot-1.0.rc15/src/plugins/trash'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/dovecot-1.0.rc15/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.rc15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.rc15'
make: *** [all] Error 2
More information about the dovecot
mailing list