Hi,
my main server will be upgraded from Dovecot 1.2something to 2.2. For testing I've installed a setup with postfix, handing malis as a relay via lmtp. So far it's up and running - really nice.
AFAICS there's one issue left: Thunderbird and Kmail don't show the quota status. Using doveadm quota the information is shown correctly, even the user-specific values (coming from openldap) are set correctly.
I think, I miss something obvious ... (and besides quota - any configuration hint is very welcome)
linux:/etc/dovecot # doveconf -n # 2.2.15: /etc/dovecot/dovecot.conf # OS: Linux 3.7.10-1.40-desktop x86_64 openSUSE 12.3 (x86_64) auth_master_user_separator = * auth_mechanisms = plain login digest-md5 cram-md5 apop auth_verbose = yes mail_debug = yes mail_location = maildir:~/Maildir mail_plugins = " quota zlib fts fts_lucene trash" managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave duplicate namespace inbox { inbox = yes location = mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { auto = subscribe special_use = \Trash } prefix = } passdb { args = /etc/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { args = /etc/dovecot/dovecot-ldap.conf.ext driver = ldap } plugin { fts_autoindex = yes fts_lucene = whitespace_chars=@. quota = maildir:User quota quota_exceeded_message = Storage quota for this account has been exceeded, please try again later. quota_grace = 100M quota_rule = *:storage=1000M quota_rule2 = Trash:storage=+10%% quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u quota_warning3 = storage=75%% quota-warning 75 %u sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_max_redirects = 32 trash = /etc/dovecot/dovecot-trash.conf.ext zlib_save = gz zlib_save_level = 6 } postmaster_address = admin@93er.net protocols = imap pop3 lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } } service lmtp { inet_listener lmtp { address = 127.0.0.1 port = 24 } user = vmail } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service quota-warning { executable = script /usr/local/bin/quota-warning.sh user = vmail } ssl_cert =
here is dovecot-ldap.conf.ext:
hosts = 127.0.0.1 192.168.0.1
dn = cn=Manager,dc=dies,dc=jenes
dnpass = ganzgeheim
auth_bind = no
base = ou=virtualmail,dc=dies,dc=jenes
scope = subtree
user_attrs =
homeDirectory=home,uidNumber=uid,gidNumber=gid,quota=quota_rule=*:
storage=%$M
user_filter = (&(objectClass=CourierMailAccount)(uid=%u))
pass_attrs =
uid=user,userPassword=password,homeDirectory=userdb_home,uidNumber
=userdb_uid,gidNumber=userdb_gid,quota=userdb_quota_rule=*:storage=%M
pass_filter = (&(disableimap=FALSE)(objectClass=CourierMailAccount)(uid=%u))
iterate_attrs = uid=user
iterate_filter = (objectClass=CourierMailAccount)
default_pass_scheme = PLAIN
Any ideas?
Thanks in advance
regards
Hanns
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed, 29 Oct 2014, Hanns Mattes wrote:
AFAICS there's one issue left: Thunderbird and Kmail don't show the quota status. Using doveadm quota the information is shown correctly, even the user-specific values (coming from openldap) are set correctly.
I think, I miss something obvious ... (and besides quota - any configuration hint is very welcome)
linux:/etc/dovecot # doveconf -n
protocol imap { mail_plugins = " quota zlib fts fts_lucene trash quota imap_quota imap_zlib" }
Any ideas?
Looks like imap_quota is present. However:
a) did you reloaded Dovecot after config change? b) in which conf-file did you've configured imap_quota and why quota is mentioned twice?
manual test:
telnet server 143 *1 login <user> "<pwd>" *2 GETQUOTAROOT INBOX *3 logout
Command 1 should include "QUOTA" in capability string, cmd #2 should return success. If this test succeeds, you have a MUA problem.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBVFHnsHz1H7kL/d9rAQLxiAf/YtZIqMi2y7S7286r/sRUPxmi1af0rL6P HrmXZDl5qayi9Pp0eFIVVkf1srSMflEya2sVUiKQKOxcHXiIa4xjLvky3TV59sP1 g4Kxw1FpaJ2pzFRpZxCjtmqr1+TTNazlG+Aj4pCptHljMlL7H2Jk9b57Gs8ysiTN 9HLFLWMQ/ETO7184Fe4evODirbPFfxxrSp599B3pC0dlE3/Ilce9jgLEGkh3XMWX jNVxtg0DOEmhFh2einvJjEOniJjiAV522uPPsPGgCkMyYZUj/v6Y4PWc0ayEA97Q bF8brGiFDpncQf77Z6kNDYFnfiv4aAhoC/II5DopEV+VthUZAilUiQ== =h43a -----END PGP SIGNATURE-----
Hi
Am 30.10.2014 um 08:24 schrieb Steffen Kaiser:
[quota not working] Looks like imap_quota is present. However:
a) did you reloaded Dovecot after config change?
Yes
b) in which conf-file did you've configured imap_quota
The Plugin is listed in 20-imap.conf.
and why quota is mentioned twice?
Accidentially added in 20-imap.conf after $mail_plugins
manual test:
telnet server 143 *1 login <user> "<pwd>"
Quota is present
*2 GETQUOTAROOT INBOX
"OK No quota."
So it seems to be a problem with my configuration, not the MUA.
Any ideas?
Thanks in advance
Hanns
Am 30.10.2014 um 09:39 schrieb Hanns Mattes:
Hi
Am 30.10.2014 um 08:24 schrieb Steffen Kaiser:
[quota not working]
I've used prefetching with ldap. Turning it off, the quotas are presented correctly. So the problem is somewhere in the prefetch-part of my configuration.
Regards Hanns
Hi,
answering myself...
Am 30.10.2014 um 10:21 schrieb Hanns Mattes:
Am 30.10.2014 um 09:39 schrieb Hanns Mattes:
Hi
Am 30.10.2014 um 08:24 schrieb Steffen Kaiser:
[quota not working]
I've used prefetching with ldap. Turning it off, the quotas are presented correctly. So the problem is somewhere in the prefetch-part of my configuration.
Solved. I've missed a "$" in the pass_attrs. Simple Typo...
Thanks to everyone
Hanns
participants (2)
-
Hanns Mattes
-
Steffen Kaiser