Current time: 11-30-2024, 07:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
Roundcube quota Anzeige
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: Roundcube quota Anzeige
Ja Du musst folgenden Part deaktivieren, so:
Code:
#userdb prefetch {
#}
Beides mal, unter auth default und einmal unter auth pysievd.

Das Plugin muss so aussehen:
Code:
plugin {
quota = maildir:User quota
quota_rule = *:storage=1G
}
Der SQL-String sieht dann so aus:
Code:
user_query = SELECT concat('/var/mail/virtual/', domain.domain_name, '/',mail_acc) as home, '1000' as uid, '8' as gid, concat('*:bytes=', quota) AS quota_rule FROM mail_users inner join domain on mail_users.domain_id = domain.domain_id WHERE mail_acc='%n' and (mail_type='normal_mail' OR mail_type='normal_mail,normal_forward');

Hier noch meine config zum vergleich:
Code:
base_dir: /var/run/dovecot/
protocols: imap pop3 imaps pop3s
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_access_groups: mail
mail_location: maildir:/var/mail/virtual/%d/%n
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(default): %08Xu%08Xv
pop3_uidl_format(imap): %08Xu%08Xv
pop3_uidl_format(pop3): %u-%v
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
  list: yes
  subscriptions: yes
auth pysieved:
  mechanisms: plain login
  verbose: yes
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-domain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-subdomain.conf
  socket:
    type: listen
    client:
      path: /var/run/pysieved/auth
      mode: 432
      user: vmail
      group: mail
    master:
      path: /var/run/pysieved/auth-master
      mode: 432
      user: vmail
      group: mail
auth default:
  mechanisms: plain login
  verbose: yes
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-domain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-aliasdomain.conf
  userdb:
    driver: sql
    args: /etc/dovecot/dovecot-sql-subdomain.conf
  socket:
    type: listen
    client:
      path: /var/spool/postfix/private/auth
      mode: 432
      user: postfix
      group: postfix
    master:
      path: /var/run/dovecot/auth-master
      mode: 432
      user: vmail
      group: mail
plugin:
  quota: maildir:User quota
  quota_rule: *:storage=1G

Greez BeNe
03-14-2009 03:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Roundcube quota Anzeige - magoo - 03-12-2009, 07:53 AM
RE: Roundcube quota Anzeige - ZooL - 03-12-2009, 08:37 AM
RE: Roundcube quota Anzeige - magoo - 03-12-2009, 08:47 AM
RE: Roundcube quota Anzeige - BeNe - 03-12-2009, 05:22 PM
RE: Roundcube quota Anzeige - magoo - 03-12-2009, 08:13 PM
RE: Roundcube quota Anzeige - BeNe - 03-12-2009, 08:19 PM
RE: Roundcube quota Anzeige - TheCry - 03-14-2009, 01:10 AM
RE: Roundcube quota Anzeige - BeNe - 03-14-2009 03:28 AM
RE: Roundcube quota Anzeige - TheCry - 03-14-2009, 04:00 AM
RE: Roundcube quota Anzeige - BeNe - 03-14-2009, 07:15 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)