when I enabled quota plugin the following error occured :
net_connect_unix(/usr/local/var/run/dovecot/dict-server) failed: Permission
denied
Any ideas?
My config are as follows :
..
dict {
#quota = mysql:/etc/dovecot-dict-quota.conf
quotadict = mysql:/usr/local/etc/dovecot-dict-quota.conf
}
..
quota = dict:storage=81920:messages=5000 proxy::quotadict
/usr/local/etc/dovecot-dict-quota.conf:
connect = host=xxxxx dbname=xxxxx user=xxxxx password=xxxxx
table = quota
select_field = current
where_field = path
username_field = username
-----
I can connect to the database thru mysql prompt. dovecot version 1.0 rc5
-- azhar --
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20070227/fdcd235e/attachment-0002.html>
when I enabled quota plugin the following error occured :
net_connect_unix(/usr/local/var/run/dovecot/dict-server) failed: Permission
denied
Any ideas?
My config are as follows :
..
dict {
#quota = mysql:/etc/dovecot- dict-quota.conf
quotadict = mysql:/usr/local/etc/dovecot-dict-quota.conf
}
..
quota = dict:storage=81920:messages=5000 proxy::quotadict
/usr/local/etc/dovecot-dict-quota.conf:
connect = host=xxxxx dbname=xxxxx user=xxxxx password=xxxxx
table = quota
select_field = current
where_field = path
username_field = username
-----
I can connect to the database thru mysql prompt. dovecot version 1.0 rc5
-- azhar --
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20070228/87af7ba8/attachment.html>
On Tue, 2007-02-27 at 18:05 +0800, Abu Gid wrote:> when I enabled quota plugin the following error occured : > > net_connect_unix(/usr/local/var/run/dovecot/dict-server) failed: > Permission denied > Any ideas?Do /usr/local/var and /usr/local/var/run have a+x permissions?> I can connect to the database thru mysql prompt. dovecot version 1.0 > rc5You should upgrade though. Even if you fix the permission error, dict quota won't work in rc5. Actually I'm not sure if it's 100% working in rc24 yet either. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070228/efb2d7af/attachment.bin>