52f6112882fb2a4b7b921fc45640f4a9d748bae7 |
|
26-Nov-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
plugins/quota: quota-status service: Changed recipient address parsing to use lib-smtp. |
149299c7d5136a8fb425ef3cf8953026a1358002 |
|
11-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use check-local in Makefile.am instead of overriding check directly
This helps with dependency problems, like running "make check" in
lib-storage without "make" first would try to compile the test programs
too early and fail. |
7dd64d2faf200cb8b87569cbc3206b54f95c9ff5 |
|
03-Jul-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
quota-status: Support recipient_delimiter |
654c60f1741fd195878d74a30df90bf130649d64 |
|
25-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quota: Add imapc backend
This allows using imapc storage with imapc quota. The quota acts as
read-only, so it's used only when the current quota usage is explicitly
asked.
The quota can be looked up using either a mailbox name or quota root name.
By default INBOX's quota is looked up. If there are multiple quota roots
returned for the mailbox, only the first quota root returned by the
QUOTAROOT reply is used. |
7f4fa37676bac8efcf4e2ac706172b1bad779a8a |
|
23-Mar-2017 |
Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi> |
quota: Add quota_max_mail_size setting |
fa3fc0b4c821874ccc56a1512604f661b411d3a4 |
|
14-Nov-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
quota: Use program-client for quota-warning scripts |
b200bc3875fa06d42c8619865cc306c3297fcacc |
|
06-Jul-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
Add PIE and RELRO to binaries |
f0339f522dc9c8e2e8a29ef9a3f937c431c6bd1b |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Use only explicit int -> bool conversions
These were checked with a patched clang. |
23bdbb7b1831785c6ba6df190f6369da882d2b9d |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Require comparisons to be strict boolean expressions
* No implicit integer -> boolean or pointer -> boolean conversions
* !expr can be used only if expr is boolean type
These were checked with a patched clang. It found various actual bugs,
which were fixed by the previous commits. |
a5563dc790a44bb58860d74479a24349f593d68f |
|
14-May-2015 |
Timo Sirainen <tss@iki.fi> |
Reverted d592417ec815 which added unnecessary code to Makefiles.
The original problem it tried to solve was properly fixed by 46969c4cc57e.
make will actually wait for processes to finish creating files before it
continues to the next program that wants to access the file. As long as the
dependencies are correct. |
06d1238dd2a6b87af5ad1fad53d7b9b74ad93bfa |
|
14-May-2015 |
Timo Sirainen <tss@iki.fi> |
quota: Fixed dependency tracking in Makefile
The earlier fix attempt was done by creating a .tmp file first, but that
didn't really solve anything. |
ca20a10994930a63a2991939f8613d1a59b897e3 |
|
13-Mar-2015 |
Timo Sirainen <tss@iki.fi> |
Makefile: Avoid make race conditions when generating files that are used as dependencies.
The file creation needs to be atomic, otherwise another process can start
trying to use an unfinished file. So we first create .tmp file and then mv
it into the final one. |
c35e049bf1b9bbee97551bcb029e53a10cafd761 |
|
02-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
test-quota-util: Link to quota-util.lo instead of .o
Hopefully fixes dependency tracking to work correctly? |
de02255bbe97d5d5c54ca1054bb7c9304ee025a1 |
|
02-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
quota: Fixed quota_transaction_is_over() to handle "user is already over quota" case.
If size=0 we didn't return failure. This change also fixes various potential
integer overflows in the check. Added unit test for the function. |
b863b7e3fccf75f90f613b875f02fd1781e14e5e |
|
02-Jul-2014 |
Timo Sirainen <tss@iki.fi> |
quota: Moved some functions to quota-util.c |
7f50258fb5e71ca7965d8527f879114c39d0a0fb |
|
25-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
MODULE_LIBS is now part of LIBDOVECOT. No need to explicitly link it everywhere. |
26ada766cfff6ebfb91d100936118cf8aa51e3ae |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Support NetBSD 6.0 libquota.
Patch by Emmanuel Dreyfus. |
53febe02364e20b2b95594ca8e7906a37973be01 |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
quota-status: Fixed compiling with older autotools. |
96f7cae3254c4daab09e0d32e1edf9ddde2cb788 |
|
21-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
quota-status: Fixed compiling |
3a53aff14d327af2819b4755864b3571703683b8 |
|
21-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Added quota plugin's headers to LIBDOVECOT_STORAGE_INCLUDE.
This allows creating external plugins that depend on the quota plugin
(similar to trash plugin). |
7f5c66ef0fbdca9dc1657490099bdb87922099a4 |
|
20-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
quota-status: Load plugins after all.
They may be needed for user initialization to work (e.g. virtual plugin) or
maybe even for quota itself to work (external quota backend plugin). |
c0699d9e0842a53c047fcbd695fa93ce435baa8f |
|
19-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Added quota-status service for asking if user is over quota.
Implemented Postfix-compatible policy server protocol initially. Usage:
service quota-status {
executable = quota-status -p postfix
unix_listener /var/spool/postfix/private/quota-status {
user = postfix
}
client_limit = 1
}
Postfix:
smtpd_recipient_restrictions =
...
check_policy_service unix:private/quota-status |
a966016e605eea27e02d73ff1412632cd684d770 |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
Use -Wl,--as-needed -Wl,--no-undefined GNU ld flags for non-plugins. |
bc10373fc050eb9dd23f6ed5ee8207d0e4d142ee |
|
13-May-2010 |
Timo Sirainen <tss@iki.fi> |
quota: Fixed doveadm plugin to compile again with new API.
--HG--
branch : HEAD |
9563e6542b7a8a13b13a0ef62ec68b0383b99293 |
|
08-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
Added doveadm quota plugin.
--HG--
branch : HEAD |
e1b13a5c1507c2583fc6bd07e690037be8a802a7 |
|
06-Feb-2010 |
Timo Sirainen <tss@iki.fi> |
Makefiles: Use nodist_*_SOURCES to exclude generated .c files from dist.
--HG--
branch : HEAD |
e6f02650c46c7f3ad627b425523918c0eaed859d |
|
07-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
quota: Don't link rpcsvc library.
It shouldn't be necessary since we generate our own rquota_xdr.c
--HG--
branch : HEAD |
acbd82bd456316a32f61df67fc41bbff681119c7 |
|
15-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Building fixes.
--HG--
branch : HEAD |
7570dfdf496285e05b2ac0d0ab06ae9fb27153ec |
|
10-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
quota: Fixed compiling with older automakes.
--HG--
branch : HEAD |
9fd7e883292dab58f3c209f0ec6a8cd11e52075c |
|
08-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Another compiling fix (for older autotools?)
--HG--
branch : HEAD |
e37da31c280b5d018649a950dff75fd4ffee8769 |
|
07-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Fixed previous "VPATH build" commit to work with all shells.
--HG--
branch : HEAD |
14c5d5abb4fde28016272e1123f3ebcf2cb60e3d |
|
07-Jul-2009 |
Matthias Andree <matthias.andree@gmx.de> |
Fix VPATH build of RQUOTA support.
Some rpcgen derive #include "..." paths from the infile argument.
This will be off for VPATH builds, as the generated rquota_xdr.c
code will look in $(srcdir), but we'll generate the rquota.h file in
$(builddir). Play safe and copy rquota.x to $(builddir) first.
This fixes the build on openSUSE 11.1.
--HG--
branch : HEAD |
a22c03355b9c4c8e1655250e216a4ce66d49de7c |
|
07-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Get rid of imap/, pop3/, lda/ and sql/ module subdirs. It's all in lib/dovecot/ now.
--HG--
branch : HEAD |
88c580cdff2656df007fdfe5bd8ca8a465ee605a |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
rquota.x was missing from distribution tarball.
--HG--
branch : HEAD |
667f09546abd3d3636b277fec9dba8622cb3d644 |
|
03-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Fixed quota compiling when using a separate build dir.
--HG--
branch : HEAD |
4c7caf83adc56d54e2ecec0a803f5ca9b6d0498d |
|
02-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Added support for NFS group quota.
Based on patch by fandorin at rol.ru.
--HG--
branch : HEAD |
a321662b406acc9c9e6fe52332236740d449f591 |
|
04-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
quota-fs: Avoid compiler warning with BSDs.
--HG--
branch : HEAD |
d0cc826dab58ed8e30e1ccd7cb6ad2f44b391a00 |
|
27-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
rquota_xdr compilation fixes for AIX (hopefully won't break other OSes).
--HG--
branch : HEAD |
578fae7e423adb2230b64fb8faa37d85462f9dfc |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
quota: Generated rquota_xdr.c file was missing LF after first #include.
--HG--
branch : HEAD |
1c93b5986ac03e0b3cd69647332b412ecef4d6a9 |
|
13-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Previous changes broke plugin symlink creation in make install.
--HG--
branch : HEAD |
24abf21d02b4fe2bf539102fa50e4a6261242222 |
|
11-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Use dynamic module suffix provided by libtool rather than hardcoded ".so".
--HG--
branch : HEAD |
23ad3970cd22adb6c875caf95fa791548849f0d1 |
|
18-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Yet another try at getting rquota code compiling properly with BSD make.
--HG--
branch : HEAD |
1707642460105a013eb08e902c9ffdb2cbd86a1e |
|
17-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
rquota_xdr.h -> rquota.h
--HG--
branch : HEAD |
f740f218bbb1a98cea08dd82b601a8dd50f35093 |
|
17-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Generate also rquota_xdr.h.
--HG--
branch : HEAD |
3c761874964bfb09fed3c68299532fc874a657b3 |
|
17-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Try an alternative way to specify rquota_xdr.c dependency.
--HG--
branch : HEAD |
e084d7e936c72517ee425bf0fffb0c2be9b3e6d0 |
|
15-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
__attr_unused__ -> ATTR_UNUSED
--HG--
branch : HEAD |
fba3d682d6bad6a9530b254d6fd07dc5577be7fe |
|
22-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Use sed instead of $(SED). sed should work everywhere anyway, and $(SED)
for some reason doesn't work everywhere.
--HG--
branch : HEAD |
4a7952a6d14f4dd9bbde13e9a9cfa28e727433b3 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Removed DISTFILES which caused sources not to be included in tarball.
--HG--
branch : HEAD |
e4debbf6243f2fb7ef5c66f4fa7a73d947720947 |
|
07-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Compile fix when building outside source tree.
--HG--
branch : HEAD |
f4526ec0e620af27bc027955f7a56cfe187c212f |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Added rquota_xdr.c dependency to quota-fs.c
--HG--
branch : HEAD |
fdbcd3027578d35cb6e12b44c06a46905024e300 |
|
06-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Build rquota_xdr.c with rpcgen from rquota.x.
--HG--
branch : HEAD |
9e96947aa6185341cbdd1140cb216fab3270ccba |
|
02-Aug-2007 |
Timo Sirainen <tss@iki.fi> |
Support for rquota with NFS mounts. Patch by HTK NetCommunication Oy.
--HG--
branch : HEAD |
9d1526ac8bcec9aff3c3a32f092ee2f3da2760b7 |
|
16-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Changed the plugin filename numbering (ie. the ordering in which the plugins
are loaded). This doesn't change anything for current plugins, but future
plugins will need this change so they can get themselves loaded between
specific plugins.
--HG--
branch : HEAD |
62300a38f91227b9de043a9a8ec1d4f1978e1138 |
|
03-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
dict quota: If dictionary doesn't yet contain the quota, calculate it by
going through all mails in all mailboxes.
--HG--
branch : HEAD |
679ad6ad1a66597752d1729a8dfd54ce1ed595e5 |
|
17-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
mkdir_p doesn't accept multiple directories in some systems, so do it one at
a time. This also cleans up the code.
--HG--
branch : HEAD |
677e22747b82bf15b339e31d1d0106d62bf806da |
|
15-Jun-2006 |
Timo Sirainen <tss@iki.fi> |
Add ",S=size" to maildir filenames when quota plugin is loaded with
Maildir++ backend.
--HG--
branch : HEAD |
2317a68d8119d3a2310320f6fe37d74cdc64a9d7 |
|
27-Apr-2006 |
Timo Sirainen <tss@iki.fi> |
Install the quota plugin also for POP3.
--HG--
branch : HEAD |
cb951d3282610a9a0960230865bc5f3e3347b203 |
|
05-Mar-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Maildir++ quota support.
--HG--
branch : HEAD |
42a3441f6906280cbf21ecbd2de74b2b627f4ac7 |
|
14-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Load plugins in sorted order. Prefixed plugins with nn_ set their order.
--HG--
branch : HEAD |
a35cbba04d0a2823da98e693bd09a051addffdb2 |
|
14-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
quotactl() quota checking support
--HG--
branch : HEAD |
797d20c35779d68f2542d3e287c1a869048c8f26 |
|
10-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added missing header files. Fixed plugin install hooks to use DESTDIR.
--HG--
branch : HEAD |
1795e934ebcd58175d3b5bbdd811b13c7889efa3 |
|
10-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added beginnings of plugin infrastructure. TODO: These could be optionally
compiled into binaries with some configure options.
Added quota plugin and a new trash plugin. Not very well tested.
--HG--
branch : HEAD |