On Fri, 2009-06-19 at 11:27 +0300, razor wrote:
pass_filter = (&(objectClass=posixAccount)(uid=%u)) boxQuota=userdb_quota_rule=*:storage=%$k
..
pass_attrs = uid=user,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid,boxQuota=userdb_quota=maildir:stora ge=%$K,userPassword=password,status=userdb_status
You didn't update this.
sorry, wrong copypaste (
with
quota_rule = *:storage=500000K
user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,boxQuota=quote_rule=*:storage=%$k,status pass_attrs = uid=user,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid,boxQuota=userdb_quota=*:storage=%$K ,userPassword=password,status=userdb_status
=
sudo /usr/local/etc/rc.d/dovecot restart Stopping dovecot. Waiting for PIDS: 97782. Starting dovecot. ILoading modules from directory: /usr/local/lib/dovecot/imap IModule loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so IModule loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so IEffective uid=65534, gid=65534, home=/tmp Iquota: No quota setting - plugin disabled <---------------------
deliver(test): Jun 22 07:39:38 Info: Loading modules from directory: /usr/local/lib/dovecot/lda deliver(test): Jun 22 07:39:38 Info: Module loaded: /usr/local/lib/dovecot/lda/lib10_quota_plugin.so deliver(test): Jun 22 07:39:38 Info: auth input: uid=26 deliver(test): Jun 22 07:39:38 Info: auth input: gid=6 deliver(test): Jun 22 07:39:38 Info: auth input: home=/nonexistent deliver(test): Jun 22 07:39:38 Info: auth input: status=true deliver(test): Jun 22 07:39:38 Info: auth input: quote_rule=*:storage=1000k deliver(test): Jun 22 07:39:38 Info: Home dir not found: /nonexistent deliver(test): Jun 22 07:39:38 Info: quota: No quota setting - plugin disabled deliver(test): Jun 22 07:39:38 Info: Namespace: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes deliver(test): Jun 22 07:39:38 Info: maildir: data=/data/vmail/data/XXXXXXXXXXXXXXX/test/Maildir deliver(test): Jun 22 07:39:38 Info: maildir++: root=/data/vmail/data/XXXXXXXXXXXXXXX/test/Maildir, index=, control=, inbox=/data/vmail/data/XXXXXXXXXXXXXXX/test/Maildir deliver(test): Jun 22 07:39:38 Info: msgid=<op.uvwsued5wnsbdb@lg54>: saved mail to INBOX
========================================= quota = maildir:User quota quota_rule = *:storage=500000K
user_attrs = homeDirectory=home,uidNumber=uid,gidNumber=gid,boxQuota=quote_rule=*:storage=%$k,status pass_attrs = uid=user,homeDirectory=userdb_home,uidNumber=userdb_uid,gidNumber=userdb_gid,boxQuota=userdb_quota=*:storage=%$K ,userPassword=password,status=userdb_status
=
sudo /usr/local/etc/rc.d/dovecot restart Stopping dovecot. Waiting for PIDS: 52950. Starting dovecot. ILoading modules from directory: /usr/local/lib/dovecot/imap IModule loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so IModule loaded: /usr/local/lib/dovecot/imap/lib11_imap_quota_plugin.so IEffective uid=65534, gid=65534, home=/tmp IQuota root: name=User quota backend=maildir args= IQuota rule: root=User quota mailbox=* bytes=512000000 messages=0
deliver(test): Jun 22 07:41:13 Info: Loading modules from directory: /usr/local/lib/dovecot/lda deliver(test): Jun 22 07:41:13 Info: Module loaded: /usr/local/lib/dovecot/lda/lib10_quota_plugin.so deliver(test): Jun 22 07:41:13 Info: auth input: uid=26 deliver(test): Jun 22 07:41:13 Info: auth input: gid=6 deliver(test): Jun 22 07:41:13 Info: auth input: home=/nonexistent deliver(test): Jun 22 07:41:13 Info: auth input: status=true deliver(test): Jun 22 07:41:13 Info: auth input: quote_rule=*:storage=1000k deliver(test): Jun 22 07:41:13 Info: Home dir not found: /nonexistent deliver(test): Jun 22 07:41:13 Info: Quota root: name=User quota backend=maildir args= deliver(test): Jun 22 07:41:13 Info: Quota rule: root=User quota mailbox=* bytes=512000000 messages=0 deliver(test): Jun 22 07:41:13 Info: Namespace: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes deliver(test): Jun 22 07:41:13 Info: maildir: data=/data/vmail/data/XXXXXXXXXXXXXXX/test/Maildir deliver(test): Jun 22 07:41:13 Info: maildir++: root=/data/vmail/data/XXXXXXXXXXXXXXX/test/Maildir, index=, control=, inbox=/data/vmail/data/XXXXXXXXXXXXXXX/test/Maildir deliver(test): Jun 22 07:41:13 Info: msgid=<op.uvwsw1ugwnsbdb@lg54>: saved mail to INBOX
- squrellmail gives an error with this config at login :(
-- реклама ----------------------------------------------------------- www.hostpro.ua – 8 лет! Тариф «Именинник»: 8Гб диска, 8 сайтов - $8/мес.