Re: [Dovecot] Problem with quota calculation...

2014-05-29 Thread Alessio Cecchi
Il 27/05/2014 13:04, Klaus Tachtler ha scritto: Hello, since I changed the quota backend from maildir (maildir:User quota) to dictionary (dict:User quota::proxy::quota), I have problems with tha calculated size and messages count. --- Input/Output --- # du -hs 23M. # doveadm quota get -u

Re: [Dovecot] Problem with quota calculation...

2014-05-28 Thread Django [BOfH]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 HI Klaus, Am 27.05.2014 13:04, schrieb Klaus Tachtler: > since I changed the quota backend from maildir, I have problems > with tha calculated size and messages count. BTW, quota for two accounts? ;) A little bit oversized, isn't it? ROFTL cu on F

[Dovecot] Problem with quota calculation...

2014-05-27 Thread Klaus Tachtler
Hello, since I changed the quota backend from maildir (maildir:User quota) to dictionary (dict:User quota::proxy::quota), I have problems with tha calculated size and messages count. --- Input/Output --- # du -hs 23M . # doveadm quota get -u i...@tachtler.net Quota name TypeValue Lim

Re: [Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread Jack Bates
On 10/16/2012 9:00 AM, tower wrote: Yes, now I see, that messages still is in folder from which I move it. In thunderbird I do drag and drop (FYI). Is there any switch in dovecot configuration which treats message as deleted from folder, from which I move that message? Not to my knowledge, bu

Re: [Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread tower
On 10/16/2012 03:48 PM, Jack Bates wrote: On 10/16/2012 8:39 AM, tower wrote: Hi A have a problem with quota2 table, working under postfixadmin. When I login into imap server with thunderbird client everything works fine, quota is update when i receive a message, but when I move message to t

Re: [Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread Jack Bates
On 10/16/2012 8:39 AM, tower wrote: Hi A have a problem with quota2 table, working under postfixadmin. When I login into imap server with thunderbird client everything works fine, quota is update when i receive a message, but when I move message to trash or any other folder value for messages

[Dovecot] Problem with quota update in dovecot 1.2

2012-10-16 Thread tower
Hi A have a problem with quota2 table, working under postfixadmin. When I login into imap server with thunderbird client everything works fine, quota is update when i receive a message, but when I move message to trash or any other folder value for messages field in table quota2 increases +1

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Patrick Westenberg
Timo Sirainen schrieb: The :noenforcing isn't in the right location. dict:User quota::noenforcing:file:%h/... Aww.. thank you!

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Timo Sirainen
On 9.4.2012, at 16.35, Patrick Westenberg wrote: > cat << EOF | /usr/local/libexec/dovecot/dovecot-lda -d $USER -o > "plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing" The :noenforcing isn't in the right location. dict:User quota::noenforcing:file:%h/...

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Patrick Westenberg
Timo Sirainen schrieb: On 10.4.2012, at 13.44, Patrick Westenberg wrote: I switched from dovecot-lda to lmtp for my quota warnings but there is something wrong with the parameters: /usr/local/libexec/dovecot/lmtp -d $USER -o "plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforc

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Timo Sirainen
On 10.4.2012, at 13.44, Patrick Westenberg wrote: > I switched from dovecot-lda to lmtp for my quota warnings but there is > something wrong with the parameters: > > /usr/local/libexec/dovecot/lmtp -d $USER -o "plugin/quota=dict:User > quota::file:%h/mdbox/dovecot-quota:noenforcing" This is no

Re: [Dovecot] Problem with quota warning

2012-04-10 Thread Patrick Westenberg
Hi, I switched from dovecot-lda to lmtp for my quota warnings but there is something wrong with the parameters: /usr/local/libexec/dovecot/lmtp -d $USER -o "plugin/quota=dict:User quota::file:%h/mdbox/dovecot-quota:noenforcing" /usr/local/libexec/dovecot/lmtp: invalid option -- 'd' /usr/

[Dovecot] Problem with quota warning

2012-04-09 Thread Patrick Westenberg
Hi again, my test environment is working now and finally I tried to implement my quota warning but it is not working. LDA says the mailbox is full even it is not (only 81% and that is why the quota warning is executed). Further I used :noenforcing in my script. Apr 9 15:08:21 backend01 dovec

Re: [Dovecot] Problem with quota and mdbox and quota warning

2010-10-28 Thread Timo Sirainen
On 28.10.2010, at 15.17, Patrick Westenberg wrote: > My script is /usr/local/etc/dovecot/quota-warning.sh and after reloading > dovecot generates the file /usr/local/var/run/dovecot/quota-warning > with wrong permissions? > > So everytime I have or want to restart dovecot, I have to re-set the >

Re: [Dovecot] Problem with quota and mdbox and quota warning

2010-10-28 Thread Patrick Westenberg
Timo Sirainen schrieb: Error: quota: connect(/usr/local/var/run/dovecot/quota-warning) failed: Permission denied You need to give enough permissions for that. mail_uid = vmail .. service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh user = vmail This be

Re: [Dovecot] Problem with quota and mdbox and quota warning

2010-10-28 Thread Patrick Westenberg
Patrick Westenberg schrieb: Timo Sirainen schrieb: mdbox doesn't work with Maildir++ quota, you need to use dict quota with e.g. file backend. Oh, very sad :( In this case we have to switch back to maildir. Hm, I should read everything. File backend should be ok.

Re: [Dovecot] Problem with quota and mdbox and quota warning

2010-10-28 Thread Patrick Westenberg
Timo Sirainen schrieb: mdbox doesn't work with Maildir++ quota, you need to use dict quota with e.g. file backend. Oh, very sad :( In this case we have to switch back to maildir. You need to give enough permissions for that. This file doesn´t exist. I created /usr/local/etc/dovecot/quota

Re: [Dovecot] Problem with quota and mdbox and quota warning

2010-10-28 Thread Timo Sirainen
On 28.10.2010, at 13.38, Patrick Westenberg wrote: > I just recognized that my dovecot forgets the quota for a mailbox. > This is what the maildirsize looks like: mdbox doesn't work with Maildir++ quota, you need to use dict quota with e.g. file backend. > Moreover, my quota warning script does

[Dovecot] Problem with quota and mdbox and quota warning

2010-10-28 Thread Patrick Westenberg
Hi again, I just recognized that my dovecot forgets the quota for a mailbox. This is what the maildirsize looks like: 1 read mail present, 1 new/unread mail 2097152S 0 0 909936 1 and later, with 2 read mails: 2097152S 0 0 There are no errors logged. Moreover, my quota warning script doesn´t

Re: [Dovecot] Problem with quota recreation

2010-03-19 Thread Uroš Gruber
Hi, I'm refering to current usage not limits. Here is my quota-sql config user_query = \ SELECT '/var/vmail/%d/%n' as home, 'dict:user::proxy::quota' AS quota, concat('*:storage=', quotaLimit,'M') AS quota_rule \ FROM mailAccount WHERE username = '%u' AND domain = '%d' AND isLocked = FALSE a

Re: [Dovecot] Problem with quota recreation

2010-03-19 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 19 Mar 2010, Uroš Gruber wrote: only problem is when i migrate mailbox from cyrus to dovecot and when bytes and messages is set to 0. I tried with x GETQUOTAROOT Inbox but the quota usage is not recalculated and when a new message is delive

[Dovecot] Problem with quota recreation

2010-03-19 Thread Uroš Gruber
Hi, I'm migrating from cyrus to dovecot 1.2.10 with cyrus2dovecot. I've setup quota with mysql dict and while testing delivery quota is working fine. The only problem is when i migrate mailbox from cyrus to dovecot and when bytes and messages is set to 0. I tried with x GETQUOTAROOT Inbox but the

Re: [Dovecot] Problem with quota in maildir++

2009-09-22 Thread Antonio Casado Rodríguez
Timo Sirainen escribió: On Sep 18, 2009, at 12:07 PM, Antonio Casado Rodríguez wrote: Hi all. I have a problem with one user. His quota is upper of real quota. # cd /var/mail/problemuser/ # find . -name 'dovecot*' -exec rm -f {} \; # find . -name 'maildir*' -exec rm -f {} \; # echo test | mai

Re: [Dovecot] Problem with quota in maildir++

2009-09-20 Thread Timo Sirainen
On Sep 18, 2009, at 12:07 PM, Antonio Casado Rodríguez wrote: Hi all. I have a problem with one user. His quota is upper of real quota. # cd /var/mail/problemuser/ # find . -name 'dovecot*' -exec rm -f {} \; # find . -name 'maildir*' -exec rm -f {} \; # echo test | mail problemuser -s test #

[Dovecot] Problem with quota in maildir++

2009-09-18 Thread Antonio Casado Rodríguez
Hi all. I have a problem with one user. His quota is upper of real quota. # cd /var/mail/problemuser/ # find . -name 'dovecot*' -exec rm -f {} \; # find . -name 'maildir*' -exec rm -f {} \; # echo test | mail problemuser -s test # more maildirsize 104857600S 104215602 1439 647 1 # du -h 4,0K

Re: [Dovecot] Problem with quota-dict

2009-07-20 Thread Timo Sirainen
On Mon, 2009-07-20 at 21:13 +0200, Sascha Bendix wrote: > My system is debian lenny based with dovecot 1.0.15 and PostgreSQL 8.3.7 as > database server. My config is the following: Don't even bother trying to use dict quota in v1.0. backports.org has newer Dovecot versions for Debian. signatur

[Dovecot] Problem with quota-dict

2009-07-20 Thread Sascha Bendix
Hi, I wanted to migrate a mailserver from cyrus to dovecot. The new setup was using postfixadmin let the domain admins configure the hostet domains. To view the used quota in postfixadmin the usage of the quota dict backend is required. I have configured it according to the wiki but everytime I

Re: [Dovecot] Problem with quota dovecot as lda and mysql

2008-10-27 Thread Claudio Prono
If can be useful, that is the debug of a send mail to the same mailbox: deliver([EMAIL PROTECTED]): Oct 27 12:15:39 Info: Loading modules from directory: /usr/lib/dovecot/modules/lda deliver([EMAIL PROTECTED]): Oct 27 12:15:39 Info: Module loaded: /usr/lib/dovecot/modules/lda/lib10_quota_plugin.so

[Dovecot] Problem with quota dovecot as lda and mysql

2008-10-27 Thread Claudio Prono
Hello to all, That is my situation: I am trying to use dovecot as LDA with postfix, mysql e postfixadmin. So, all the users are stored in mysql, with quota password and all other things. All works properly, except for quota. I am trying to do some tests, but is not clear to me how to debug that pr

Re: [Dovecot] Problem with quota.

2008-05-06 Thread Charles Marcus
On 5/6/2008, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Im having problem with quota with 1.0.rc17-1ubuntu2.3. First - please upgrade, this is old and buggy version... dovecot.conf: #ssl_cert_file = /etc/pki/dovecot/certs/myserver.example.com.crt Also, please *only* post output of dovecot

[Dovecot] Problem with quota.

2008-05-06 Thread john.wall
Hi, Im having problem with quota with 1.0.rc17-1ubuntu2.3. Problem is that dovecot wont bounce when quota are exceeded. I have set my quota limit to 2MB and my test-box is 3MB. here is my config: dovecot.conf: #ssl_cert_file = /etc/pki/dovecot/certs/myserver.example.com.crt #ssl_key_file = /etc/p

Re: [Dovecot] Problem with quota support on debian etch

2008-01-22 Thread Sascha Bendix
Hi > > quota=maildir:storage=' || quota AS quota, maildir AS home FROM > > mailbox > > One "quota=" too much. Use: > > 'maildir:storage=' || quota AS quota > Yes, you're right. Thanks. Sincerly yours Sascha Bendix

Re: [Dovecot] Problem with quota support on debian etch

2008-01-21 Thread Timo Sirainen
On Mon, 2008-01-21 at 23:01 +0100, Sascha Bendix wrote: > quota=maildir:storage=' || quota AS quota, maildir AS home FROM mailbox One "quota=" too much. Use: 'maildir:storage=' || quota AS quota signature.asc Description: This is a digitally signed message part

[Dovecot] Problem with quota support on debian etch

2008-01-21 Thread Sascha Bendix
Hi, sorry but I'm new to dovecot and this list and don't know how to proceed with my dovecot installation. I was trying to set up an Mailserver with Postfix, Dovecot and PostgreSQL. Everything was working fine till I wanted to integrate quota support. When I activate it by adding quota to the the

Re: [Dovecot] problem with quota

2007-07-04 Thread Charles Marcus
juan carlos, on 7/3/2007 11:12 PM, said the following: I have dovecot 1.0.rc15-2, postfix 2.3.8 and virtual users and domains installed in debian sarge, the users quota are not working. Hi Juan, The first thing to do would be to get dovecot upgraded to 1.0.1, but, something you should be awar

Re: [Dovecot] problem with quota

2007-07-03 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 juan carlos schrieb: > hi everyone > I have dovecot 1.0.rc15-2, postfix 2.3.8 and virtual users and domains > installed in debian sarge, the users quota are not working. I have applied > the > pacth VDA and didn't work, if a I sent a mail to another

[Dovecot] problem with quota

2007-07-03 Thread juan carlos
hi everyone I have dovecot 1.0.rc15-2, postfix 2.3.8 and virtual users and domains installed in debian sarge, the users quota are not working. I have applied the pacth VDA and didn't work, if a I sent a mail to another user which exceeds his quota this user can receive the mail without problem,