Emiliano Gabrielli (aka AlberT)
2007-Mar-27  13:59 UTC
[Dovecot] [ rc28 ] dict{} seems to be ignored
Hi all,
 I'm new to the list, so ... hello everybody :-)
Let's go to the point... I'm implementing quota over imap support in my 
mail server, so since a number of days I'm tring to upgrade to the new 1.x 
version (debian sarge) ...
After having a number of troubles using the debian backport packege I am now
using the -rc28 package that I have built by myself...
I installed libmysqlclient14 and compiled dovecot with the following configure 
options:
       ./configure --with-ssl=openssl \
                    --with-mysql \
                    --disable-ipv6 \
                    --with-cyrus-sasl2 \
                    --with-gssapi \
                    --with-deliver \
                    --host=$(DEB_HOST_GNU_TYPE) \
                    --build=$(DEB_BUILD_GNU_TYPE) \
                    --prefix=/usr \
                    --sysconfdir=/etc/dovecot \
                    --libexecdir=\$${prefix}/lib \
                    --localstatedir=/var \
                    --mandir=\$${prefix}/share/man \
                    --infodir=\$${prefix}/share/info \
                    --with-moduledir=\$${prefix}/lib/dovecot/modules
as taken from the sarge-backports debian package and after having removed 
pgsql, ldap and ipv6 support, as I don't need them...
The imap over quota seem to work perfectly, since I can see quota info in IMAP 
clients (and via telnet) the only thing I can't make work is the dict: 
storage for quota info!!
It seems the dict{ .. } section in the dovecot.conf file is *totally* ignored:
dict {
  quotadict = mysq:/etc/dovecot/dovecot-dict-quota.conf
}
As you can see I have a typo in the driver name, but no error nor error 
message is given ...
I followed the wiki instruction about Quota/Dict and I have created the 
necessary table ... that is not filled of course ..
Anybody can tell me if may be a compilation problem, a configuration one or a 
bug in the current dovecot release ??
Thanks in advance
-- 
<?php echo '     Emiliano Gabrielli (aka AlberT)    
',"\n",
'                GrUSP founder  - ZCE                ',"\n",
' AlberT_at_SuperAlberT_it   -   www.SuperAlberT.it  ',"\n",
'  IRC:    #php,#AES azzurra.com ',"\n",'ICQ:
158591185'; ?>
On 27.3.2007, at 16.59, Emiliano Gabrielli (aka AlberT) wrote:> It seems the dict{ .. } section in the dovecot.conf file is > *totally* ignored:It is, unless you tell quota code to use it, like: quota = dict:storage=10240:messages=1000 proxy::quotadict If you still can't get it to work, set mail_debug=yes and see if there's anything interesting in the logs. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070327/8515ec27/attachment.bin>
Emiliano Gabrielli (aka AlberT)
2007-Mar-28  08:38 UTC
[Dovecot] [ rc28 ] dict{} seems to be ignored
On Tuesday 27 March 2007 22:21, Timo Sirainen wrote:> It is, unless you tell quota code to use it, like: > > ? ?quota = dict:storage=10240:messages=1000 proxy::quotadict >I have already done it ... in the plugin{ .. } section and it does nothing> If you still can't get it to work, set mail_debug=yes and see if ? > there's anything interesting in the logs.already done .. nothing and nothing ... I can see the login SQL queries .. I can see the quota fetched from the userdb_quota field ... but nothing about the quota update on the mysql storage ... dovecot updatets the maildir quota on the filesystem ... any idea ? thanks -- <?php echo ' Emiliano Gabrielli (aka AlberT) ',"\n", ' GrUSP founder - ZCE ',"\n", ' AlberT_at_SuperAlberT_it - www.SuperAlberT.it ',"\n", ' IRC: #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>