Re: [Dovecot] quota and dict

2013-05-15 Thread Timo Sirainen
On 3.5.2013, at 8.04, Jeff Gustafson ncjeff...@zimage.com wrote: Shouldn't I be able to use a dictionary proxy to attach any custom program to a quota dict socket? plugin { quota = dict:User quota::proxy:/tmp/test-socket } This tells quota plugin to connect to /tmp/test-socket and talk

[Dovecot] quota and dict

2013-05-02 Thread Jeff Gustafson
I have a question about using dict and quotas. I want dovecot to send quota queries to a custom dict server over a socket. I'm doing this because I can't do group quotas based on domain since a customer can have each of their users associated with different domains under a single account.

[Dovecot] quota sql dict permissions dilemma

2010-10-16 Thread LEVAI Daniel
Hi! I'm trying to set up SQL based dict quota. The quota is working, gets updated but I had to configure really loose file permission to make it work: dovecot.conf: dict { quota = pgsql:/etc/dovecot/dovecot_dict-sql.conf } service dict { unix_listener dict

Re: [Dovecot] quota sql dict permissions dilemma

2010-10-16 Thread Miha Vrhovnik
LEVAI Daniel l...@ecentrum.hu wrote on 16.10.2010 10:15:45: Hi! I'm trying to set up SQL based dict quota. The quota is working, gets updated but I had to configure really loose file permission to make it work: dovecot.conf: dict { quota = pgsql:/etc/dovecot/dovecot_dict-sql.conf

Re: [Dovecot] Quota with Dict + SQL not updating

2009-12-31 Thread Michael
On Thu, 31 Dec 2009 16:43:54 Pascal Volk wrote: On 12/31/2009 04:20 AM Michael wrote: Hello all, I have a Dovecot server deployed with a MySQL back end. If the user logs in and there is no quota set for them in table 'quota', the system will automatically inset a line with their

[Dovecot] Quota with Dict + SQL not updating

2009-12-30 Thread Michael
Hello all, I have a Dovecot server deployed with a MySQL back end. If the user logs in and there is no quota set for them in table 'quota', the system will automatically inset a line with their username and current messages/storage. However after this it fails to update the information when

Re: [Dovecot] Quota with Dict + SQL not updating

2009-12-30 Thread Pascal Volk
On 12/31/2009 04:20 AM Michael wrote: Hello all, I have a Dovecot server deployed with a MySQL back end. If the user logs in and there is no quota set for them in table 'quota', the system will automatically inset a line with their username and current messages/storage. However after

Re: [Dovecot] Quota: ldap dict

2009-04-29 Thread Timo Sirainen
On Fri, 2009-04-24 at 08:46 -0300, Marcio Merlone wrote: Hi, I have set a dovecot-1:1.0.10-1ubuntu5.1 server on top of a Ubuntu 8.04 LTS box and everything goes fine. All my users are on a LDAP database integrated via nss_ldap, so from the dovecot point of view they are all local system

Re: [Dovecot] Quota: ldap dict

2009-04-29 Thread Marcio Merlone
Timo Sirainen escreveu: On Fri, 2009-04-24 at 08:46 -0300, Marcio Merlone wrote: All my users are on a LDAP database integrated via nss_ldap, so from the dovecot point of view they are all local system users. Now I want to set maildir quota for everybody, and was wondering if I could store

Re: [Dovecot] Quota: ldap dict

2009-04-29 Thread Timo Sirainen
On Wed, 2009-04-29 at 15:43 -0300, Marcio Merlone wrote: Now, joining your two paragraphs above, it is correct to say that I cannot store the limits on LDAP since I use NSS... and... I can only store quota limits on LDAP when using userdb LDAP Is that right? Right. There's no way to get

[Dovecot] Quota: ldap dict

2009-04-24 Thread Marcio Merlone
Hi, I have set a dovecot-1:1.0.10-1ubuntu5.1 server on top of a Ubuntu 8.04 LTS box and everything goes fine. All my users are on a LDAP database integrated via nss_ldap, so from the dovecot point of view they are all local system users. Now I want to set maildir quota for everybody, and was

Re: [Dovecot] quota and dict quota

2009-02-21 Thread Osvaldo Alvarez Pozo
Hi. Ok my file is : mail_location = maildir:/var/vmail/%d/%u/Maildir mail_extra_groups = mail first_valid_uid = 5000 last_valid_uid = 5000 maildir_copy_with_hardlinks = yes disable_plaintext_auth = no dotlock_use_excl=yes protocols = imap pop3 protocol imap { mail_plugins = quota imap_quota

Re: [Dovecot] quota and dict quota

2009-02-21 Thread Timo Sirainen
On Sat, 2009-02-21 at 19:06 +0100, Osvaldo Alvarez Pozo wrote: Hi. Ok my file is : It's better to paste output of dovecot -n instead of the actual config file. auth default { mechanisms = plain login passdb sql { args = /usr/dovecot/etc/sql.conf } # userdb prefetch { # }

Re: [Dovecot] quota and dict quota

2009-02-21 Thread Osvaldo Alvarez Pozo
the ouput of dovecot -n dovecot -n # 1.0.15: /etc/dovecot/dovecot.conf protocols: imap pop3 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):

Re: [Dovecot] quota and dict quota

2009-02-21 Thread Timo Sirainen
On Sat, 2009-02-21 at 20:09 +0100, Osvaldo Alvarez Pozo wrote: dovecot -n # 1.0.15: /etc/dovecot/dovecot.conf .. My dovecot version is 1.1 . Which v1.1 exactly? You're using v1.0.15. Before even thinking about using dict quota, upgrade to v1.1. Dict quota is pretty broken in v1.0.

Re: [Dovecot] quota and dict quota

2009-02-20 Thread Timo Sirainen
On Wed, 2009-02-18 at 17:06 +0100, Osvaldo Alvarez Pozo wrote: Now I want to see the users's use of quota in postfixadmin, wich demende the use of dict quota. That is wath I do not understang. Can I have dict quota and mail_plugins=quota at the same time? You have to use

[Dovecot] quota and dict quota

2009-02-18 Thread Osvaldo Alvarez Pozo
Hi I am running dovecot with quota. as show in this part of dovecot.conf . protocols = imap pop3 protocol imap { mail_plugins = quota imap_quota imap_client_workarounds = outlook-idle delay-newmail } protocol pop3 { mail_plugins = quota pop3_client_workarounds = outlook-no-nuls oe-ns-eoh