Current time: 05-19-2024, 06:56 AM Hello There, Guest! (LoginRegister)


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

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Roundcube quota error
Quote:with dovecot and enabled imap quota it works flawless...
Yeah ? I did also try it now but have the same Problem:
[Image: quotan.th.jpg]

I enabled the debug Modus in the dovecotc.conf.
Here is the output from the mail.log
Code:
Mar  6 21:18:05 vsXXXXX dovecot: Dovecot v1.0.15 starting up
Mar  6 21:18:05 vsXXXXX dovecot: auth-worker(pysieved): mysql: Connected to localhost (ispcp)
Mar  6 21:18:05 vsXXXXX dovecot: auth-worker(default): mysql: Connected to localhost (ispcp)
Mar  6 21:18:05 vsXXXXX dovecot: auth-worker(pysieved): mysql: Connected to localhost (ispcp)
Mar  6 21:18:05 vsXXXXX dovecot: auth-worker(default): mysql: Connected to localhost (ispcp)
Mar  6 21:18:05 vsXXXXX dovecot: auth-worker(pysieved): mysql: Connected to localhost (ispcp)
Mar  6 21:18:05 vsXXXXX dovecot: auth-worker(default): mysql: Connected to localhost (ispcp)
Mar  6 21:18:32 vsXXXXX dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Loading modules from directory: /usr/lib/dovecot/modules/imap
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Effective uid=1000, gid=8, home=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Namespace: type=private, prefix=INBOX., sep=, inbox=yes, hidden=no, subscriptions=no
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: data=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: root=/var/mail/virtual/mydomain.tld/bene, index=/var/mail/virtual/mydomain.tld/bene, control=, inbox=
Mar  6 21:18:32 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out
Mar  6 21:18:33 vsXXXXX dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Loading modules from directory: /usr/lib/dovecot/modules/imap
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Effective uid=1000, gid=8, home=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Namespace: type=private, prefix=INBOX., sep=, inbox=yes, hidden=no, subscriptions=no
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: data=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: root=/var/mail/virtual/mydomain.tld/bene, index=/var/mail/virtual/mydomain.tld/bene, control=, inbox=
Mar  6 21:18:33 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out
Mar  6 21:18:36 vsXXXXX dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Loading modules from directory: /usr/lib/dovecot/modules/imap
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Effective uid=1000, gid=8, home=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Namespace: type=private, prefix=INBOX., sep=, inbox=yes, hidden=no, subscriptions=no
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: data=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: root=/var/mail/virtual/mydomain.tld/bene, index=/var/mail/virtual/mydomain.tld/bene, control=, inbox=
Mar  6 21:18:36 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out
Mar  6 21:18:40 vsXXXXX dovecot: imap-login: Login: user=<bene@mydomain.tld>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Loading modules from directory: /usr/lib/dovecot/modules/imap
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib10_quota_plugin.so
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Module loaded: /usr/lib/dovecot/modules/imap/lib11_imap_quota_plugin.so
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Effective uid=1000, gid=8, home=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Namespace: type=private, prefix=INBOX., sep=, inbox=yes, hidden=no, subscriptions=no
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: data=/var/mail/virtual/mydomain.tld/bene
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): maildir: root=/var/mail/virtual/mydomain.tld/bene, index=/var/mail/virtual/mydomain.tld/bene, control=, inbox=
Mar  6 21:18:40 vsXXXXX dovecot: IMAP(bene@mydomain.tld): Disconnected: Logged out
Looks like the Quota Modul is loaded. Of course there is a quota in the ispCP DB. I used the 10MB default and did not changed it. Before i did changed the dovecot and add the Quota like:
Code:
protocol imap {
     mail_plugins = quota imap_quota
   }
   protocol pop3 {
    mail_plugins = quota
   }
   protocol lda {
    mail_plugins = quota
   }
and modified the dovecot-sql-domain.conf as described in the HowTo:
Code:
user_query = SELECT concat('/var/mail/virtual/', domain.domain_name, '/',mail_acc) as home, '1001' as uid, '8' as gid, concat('maildir:storage=', floor(quota/1024)) AS quota 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');
the Text "Speicherplatz: unbegrenzt" was not there.
So roundcube understand the new feature in any way, but no correct ?!
(The only thing i changed was the UID i did.)

Here is my dovecot config:
Code:
dovecot -n
# 1.0.15: /etc/dovecot/dovecot.conf
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_debug: yes
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):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %u-%v
namespace:
  type: private
  prefix: INBOX.
  inbox: yes
auth pysieved:
  mechanisms: plain login
  verbose: yes
  passdb:
    driver: checkpassword
    args: /var/www/ispcp/engine/ispcp-dovecot-mngr
  userdb:
    driver: prefetch
  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: prefetch
  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
I checked it many time but cant find the error Rolleyes
BTW: Is the change in the sql File not also needed for Alias and subdomains ?

Greez BeNe

//EDIT
Is there the
Code:
and domain.domain_name='%d'
missing in the new sqlfile ?
(This post was last modified: 03-07-2009 07:42 AM by BeNe.)
03-07-2009 07:36 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 error - saracibar - 02-28-2009, 05:35 PM
RE: Roundcube quota error - saracibar - 03-07-2009, 03:34 AM
RE: Roundcube quota error - rbtux - 03-07-2009, 03:41 AM
RE: Roundcube quota error - BeNe - 03-07-2009 07:36 AM
RE: Roundcube quota error - rbtux - 03-07-2009, 08:08 AM
RE: Roundcube quota error - BeNe - 03-07-2009, 08:55 AM
RE: Roundcube quota error - rbtux - 03-07-2009, 09:15 AM
RE: Roundcube quota error - BeNe - 03-07-2009, 09:22 AM
RE: Roundcube quota error - BeNe - 03-07-2009, 10:22 AM
RE: Roundcube quota error - rbtux - 03-07-2009, 10:52 AM
RE: Roundcube quota error - BeNe - 03-07-2009, 11:10 AM
RE: Roundcube quota error - rbtux - 03-07-2009, 11:19 AM
RE: Roundcube quota error - BeNe - 03-07-2009, 10:11 PM
RE: Roundcube quota error - rbtux - 03-07-2009, 10:29 PM
RE: Roundcube quota error - BeNe - 03-07-2009, 11:06 PM
RE: Roundcube quota error - TheCry - 03-12-2009, 03:19 AM
RE: Roundcube quota error - BeNe - 03-12-2009, 03:54 AM
RE: Roundcube quota error - TheCry - 03-12-2009, 04:12 AM
RE: Roundcube quota error - BeNe - 03-12-2009, 05:06 PM
RE: Roundcube quota error - FISA4 - 03-13-2009, 08:31 AM
RE: Roundcube quota error - rbtux - 03-13-2009, 09:24 AM
RE: Roundcube quota error - FISA4 - 03-13-2009, 09:32 AM
RE: Roundcube quota error - BeNe - 03-13-2009, 04:45 PM
RE: Roundcube quota error - FISA4 - 03-13-2009, 11:13 PM
RE: Roundcube quota error - alecksievici - 03-14-2009, 04:43 PM
RE: Roundcube quota error - fhawk - 03-14-2009, 07:42 PM
RE: Roundcube quota error - BeNe - 03-15-2009, 01:37 AM

Forum Jump:


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