Dnia 2012-10-08, pon o godzinie 21:41 +0800, Edwin Casimero pisze:
> The downside is that the built in quota usage display no longer works.

Check this config patch:
8<-- dovecot_config-1.2.16.patch 
--- dovecot.conf        2011-02-02 19:24:52.000000000 +0100
+++ dovecot.conf.org    2011-01-25 17:34:52.000000000 +0100
@@ -238,17 +238,15 @@
 # explicitly, ie. mail_location does nothing unless you have a namespace
 # without a location setting. Default namespace is simply done by having a
 # namespace with empty prefix.
-namespace private {
+#namespace private {
    # Hierarchy separator to use. You should use the same separator for all
    # namespaces or some clients get confused. '/' is usually a good one.
    # The default however depends on the underlying mail storage format.
    #separator = 
-   separator = .
 
    # Prefix required to access this namespace. This needs to be different for
    # all namespaces. For example "Public/".
    #prefix = 
-   prefix = INBOX.
 
    # Physical location of the mailbox. This is in same format as
    # mail_location, which is also the default for it.
@@ -257,7 +255,6 @@
    # There can be only one INBOX, and this setting defines which namespace
    # has it.
    #inbox = no
-   inbox = yes
 
    # If namespace is hidden, it's not advertised to clients via NAMESPACE
    # extension. You'll most likely also want to set list=no. This is mostly
@@ -274,7 +271,7 @@
    # Namespace handles its own subscriptions. If set to "no", the parent
    # namespace handles them (empty prefix should always have this as "yes")
    #subscriptions = yes
-}
+#}
 
 # Example shared namespace configuration
 #namespace shared {
@@ -301,8 +298,6 @@
 # or names. <doc/wiki/UserIds.txt>
 #mail_uid =
 #mail_gid =
-mail_uid = 89
-mail_gid = 89
 
 # Group to enable temporarily for privileged operations. Currently this is
 # used only with INBOX when either its initial creation or dotlocking fails.
@@ -382,8 +377,6 @@
 # be done even if first_valid_uid is set to 0.
 #first_valid_uid = 500
 #last_valid_uid = 0
-first_valid_uid = 89
-last_valid_uid = 89
 
 # Valid GID range for users, defaults to non-root/wheel. Users having
 # non-valid GID as primary group ID aren't allowed to log in. If user
@@ -391,8 +384,6 @@
 # not set.
 #first_valid_gid = 1
 #last_valid_gid = 0
-first_valid_gid = 89
-last_valid_gid = 89
 
 # Maximum number of running mail processes. When this limit is reached,
 # new users aren't allowed to log in.
@@ -572,8 +563,8 @@
 
   # Support for dynamically loadable plugins. mail_plugins is a space separated
   # list of plugins to load.
-  mail_plugins = quota imap_quota trash
-  mail_plugin_dir = /usr/lib64/dovecot/imap
+  #mail_plugins = 
+  #mail_plugin_dir = /usr/lib/dovecot/imap
 
   # IMAP logout format string:
   #  %i - total number of bytes read from client
@@ -690,8 +681,8 @@
 
   # Support for dynamically loadable plugins. mail_plugins is a space separated
   # list of plugins to load.
-  mail_plugins = quota
-  mail_plugin_dir = /usr/lib64/dovecot/pop3
+  #mail_plugins = 
+  #mail_plugin_dir = /usr/lib/dovecot/pop3
 
   # Workarounds for various client bugs:
   #   outlook-no-nuls:
@@ -917,7 +908,7 @@
   # database (passwd usually), you can use static userdb.
   # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM
   # authentication to actually work. <doc/wiki/PasswordDatabase.PAM.txt>
-  #passdb pam {
+  passdb pam {
     # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=<n>]
     # [cache_key=<key>] [<service name>]
     #
@@ -950,7 +941,7 @@
     #   args = session=yes %Ls
     #   args = cache_key=%u dovecot
     #args = dovecot
-  #}
+  }
 
   # System users (NSS, /etc/passwd, or similiar)
   # In many systems nowadays this uses Name Service Switch, which is
@@ -1004,13 +995,12 @@
   #}
 
   # vpopmail authentication <doc/wiki/AuthDatabase.VPopMail.txt>
-  passdb vpopmail {
+  #passdb vpopmail {
     # [cache_key=<key>] - See cache_key in PAM for explanation.
     # [quota_template=<template>] - %q expands to Maildir++ quota
     #   (eg. quota_template=quota_rule=*:backend=%q)
     #args =
-    args = webmail=127.0.0.1
-  }
+  #}
 
   #
   # User database specifies where mails are located and what user/group IDs
@@ -1083,9 +1073,8 @@
   #}
 
   # vpopmail <doc/wiki/AuthDatabase.VPopMail.txt>
-  userdb vpopmail {
-    #args = quota_template=quota_rule=*:backend=%q
-  }
+  #userdb vpopmail {
+  #}
 
   # User to use for the process. This user needs access to only user and
   # password databases, nothing else. Only shadow and pam authentication
@@ -1101,7 +1090,7 @@
   #chroot = 
 
   # Number of authentication processes to create
-  count = 1
+  #count = 1
 
   # Require a valid SSL client certificate or the authentication fails.
   #ssl_require_client_cert = no
@@ -1201,8 +1190,7 @@
   # Note that % needs to be escaped as %%, otherwise "% " expands to empty.
   #   quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95
   #   quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80
-  quota = maildir:ignore=Trash
-  quota_rule = ?:storage=0
+  #quota = maildir
 
   # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir
   # directory. You can also optionally give a global ACL directory path where
8<-- EOT dovecot_config-1.2.16.patch

Qouta in Squirrelmail works for me.

-- 
Pozdrawiam/Regards,
mgr inż. Aleksander Podsiadły
st. informatyk gminy
Urząd Gminy w Mniowie
ul. Centralna 9
26-080 Mniów
tel: +48 413737002
fax: +48 413737024
mail: a...@mniow.pl
jid: a...@jabber.mniow.pl
gg: 9150578


---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to