search for: quota_set

Displaying 12 results from an estimated 12 matches for "quota_set".

2010 Jun 22
1
quota_set leak
The quota plugin in 2.0.beta6 leaks 2KB "quota settings" pools. Here is a patch to plug this leak, assuming you intended the caller of quota_init to retain ownership of the quota_set. If on the other hand you intended for quota_init to assume ownership of the quota_set, then the quota_settings_deinit call belongs in quota_deinit. --- a/src/plugins/quota/quota-storage.c (beta6) +++ b/src/plugins/quota/quota-storage.c (patched) @@ -427,6 +427,7 @@ { struct quota_user *quser...
2007 Jul 06
3
modules/imap/lib02_imap_quota_plugin.so: undefined symbol: quota_set
...} plugin { quota = fs } With this additional settings, my normally working dovecot.conf doesn't start anymore: Starting mail server: dovecotEdlopen(/usr/lib/dovecot/modules/imap/lib02_imap_quota_plugin.so) failed: /usr/lib/dovecot/modules/imap/lib02_imap_quota_plugin.so: undefined symbol: quota_set Error: imap dump-capability process returned 89 I have tested this issue on the following versions: * Debian etch: 1.0.rc15 * RedHat AS 5: 1.0.rc15 * Debian sid: 1.0.0 Thanks for any help in this issue. Philipp Kolmann -- If you have problems in Windows: REBOOT If you have problems in Linux:...
2007 Dec 11
1
1.0.8 with quota 1.0.8 patch - undefined symbol: quota_set
...the following error after patching the 1.0.8 src.rpm with the quota-rewrite-1.0.8.diff [root at test dovecot]# /etc/rc.d/init.d/dovecot start Starting Dovecot Imap: Edlopen(/usr/lib/dovecot/imap/lib02_imap_quota_plugin.so) failed: /usr/lib/dovecot/imap/lib02_imap_quota_plugin.so: undefined symbol: quota_set FCouldn't load required plugins Error: imap dump-capability process returned 89 Fatal: Invalid configuration in /etc/dovecot.conf [FAILED] I have checked the new quota config changes. The src rpm is taken from http://atrpms.net/dist/el...
2010 Feb 16
2
configuring overquota message
From dovecot 1.2.10 sources i have: src/plugins/quota/quota.c #define DEFAULT_QUOTA_EXCEEDED_MSG \ "Quota exceeded (mailbox for user is full)" struct quota_settings *quota_settings_init(void) { [ .... ] quota_set->quota_exceeded_msg = getenv("QUOTA_EXCEEDED_MESSAGE"); if (quota_set->quota_exceeded_msg == NULL) quota_set->quota_exceeded_msg = DEFAULT_QUOTA_EXCEEDED_MSG; [ .... ] but i havent fou...
2013 Dec 20
2
v2.2.10 released
...ct-auth.conf.ext. The old settings will continue to work. + auth: Added userdb result_success/failure/tempfail and skip settings, similar to passdb's. See http://wiki2.dovecot.org/UserDatabase + imap: Implemented SETQUOTA command for admin user when quota_set is configured. See http://master.wiki2.dovecot.org/Quota/Configuration + quota: Support "*" and "?" wildcards in mailbox names in quota_rules + mysql: Added ssl_verify_server_cert=no|yes parameter. This currently defaults to "no" to...
2013 Dec 20
2
v2.2.10 released
...ct-auth.conf.ext. The old settings will continue to work. + auth: Added userdb result_success/failure/tempfail and skip settings, similar to passdb's. See http://wiki2.dovecot.org/UserDatabase + imap: Implemented SETQUOTA command for admin user when quota_set is configured. See http://master.wiki2.dovecot.org/Quota/Configuration + quota: Support "*" and "?" wildcards in mailbox names in quota_rules + mysql: Added ssl_verify_server_cert=no|yes parameter. This currently defaults to "no" to...
2014 Jul 07
1
[PATH] expire plugins segfault with misconfigured dict
...af8ae in dict_deinit (_dict=0x8) at dict.c:87 dict = 0x10 #1 0x00007f337c88f647 in expire_mail_user_deinit (user=0x1b60e80) at expire-plugin.c:299 euser = 0x0 #2 0x00007f337cca3e7f in quota_user_deinit (user=0x1b60e80) at quota-storage.c:491 quser = 0x1b62958 quota_set = 0x1b656a0 #3 0x00007f337dbcb0f1 in mail_user_unref (_user=0x1b2d070) at mail-user.c:163 user = 0x1b60e80 __FUNCTION__ = "mail_user_unref" #4 0x000000000040832b in client_input_data_write_local (client=0x1b2cf60, input=0x1b43f10) at commands.c:830 session =...
2014 Nov 23
2
Strange repplication issues
...ugin { mail_replica = tcp:serverB.example:12345 quota = maildir:User quota quota_exceeded_message = Quota exceeded, please go to http://site.example/over-quota-help for instructions on how to fix this. quota_grace = 10%% quota_rule2 = Trash:storage=+50M quota_rule3 = Sent:storage=+50M quota_set = dict:proxy::sqlquota quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = ~/.dovecot.sieve sieve_before = /var/mail/sieve/spam.conf sieve_dir = ~/sieve } protocols = " imap lmtp sieve" service aggregator { fifo_listener r...
2009 Jan 06
2
Apple patch 10
...dovecot's code and assumptions remain unchanged: the mail process executes imap/pop commands with the permissions of the user and with nearly the same environment so getenv() still works as expected. Some assumptions do change, for instance global state variables like last_partial and quota_set are forbidden, and must be stored per-client or per-user. Also it's no longer OK just to exit or panic on error, for that disconnects multiple users not just one. Some key entry points in the patch are create_mail_process() in mail- process.c and io_env_switch() in ioloop.c. Notes about...
2019 May 16
0
File-dictionary based quotas and SETQUOTA
Hello, I am trying to set up file-dictionary based quotas while supporting the SETQUOTA IMAP command. I am using the following configuration : ---- plugin { quota = dict:User quota::file:%h/Maildir/dovecot-quota quota_set = dict:file:%h/Maildir/dovecot-quota } ---- which enables correct quota accounting + setting through SETQUOTA. A user's dovecot-quota file ends with the following contents : ---- priv/quota/limit/storage 5242880 priv/quota/limit/messages 20 priv/quota/messages 1 priv/quota/storage 8506282 --...
2016 Sep 03
2
doveadm quota recalc returns a Segmentation fault
...in quota_deinit (_quota=0x6aeae8) at quota.c:389 quota = 0x6ac0b0 roots = <value optimized out> i = <value optimized out> count = 2 #6 0x00007ffff637240d in quota_user_deinit (user=0x6ac7b0) at quota-storage.c:538 quser = 0x6aead8 quota_set = 0x6b07c0 #7 0x00007ffff76a9b52 in mail_user_unref (_user=<value optimized out>) at mail-user.c:174 user = 0x6ac7b0 __FUNCTION__ = "mail_user_unref" #8 0x00000000004216b4 in doveadm_mail_next_user (ctx=0x69bbe0, cctx=<value optimized out>, error_r=0x7fff...
2012 Jul 17
1
Dovecot-2.1.8 process imap crashed
...stats_user_deinit (user=0x2b4654c970) at stats-plugin.c:506 suser = 0x2b4654e8c8 stats_conn = 0x2b46552170 __FUNCTION__ = "stats_user_deinit" #13 0x000002d0fa86b619 in quota_user_deinit (user=0x2b4654c970) at quota-storage.c:412 quser = 0x2b4654e890 quota_set = 0x2b46551190 #14 0x000002d0fbf95597 in mail_user_unref (_user=<optimized out>) at mail-user.c:153 user = 0x2b4654c970 __FUNCTION__ = "mail_user_unref" #15 0x0000002b4461b58e in client_destroy (client=0x2b465891d0, reason=0x0) at imap-client.c:219 cmd = <...