search for: quota_rule

Displaying 20 results from an estimated 1312 matches for "quota_rule".

2014 Dec 29
4
Authcache and user changing
Hi, I have noticed that during auth cache hits usernames are not updated. (We use ldap backend and change username with user_attrs = uid=user, mailMessageStore=home, mailQuotaSize=quota_rule=*:bytes=%$ cold cache lmtp(14414): Debug: auth input: testmon_testmon home=/vmail/te/testmon_testmon quota_rule=*:bytes=104857600 lmtp(14414): Debug: changed username to testmon_testmon lmtp(14414): Debug: Added userdb setting: plugin/quota_rule=*:bytes=104857600 hot cache lmtp(14715): Debug:...
2008 Jul 04
1
[Help] quota_rule with LDAP backend, dovecot-1.1.1
Hi, all. I use dovecot-1.1.1 with OpenLDAP as userdb. but i failed to convert quota value as expect. I set '10' as mail quota, and it should be '10M' as expect, but it's not effect, dovecot always uses 'quota_rule' setting in dovecot.conf. How can i fix this issue? 10*1047576? I have 'mailQuota' attr in ldap schema, such as: ----8<---- mailQuota: 10 # <- 10M ----8<---- My dovecot-ldap.conf: ----8<---- user_attrs = homeDirectory=home,mailMessageStore=maildir:mail,mailQuota=quot...
2014 May 27
3
Quota per user from openldap
Hi, in dovecot documentation i try to implement quota per users. i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$ and i see in logs quota(quota_rule=*:bytes=%$)=*:bytes=241800 Debug: Added userdb setting: plugin/quota_rule=*:bytes=241800 but still mail is delivering , i'not sure other settings about 20-imap.conf and 20-pop3.conf from documentation. what is the correct steps for this? than...
2012 Jul 26
4
Problem overriding default quota limit
...limit attribute Dovecot doesn't take default value defined in quota plugin and assign unlimit quota to user. Our configuration is similar to the example from wiki ( http://wiki2.dovecot.org/Quota/Configuration ). This is the plugin configuration _plugin {_ _? quota = maildir:User quota_ _? quota_rule = *:storage=1G_ _? ?.........._ _}_ And this is the recovered fields in LDAP search: _user_attrs = mailMessageStore=home,mailquotasize=quota_rule=*:bytes=%$_ It works if user has mailquotasize in its LDAP entry. But if it hasn't it Dovecot assign 0 instead of ?*:STORAGE=1G This is the log...
2009 Jun 17
2
Quota_rules ignored
Today I upgraded to version 1.1.16 of Dovecot (and Sieve), because I wanted to use mailbox quotas. I tried using the instructions on http://wiki.dovecot.org/Quota/1.1 and simular websites for 4 hours now, but it seems that all quota_rules are ignored. Also, whenever I use a '*' in my MySQL query I get the error: 'unknown quota backend'. With the following query the quota from the database is used (if value is not NULL), but the quota_rules are ignored once again: user_query = SELECT maildir AS home, 5000 AS uid,...
2010 Aug 09
1
dovecot 1.2 and quota_rules from AD
...I?m using the following configuration: dovecot.conf: ... protocol lda { mail_plugins = quota .. } auth default { passdb ldap { args = /etc/dovecot/dovecot-ldap-pass.conf } userdb ldap { args = /etc/dovecot/dovecot-ldap.conf } ... } plugin { quota = maildir:User quota #quota_rule = *:storage=2M // tried with and without this line } dovecot-ldap.conf: ... user_attrs = sAMAccountName=mail=maildir:/var/vmail/%$/Maildir, quotaMail=quota_rule=*:storage=%$ user_filter = (&(objectClass=person)(|(mail=%u)(sAMAccountName=%u))) pass_attrs = sAMAaccountName=user,userPassword...
2011 Dec 05
2
Strange quota problem
...quota enforced, while others don't, and "doveadm user" doesn't seem to agree with "doveadm quota ge gett" Ref: $ doveadm user janfrode at example.net userdb: janfrode at example.net home : /usr/local/atmail/users/j/a/janfrode at example.net mailQuota : quota_rule=*:storage=2100000 $ doveadm -f tab quota get -u janfrode at example.net Quota name Type Value Limit % UserQuota STORAGE 760 1000000 0 UserQuota MESSAGE 62 - 0 Why limit 1000000 instead of 2100000 ? $ doveadm user omar at example.net userdb: omar at example.net home : /usr/local/atm...
2014 Mar 25
0
pb with setting quota_rule=backend quota=fs for quota-warning
Hello my config is debian wheezy with dovecot v.2.1.17-2., plugin quota /imap_quota is ok : I can read the real filesystem user quota for each different user with - doveadmin quota get - thunderbird - SOGo my problem is to configure quota-warning message : 1) if no quota_rule is defined then my dovecot-debug.log looks like Mar 25 18:28:02 imap(testuser): Debug:Quota warning: bytes=0 (80%) messages=0 ... 2) As soon as I set quota_rule = *:storage=1G , quota root is correctly defined, and quota-warning messages are sent according to the ratio I defined (cf belo...
2009 Sep 10
4
ldap quota dovecot
...etc/dovecot-trash.conf sieve: ~/.dovecot.sieve sieve_dir: ~/sieve sieve_extensions: +imapflags +notify dovecot-ldap.conf: hosts = ldap.example.com auth_bind = yes base = ou=people, dc=example, dc=com scope = subtree user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,telephoneNumber=quota_rule=*:storage=%$M user_filter = (&(objectClass=posixAccount)(uid=%u)) pass_attrs = uid=user,userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%u)(!(shadowExpire=*))) default_pass_scheme = CRYPT Imap shows correct quota, but dovecot lda doesn't reject mail and it gets ove...
2011 Nov 09
1
Dovecot 2.0.15 quota configuration with mbox
...%d/%n:INDEX=/var/dovecot/%d/%n inbox = yes hidden = yes } namespace { separator = / prefix = inbox = no location = mbox:/mail/%d/MAILBOXES/%n:INDEX=/var/dovecot/%d/%n } Quota config: plugin { quota = dirsize:User quota # I've tried with: quota_rule = INBOX:storage=819200K quota_rule = INBOX/*:storage=819200K quota_rule = INBOX/Inbox:storage=819200K # Works with: quota_rule = *:storage=819200K quota_rule = ?:storage=819200K (Same behavior as '*') } Using '*' and '?', is the only way I get...
2011 Jun 16
0
quota_rule beeing ignored and set to system soft! quota
Hi, originating from the same Problem Edgar Fu? described here [1] about "Zero-sized Maildir files and index corruption on over-quota" i setup quota = fs:user quotas with a quota_rule set to 1.5G to prevent getting those zero sized mail files. What happens now is that when the user is over system soft quota (1G) mails stop beeing delivered. Jun 16 19:05:45 mail dovecot: deliver(elont1): msgid=<20110616185545.05ab0f56 at x201t>: save failed to INBOX: Quota exceeded (mailbo...
2011 Feb 01
2
override not working
...#39;%d'='virttest2.xxx.net', 'acl imap_acl',null) as mail_plugins, concat('/var/vmail/%d/', maildir) as userdb_home, concat('maildir:/var/vmail/%d/', maildir) as userdb_mail, 101 as userdb_uid, 502 as userdb_gid, CONCAT('*:bytes=', CAST(quota AS CHAR)) AS quota_rule FROM mailbox WHERE username = '%u' user_query = SELECT maildir, if('%d'='virttest2.xxx.net', 'acl imap_acl',null) as mail_plugins, 101 AS uid, 502 AS gid, CONCAT('*:bytes=', CAST(quota AS CHAR)) AS quota_rule FROM mailbox WHERE username = '%u'...
2013 Sep 08
2
Postfixadmin/MySQL/Dovecot 2 and quota
...ername value_field = messages } dovecot-sql.conf.ext: driver = mysql connect = host=localhost dbname=postfix user=postfix password=postfix default_pass_scheme = PLAIN-MD5 password_query = SELECT username AS user, password, \ CONCAT('*:storage=', CAST(quota AS CHAR), 'b') AS quota_rule \ FROM mailbox WHERE username = '%u' AND active='1' user_query = SELECT maildir, 89 AS uid, 12 AS gid, \ concat('dict:storage=',floor(quota/1000),'::proxy::quotadict') AS quota, \ CONCAT('*:storage=', CAST(quota AS CHAR), 'b') AS quota_rul...
2015 Sep 13
3
no login with MySQL
...> The query-strings for virtual users look like this: > > > > password_query = SELECT username AS username, password FROM mailbox > > WHERE username = '%u' AND active = 1 > > user_query = SELECT maildir, uid, gid, concat('*:storage=', quota) AS > > quota_rule, concat('Trash:storage=+', quota_trash) AS quota_rule2 FROM > > mailbox WHERE username = '%u' > > what about > user_query = SELECT CONCAT(maildir, SUBSTRING_INDEX(username,'@',+1)) as > mail, uid, gid, concat('*:storage=', quota) AS quota_rule, &...
2017 Jul 07
2
Return extra fields from passwd userdb
...= yes type = private } passdb { args = /etc/dovecot/passwd.masterusers driver = passwd-file master = yes } passdb { driver = pam } plugin { acl = vfile:/etc/dovecot/acl:cache_secs=300 acl_shared_dict = file:/var/lib/dovecot-dict/shared-mailboxes quota = maildir:User quota quota_rule = *:storage=5M quota_rule2 = Trash:storage=+100M quota_rule3 = SPAM:ignore sieve = ~/.dovecot.sieve sieve_before = /var/etc/dovecot/sieve/general/ sieve_dir = ~/sieve sieve_execute_bin_dir = /usr/local/bin/dovecot/sieve-execute sieve_filter_bin_dir = /usr/local/bin/dovecot/siev...
2010 Oct 27
1
Can quota_rule be inherited by child mailboxes?
Is there a way to make quota_rule apply to subfolders? I've got some symlinked mailboxes which I want to exclude from quotas. This would work, but is verbose: quota_rule6 = USERS.aaa:ignore quota_rule7 = USERS.bbb:ignore ... quota_rule9999 = USERS.zzz:ignore But simply writing this: quota_rule7 = USERS:...
2010 Jul 22
1
problem mysql and dovecot 1.2
...isten client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail plugin: sieve: ~/.dovecot.sieve sieve_dir: ~/sieve quota: dict:user::proxy::quotadict quota_rule: *:storage=100M quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95 dict: quotadict: mysql:/etc/dovecot/dovecot-dict-sql.conf my configuration dovecot-sql.conf cat dovecot-sql.conf #protocols = imap imaps pop3 pop3s # Database driver: mysql, pgsql, sqlite driver = mysql connect =...
2011 Jan 13
1
Quota_rule in dovecot 1.1
...1.2.5.el5 Squirrelmail Postfix MYSQL Centos 5.5 64 Bits I configured my dovecot.conf to leave the "TRASH" folder outside the "quota", but without success ... How do I proceed to give effect to my setup? My dovecot.conf: plugin { quota = maildir quota2 = maildir:user quota *quota_rule = Trash:ignore* quota_exceeded_message = Quota excedida. Por favor, exclua alguns emails! quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 } My dovecot-sql.conf: driver = mysql connect = host=localhost dbname=mail use...
2007 Oct 25
2
few questions about 1.1*
Hi! I'm testing 1.1, and have some questions. (How) Can I override the default maildir++ quota setting (I mean quota_rule) in the userdb, so that one won't have quota at all. Right now I'm setting a very high limit in the userdb with quota_rule=*:storage=99G in the extra field. Prior to 1.1 I was using 1.0 and had fs quota. I've had set up dovecot so that the indexes were stored on another partition wh...
2018 Sep 27
2
Custom variable
...a las 12:04, Aki Tuomi escribi?: > > You can. In passdb, return userdb_your_own_variable=value, in userdb you > can omit the userdb_ prefix, except if you are using passwd-file. > I'm trying this. In the ldap configuration, I have: pass_attrs = =userdb_user=%{ldap:mail},=userdb_quota_rule=%{ldap:quota:*:storage=10G},=userdb_uuid=%{ldap:entryUUID} user_attrs = =user=%{ldap:mail},=quota_rule=%{ldap:quota:*:storage=10G},=uuid=%{ldap:entryUUID} and in my dovecot config I get: mail_home =/mail/mailboxes/%L{uuid} but when I get user fields I have: field value uid vmail gid vmail ho...