search for: quotabytes

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

Did you mean: quota_bytes
2011 Feb 22
1
Quotas from LDAP
Hi all! I have been reading http://wiki2.dovecot.org/Quota/Configuration over and over for the last two days, but something totally escapes my brain right now: How does user_attrs = homeDirectory=home,quotaBytes=quota_rule=*:bytes=%$ get the quota from LDAP into dovecot? What are the LDAP attributes used and what does %$ mean? It is not in the variable list at http://wiki2.dovecot.org/Variables I am feeling very stupid and dense right now, as I am absolutely sure I am missing something very obvious and t...
2017 Jul 21
2
Return extra fields from passwd userdb
...ovecot-lda.log mail_plugins = acl quota sieve } protocol imap { mail_max_userip_connections = 20 mail_plugins = acl quota imap_acl imap_quota } File /var/etc/dovecot/dovecot-ldap.conf.ext is: hosts = localhost base = ou=mnusers,dc=majornet,dc=local user_attrs = quota_rule=*:bytes=%{ldap:quotaBytes} But when I run: doveadm -D quota get -u afasystems No extra field is returned: doveadm(root): Debug: Loading modules from directory: /usr/lib/dovecot doveadm(root): Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so doveadm(root): Debug: Module loaded: /usr/lib/dovecot/lib10_quota_plugi...
2015 Apr 17
1
userdb username changed
...Apr 17 09:27:34 imap21 dovecot: quota-status: Debug: Loading modules from directory: /usr/lib64/dovecot (...) Apr 17 09:27:34 imap21 dovecot: auth-worker(27661): Debug: sql(ppp at example.net): SELECT at.userid AS user, at.home AS home, at.uid AS uid, at.gid AS gid, concat('*:storage=', at.quotabytes, 'b:messages=', at.quotamessages) AS quota_rule FROM auth at INNER JOIN mailaddr mt ON at.userid = mt.userid WHERE mt.mailaddress = 'ppp at example.net' OR at.userid = 'ppp at example.net' Apr 17 09:27:34 imap21 dovecot: auth-worker(27661): Debug: sql(ppp at example.net): us...
2017 Jul 21
0
Return extra fields from passwd userdb
...l quota sieve } > protocol imap { mail_max_userip_connections = 20 mail_plugins = > acl quota imap_acl imap_quota } > > > File /var/etc/dovecot/dovecot-ldap.conf.ext is: > > hosts = localhost base = ou=mnusers,dc=majornet,dc=local > user_attrs = quota_rule=*:bytes=%{ldap:quotaBytes} > > > But when I run: doveadm -D quota get -u afasystems Well, first try this: doveadm user afasystems All extra fields should be displayed (quotaByte only in your example). Then verify that this user has quotaBytes at all ldapsearch -B ou=mnusers,dc=majornet,dc=local user=afasyste...
2010 Jul 07
1
Director service for LMTP in 2.0rc1
...USER 2 user56 at domain.de service=lmtp lip=::1 rip=::1 Jul 07 15:00:48 auth: Debug: ldap(user56 at domain.de,::1): user search: base=ou=mailboxes,ou=vfag,c=de,o=top scope=subtree filter=(&(objectClass=uco)(mail=user56 at domain.de)) fields=homeDirectory,uidNumber,gidNumber,quotaBytes Jul 07 15:00:48 auth: Debug: ldap(user56 at domain.de,::1): result: homeDirectory(home)=/mail/001/32/00/00/1000000000032 quotaBytes(quota_rule=*:storage=%$B)=*:storage=1073741824B Jul 07 15:00:48 auth: Debug: master out: USER 2 user56 at domain.de home=/mail/001/32/00/00/10000000000...
2018 Feb 06
2
LDAP userdb and dovecot LDA/LMTP - different requirements
...ap:uid}, \ @mail=base(%{ldap:mailDN}), \ =uid=%{ldap:uidNumber at mail}, \ =gid=%{ldap:gidNumber at mail}, \ =home=%{ldap:rootPath at mail}/%d/%n or user_attrs = \ =home=%{ldap:homeDirectory}, \ =uid=%{ldap:uidNumber}, =gid=%{ldap:gidNumber}, =quota_rule=*:bytes=%{ldap:quotaBytes}, =namespace/default/separator=%{ldap:mailSeparator} Can anyone explain how these constructions work? And what do mean attribute notations in the form '=attr=' or '@attr=' or 'quota_rule=*:storage=100M' ? Nowhere have I found a sufficiently comprehensible description of...
2017 Jul 07
2
Return extra fields from passwd userdb
...: quota_over_script unset - skipping doveadm(afasystems): Debug: Namespace : Using permissions from /data/home/afasystems/.maildir: mode=0700 gid=default Quota name Type Value Limit % User quota STORAGE 469 102400 0 User quota MESSAGE 6 - 0 That's ok, but i want to return quota from quotaBytes userdb parameter But if I use "default_fields = quota_rule=*:bytes=%$" in userdb, Output of "doveadm -D quota get -u afasystems" is: Debug: Loading modules from directory: /usr/lib/dovecot Debug: Module loaded: /usr/lib/dovecot/lib01_acl_plugin.so Debug: Module loaded: /usr/l...
2017 Jul 20
3
Return extra fields from passwd userdb
...s from passwd userdb. My users >> are partially in passwd files and partially in LDAP. Users who use >> mail are in LDAP db. > >> If I use "default_fields = quota_rule=*:bytes=100M" in userdb, > >> if I use "default_fields = quota_rule=*:bytes=%{userdb:quotabytes}" >> in userdb, > > 1) default_fields supplies default values, if the userdb does not > return them. Hence, you cannot reference a LDAP result. > > 2) the userdb section cannot merge two databases together. You said > "Users who use mail are in LDAP db", so...
2017 Jul 10
0
Return extra fields from passwd userdb
...ms in return extra fields from passwd userdb. My users are > partially in passwd files and partially in LDAP. Users who use mail are in > LDAP db. > If I use "default_fields = quota_rule=*:bytes=100M" in userdb, > if I use "default_fields = quota_rule=*:bytes=%{userdb:quotabytes}" in > userdb, 1) default_fields supplies default values, if the userdb does not return them. Hence, you cannot reference a LDAP result. 2) the userdb section cannot merge two databases together. You said "Users who use mail are in LDAP db", so you would one userdb with drive...
2018 Feb 07
0
LDAP userdb and dovecot LDA/LMTP - different requirements
...with their mail address. On the other hand, can you solve the aliases in LDAP into usernames by Postfix: http://www.postfix.org/ldap_table.5.html > user_attrs = \ > =home=%{ldap:homeDirectory}, \ > =uid=%{ldap:uidNumber}, > =gid=%{ldap:gidNumber}, > =quota_rule=*:bytes=%{ldap:quotaBytes}, > =namespace/default/separator=%{ldap:mailSeparator} > > Can anyone explain how these constructions work? > And what do mean attribute notations in the form '=attr=' or '@attr=' > or 'quota_rule=*:storage=100M' ? > Nowhere have I found a sufficiently com...
2011 Aug 04
0
dovecot + postfix + kerberos + AD - Multiple mailboxes ???
...a,..., Etc. Postfix does not know how to work with attributes that have multiple meanings. If I'm wrong correct me. ) ) ) Dovecot, respectively, too... ) ) ) *What to do in this situation? Maybe there is some solution?* *dovecot-ldap.conf:* user_attrs = mail=mail=maildir:/var/spool/mail/%$, quotaBytes=quota_rule=*:bytes=%$ user_filter = (&(objectClass=Person)(sAMAccountName=%n)) pass_attrs = userPassword=password pass_filter = (&(objectClass=posixAccount)(uid=%u)) ls /var/mail ross at energo.cg.ukrtel.net simbios at oblr.cn.energy.gov.ua This directory create postfix. With ross Dovecot...
2017 Jul 20
0
Return extra fields from passwd userdb
...sers are >>> partially in passwd files and partially in LDAP. Users who use mail are in >>> LDAP db. >> >>> If I use "default_fields = quota_rule=*:bytes=100M" in userdb, >> >>> if I use "default_fields = quota_rule=*:bytes=%{userdb:quotabytes}" in >>> userdb, >> >> 1) default_fields supplies default values, if the userdb does not return >> them. Hence, you cannot reference a LDAP result. >> >> 2) the userdb section cannot merge two databases together. You said "Users >> who use...