search for: mailquota

Displaying 20 results from an estimated 61 matches for "mailquota".

2007 May 13
1
mailquota in ldap attribute 'mailQuota'
...ng the ldap quota in an ldap attribute, which still doesn't work. /etc/dovecot.conf protocols = imap pop3 mail_location = maildir:/data/mail/%u/Maildir protocol imap { mail_plugins = quota imapquota } plugin { quota = maildir:ignore=Trash } the rest are defaults added an attribute 'mailQuota' with value '10240' kbytes or 10Mbytes as for /etc/dovecot-ldap.conf user_attrs = mail,homeDirectory=home,uidNumber=uid,gidNumber=gid,quotaStorage=mailQuota Would appreciate if anyone could assist on this. I'd prefer to use the above than setting the mail quota manually: quota...
2011 Dec 05
2
Strange quota problem
I have a strange problems with quota on v2.0.14. We have an ldap user directory, and all users should have a mailQuota defined there. My problem is that some users gets the 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/atm...
2007 Mar 20
1
[Re: Dovecot - with LDAP auth backend]
Hi Timo, What I did actually was change option (D) to the following below, or do I have to remove this one altogether? plugin { quota = maildir } Then added the attribute mailquota=10240 as I had defined in my dovecot schema And when I did a tried to run getquota "" or getquotaroot inbox (via telnet localhost 143), it would return me a "no quota" message. What I am able deduce is that the mailquota attribute did not take effect at all. Do you think I ma...
2008 May 23
4
Error while set mailQuota=0 with mbox and LDAP backend
Hi, all. I have OpenLDAP(+qmail.schema), Dovecot, Postfix installed on RHEL 5.1 (x86_64), and they works fine with mbox format. The problem is if i set 'mailQuota=0' in LDAP, postfix can't send mail to recipient user. But it works fine with 'mailQuota != 0', such as '10240'(10M). What's wrong with my mail server setting? How can i solved this issue? Thanks very much. Bellow is the mail log from /var/log/maillog: -------------...
2007 May 21
1
per user quota using LDAP entries
...ot being honored, only the global quota setting. I do have an "quota = maildir:storage=204800" in the plugin area and enabled quota in the mail_plugins for both imap and pop3. This is my user attribute in /etc/dovecot-ldap.conf: user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,mailQuota=quota wherein the "mailQuota" attribute has an entry of "mailQuota: maildir:storage=30720". So i was expecting of a 300MB quota for that user, but dovecot is using the global quota of 200MB instead of 300MB. My dovecot version is 1.0.0 My dovecot.conf: -----------------------...
2008 Jul 04
1
[Help] quota_rule with LDAP backend, dovecot-1.1.1
...t-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=quota_rule=*:bytes=%$ ----8<---- And my dovecot.conf: ----8<---- plugin { quota = ma...
2007 Mar 19
1
Dovecot - with LDAP auth backend
I have the following installed (1) CentOS 2.6.9-42.ELsmp (2) dovecot-1.0-3_50.rc27.el4.at, (3) openldap-2.2.13-6.4E (A) I have added the following schema into /etc/openldap/schema attributetype ( 1.3.6.1.4.1.14237.1.1.1.1 NAME 'mailquota' DESC 'The size of space the user can have until further messages get bounced.' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE ) objectclass ( 1.3.6.1.4.1.14237.1.1.2.1 NAME 'DovecotUser' DESC 'Dovecot-LDAP User' SUP top AUXILIARY MUST (...
2013 Apr 02
1
LDAP: error with iterate_query
...m dnpass = 1 debug_level = 128 auth_bind = yes auth_bind_userdn = uid=%n,dc=%d,ou=C,o=m ldap_version = 3 base = ou=C,o=m deref = never scope = subtree user_attrs = \ =home=/var/vmail/%d/%n/, \ =proxy_maybe=y, \ =nodelay=y, \ =host=%{ldap:mailHost}, \ =quota_rule=*:storage=%{ldap:mailQuota}M user_filter = (&(objectClass=mailUser)(uid=%n)) iterate_attrs = mail=user iterate_filter = (objectClass=mailUser) Request for one user: # doveadm user -u basov at mega.ru userdb: basov at m.u home : /var/vmail/m.u/basov/ proxy_maybe: y nodelay : y host : mailsys quota...
2009 Mar 13
4
How can i override mail_location?
...39;: ---- maildir:/home/vmail/a.cn/w/ww/www/ ---- LDAP user: ---- dn: mail=www at a.cn,ou=Users,domainName=a.cn,o=domains,dc=iredmail,dc=org objectClass: inetOrgPerson objectClass: mailUser objectClass: top cn: www sn: www uid: www mail: www at a.cn accountStatus: active homeDirectory: /home/vmail mailQuota: 104857600 userPassword: {SSHA}crkYO5tg8KRkOY7W3bRgjtLQ+79U4NgG enabledService: mail enabledService: smtp enabledService: pop3 enabledService: imap enabledService: deliver mailMessageStore: a.cn/w/ww/www/ ---- Dovecot ldap config file: ---- user_attrs = homeDirectory=home,=sieve_dir=/home/vm...
2010 Oct 20
1
Campo de quota en LDAP
En un principio, en los ldif que tenemos de los usuarios de prueba, tenemos el campo mailQuota. Sin embargo, si nos vamos a los schemas de qmail medianamente, con algo m?s de 3 a?os, se cambi? mailQuota por mailQuotaSize y mailQuoatCount. Esto se debe entre otras cosas a que en la cabecera del fichero maildirsize del buz?n, tenemos esta informaci?n, es decir, m?ximo tama?o ocupado y m?ximo n...
2007 Jul 25
1
v1.1 alpha1: can't pop/imap login with LDAP
...roup: mssmail plugin: quota: maildir:ignore=Trash ----- And our dovecot-ldap.conf is: ----- hosts =localhost:40389 dn =cn=Manager,o=internet,c=jp dnpass = ******** auth_bind = no ldap_version = 3 base = ou=mail,o=internet,c=jp user_attrs = mail=user,uidNumber=uid,gidNumber=gid,homeDirectory=home,mailQuota=quota=maildir:ignore=Trash:storage user_filter = (&(objectClass=mailAccount)(mail=%u)) pass_attrs = mail=user,userPassword=password,uidNumber=userdb_uid,gidNumber=userdb_gid,homeDirectory=userdb_home,mailQuota=userdb_quota=maildir:igno\ re=Trash:storage pass_filter = (&(objectClass=mailAcco...
2009 Oct 15
2
Expire issue
...th(default): master in: USER 1 user at mydomain.it service=expire dovecot: 2009-10-16 15:33:03 Info: auth(default): ldap(user at mydomain.it): user search: base=dc=mydomain,dc=it scope=subtree filter=(&(objectClass=inetOrgPerson)(mail=user at mydomain.it)) fields=mailMessageStore,mailquota dovecot: 2009-10-16 15:33:03 Info: auth(default): ldap(user at mydomain.it): result: mailMessageStore(home)=/var/vmail/0/0/0/4/0 mailquota(quota_rule=*:backend)=104857600S dovecot: 2009-10-16 15:33:03 Info: auth(default): master out: USER 1 user at mydomain.it home=/var/vmail/0/0/0/...
2009 Dec 16
2
Dovecot 1.2.+
...roxy for some reasons. Is it possible to get the full path for dovecot-quota file location from LDAP like from mail variable (/mailboxes/storage_01/domain.org/u/us/use/user/dbox/dovecot-quota)? /etc/dovecot/dovecot-ldap.conf user_attrs = storageBase=home,mailMessageStore=mail=dbox:~/%$/dbox/,mailQuota=quota_rule=*:bytes=%$,mailQuotaMessageLimit=quota_rule2=*:messages=%$ Also is it also possible the same for sieve location? I can solve the problem by adding in dovecot.conf sieve = /var/sieve/%Ld/%Ln/dovecot.sieve but i would like to have it all in one place ... t -- View this message in co...
2011 Feb 08
1
converting from maildir to mdbox ?
I?m considering moving from maildir to mdbox, but don?t quite see how I should do the conversion with minimal downtime. Our userdb is ldap, and the we use this setting to point to the users maildirectory: user_attrs = mailMessageStore=mail=maildir:%$:INDEX=/indexes/%1u/%1.1u/%u,mailQuota=quota_rule=*:storage=%$ i.e. every user has a "mailMessageStore" attribute in LDAP that points to his INBOX. Any ideas for how we can migrate user by user to mdbox? Can we add a mailboxFormat attribute to LDAP, and somehow get that used in the user_attrs lookup ? Ideally have it default...
2014 Jul 09
1
Dovecot ldap quotas in MB
Hi All, I have the Dovecot quota value coming from LDAP using the line below but my values are stored in MB, not bytes. What can I put in the line to set quotas in MB? user_attrs = homeDirectory=home,mailUID=uid,mailGID=gid,mailQuota=quota_rule=*:bytes=%$ Thanks Murray
2011 Apr 11
1
trying to combine static userdb with LDAP passdb with per-user userdb_mail and userdb_home
...2.20.20.216 lport=143 rport=1227 resp=<hidden> Apr 11 13:32:29 auth: Debug: ldap(joe at domain.com,172.20.20.216): pass search: base=pdomain=domain.com,ou=mail,dc=org,dc=ru scope=onelevel filter=(&(objectClass=mailAccount)(uid=joe)(accountStatus=TRUE)) fields=mail,userPassword,mailQuota,homeDirectory,mailMessageStore Apr 11 13:32:29 auth: Debug: ldap(joe at domain.com,172.20.20.216): result: mail(user)=joe at domain.com mailQuota(userdb_quota_rule=*:bytes=%$)=1073741824 mailMessageStore(userdb_mail)=/var/vmail/domain.com/p/joe/Maildir homeDirectory(userdb_home)=/var/vmail/domain.c...
2011 Jan 03
2
Finally upgrading from v1.0.15 to v1.2.16 -- advice please
...er = (&(objectClass=altiboxperson)(uid=%n)) default_pass_scheme = SSHA but the user_query is a challenge.. In LDAP we have: uid = janfrode, ou=people,o=domain1.net,o=ISP,o=example,c=net mail = janfrode at domain1.net mailMessageStore = /usr/local/atmail/users/j/a/janfrode at domain1.net mailQuota = 1000000 domain = domain1.net userPassword = SSHA-string So, outside of the user_attrs we need: mail_uid = 3000 mail_gid = 3000 But I'm having a hard time understanding how I can use the ldap value mail=/usr/local/atmail/users/j/a/janfrode at domain1.net to translate into dovecot's...
2010 Jun 03
2
mangled user_attrs from LDAP
...0, del=0/0, size=0 After much searching for anything different between these records, some tcpdumps showed that the problem occured when LDAP returned the attributes in a different order than they are requested in. In this sample, you can see the request for uid,homeDirectory,uidNumber,gidNumber,mailQuota and the values are returned in the order gidNumber, uid, uidNumber, homeDirectory. There is no mailQuota set for this user. 16:54:06.145597 IP mail.xxxxx.com.62929 > closest-ldap.ldap: P 14:261(247) ack 15 win 33304 <nop,nop,timestamp 1521221146 267819447> 0x0000: 4500 012b fd4d 40...
2010 Jan 14
3
LDA and POP3/IMAP user_query
...mbox and the email address lefthand content, the compound SQL query returns both results and the LDA will use the first one, which in this case was the wrong one. This is the query used: user_query = \ SELECT mailboxes.username AS user, mailboxes.uid, mailboxes.gid, \ concat('*:storage=',mailquota,'M') AS quota_rule \ FROM mailboxes JOIN accounts ON accounts.username = mailboxes.username \ WHERE ((mailboxes.username = '%n' AND accounts.active='1') || \ (mailboxes.email = '%u' AND mailboxes.active='1' AND accounts.active='1') || \ (mailboxes.ema...
2011 Jun 03
1
Extra plugins vía extrafield in ldap
...SPAM autocreate2 = INBOX.NoSPAM autosubscribe = INBOX.SPAM autosubscribe2 = INBOX.NoSPAM quota = maildir } protocol imap { mail_plugins = $mail_plugins imap_quota autocreate } And in passwd-ldap.conf I have some like this to add extra plugins: user_attrs = homeDirectory=home,uid=user,mailQuota=quota_rule=*:bytes=%$,mailPlugins=mail_plugins With this. I can see that dovecot load all plugins from settings, but in the user session, I can get only the plugins that I have selected in mailPlugins field If i check some like this: mailPlugins=mail_plugins=$mail_plugins %$, The imap session...