Re: [Dovecot] quota problem

2010-02-19 Thread Andre Hübner
Hello, thanks for help. On Wed, 2010-02-17 at 15:26 +0100, Andre Hübner wrote: my user_query: user_query = SELECT home, uid, gid, concat('*:storage=', quota_bytes,'M') AS quota_rule FROM mail_users WHERE login = '%u' Do you really want quota_bytes number of megabytes? If not, change the

Re: [Dovecot] quota problem

2010-02-19 Thread Timo Sirainen
On Fri, 2010-02-19 at 11:32 +0100, Andre Hübner wrote: best way would be if we could pipe mails from procmail to deliver like described here: http://wiki.dovecot.org/procmail but in this case lda ignores my quota and is putting mails in inbox which is actual over quota. is there a way to

Re: [Dovecot] quota problem

2010-02-19 Thread Andre Hübner
Hello, Call deliver with -d $USER parameter. puhh, thanks, i got it now. lda works + all procmail rules. one thing is left, but i think this is not possible. our users have full access to procmailparts. if they use procmailrules to attach mails on folders it its possible to bypass the

Re: [Dovecot] quota problem

2010-02-18 Thread Timo Sirainen
On Wed, 2010-02-17 at 15:26 +0100, Andre Hübner wrote: my user_query: user_query = SELECT home, uid, gid, concat('*:storage=', quota_bytes,'M') AS quota_rule FROM mail_users WHERE login = '%u' Do you really want quota_bytes number of megabytes? If not, change the ,'M' part to ,'B'.

Re: [Dovecot] quota problem

2010-02-17 Thread Andre Hübner
Hello, this is unfortunately not compatible with dovecot 1.0, is not working i switched now to dovecot 1.2.10, which is current stable release. unfortunately my userquoata is not working, just global quota ist active and is not overwritten by userquota from userdb I cannot go on with my

Re: [Dovecot] quota problem

2010-02-17 Thread aledr
On Wed, Feb 17, 2010 at 12:26 PM, Andre Hübner andre.hueb...@gmx.de wrote: ... I have no idea why its not working. Quota is only effective if i decrease global quota lower values, it gets not overwritten with data from userdb. in verbose mailog i can see queries to mysql, i double checked

Re: [Dovecot] quota problem

2010-02-17 Thread aledr
Figured It out... You need to return quota rules in password_query just as you do in user_query. Remember to add userdb_ prefix. Regards. On Wed, Feb 17, 2010 at 12:38 PM, aledr matrixworkstat...@gmail.com wrote: On Wed, Feb 17, 2010 at 12:26 PM, Andre Hübner andre.hueb...@gmx.de wrote: ... I

[Dovecot] quota problem

2010-02-16 Thread Andre Hübner
dovecot 1.0.15 Hello, i try to set quota settings for my users. currentyl i use a mysql table for auth process and now i want to add quotasettings for each individual user. at the moment i have the problem that only global quota is effective and no userquota which is stored in usertable.

Re: [Dovecot] quota problem

2010-02-16 Thread Leonardo Rodrigues
Em 16/02/2010 09:18, Andre Hübner escreveu: dovecot 1.0.15 Hello, i try to set quota settings for my users. currentyl i use a mysql table for auth process and now i want to add quotasettings for each individual user. Mine is working flawlesslly with the following configuration

Re: [Dovecot] quota problem

2010-02-16 Thread Andre Hübner
Hello, try to change that 'dirsize' to '*' and see what happens ... this is unfortunately not compatible with dovecot 1.0, is not working But i noticed that user-quota is working when copying/moving mails within imap-account. But is it not working at incoming mails. any idea? Thanks,

Re: [Dovecot] quota problem

2010-02-16 Thread Leonardo Rodrigues
Em 16/02/2010 10:48, Andre Hübner escreveu: this is unfortunately not compatible with dovecot 1.0, is not working But i noticed that user-quota is working when copying/moving mails within imap-account. But is it not working at incoming mails. any idea? so seems your quota is working

Re: [Dovecot] quota problem

2010-02-16 Thread Andre Hübner
Hello, thanks for your help :) so seems your quota is working What are you using as your Local Delivery Agent (LDA) ?? Is it dovecot LDA ? Is it some MTA LDA, like Postfix ? Maybe quota is not working on your LDA ... not on IMAP4/POP3. i switched from procmail to deliver in

Re: [Dovecot] Dovecot Quota Problem

2010-01-12 Thread Timo Sirainen
On 5.1.2010, at 18.59, Ken Price wrote: I'm using Dovecot LDA with Exim. I'm also using Dictionary Quotas in a MySQL database. I want to avoid backscatter completely, so I set quota_full_tempfail = yes and handle quota checking in the Exim RCPT ACL during the SMTP session. The problem lies

Re: [Dovecot] Dovecot Quota Problem

2010-01-08 Thread Ken Price
On Tue, 05 Jan 2010 11:59:45 -0500, Ken Price li...@nettwrek.com wrote: I'm using Dovecot LDA with Exim. I'm also using Dictionary Quotas in a MySQL database. I want to avoid backscatter completely, so I set quota_full_tempfail = yes and handle quota checking in the Exim RCPT ACL during the

[Dovecot] Dovecot Quota Problem

2010-01-05 Thread Ken Price
I'm using Dovecot LDA with Exim. I'm also using Dictionary Quotas in a MySQL database. I want to avoid backscatter completely, so I set quota_full_tempfail = yes and handle quota checking in the Exim RCPT ACL during the SMTP session. The problem lies in the case where a user's account is nearly

[Dovecot] Quota Problem?

2008-03-08 Thread Michel Vega Fuenzalida
Good list I am not very good with English. I use dovecot-1.0-1.2.rc15.el5.x86_64rpm for Centos 5.1, Maildir like mailbox and I have it configured as it continues: base_dir = /var/run/dovecot/ protocols = imaps pop3s imap mail_location = maildir:~/Maildir protocol imap { mail_plugins =

Re: [Dovecot] Quota problem

2007-09-15 Thread Timo Sirainen
On Tue, 2007-09-11 at 01:20 +0200, Osvaldo Alvarez Pozo wrote: Quota it is not taken into account by deliver I also tried a compiled dovecot version from sorces and the resault is the same. protocol lda { .. mail_plugins = quota mail_plugins = cmusieve That doesn't work. Use:

[Dovecot] Quota problem

2007-09-10 Thread Osvaldo Alvarez Pozo
Hi alI I install dovecot using the DovecotLDAPostfixAdminMySQL HOWTO but I have a problem with quota. Quota it is not taken into account by deliver I also tried a compiled dovecot version from sorces and the resault is the same. dovecot version from debian distribution 1.0.rc15-2 dovecot from