Re: [Dovecot] Dovecot Quota plugin as Couier quota

2011-01-02 Thread Antonio Perez-Aranda
think that I can use this with the ":" modification until delete-to-trash run on Dovecot 2.0 2010/12/30 Timo Sirainen : > On Mon, 2010-12-27 at 12:08 +0100, Antonio Perez-Aranda wrote: >> I get a similar behavior between dovecot quota plugin and courier >> quota with the

Re: [Dovecot] Dovecot Quota plugin as Couier quota

2010-12-30 Thread Timo Sirainen
On Mon, 2010-12-27 at 12:08 +0100, Antonio Perez-Aranda wrote: > I get a similar behavior between dovecot quota plugin and courier > quota with the attached patch. > > When the client change flags, then is forced to recalc. This is > because I don't know how to get the changed

[Dovecot] Dovecot Quota plugin as Couier quota

2010-12-27 Thread Antonio Perez-Aranda
I get a similar behavior between dovecot quota plugin and courier quota with the attached patch. When the client change flags, then is forced to recalc. This is because I don't know how to get the changed flags on quota sync method. The courier quota behavior is avoid to count all deleted

Re: [Dovecot] Quota plugin and SQL

2010-03-16 Thread Timo Sirainen
On Sun, 2010-03-07 at 14:49 +0100, Pascal Volk wrote: > On 03/07/2010 01:53 PM Pascal Volk wrote: > > map { > > pattern = priv/quota/storage > > table = quota > > username_field = uid > > username_var = %{uid} > > value_field = bytes > > } > > BTW: This also w

Re: [Dovecot] Quota plugin and SQL

2010-03-07 Thread Pascal Volk
On 03/07/2010 01:53 PM Pascal Volk wrote: > map { > pattern = priv/quota/storage > table = quota > username_field = uid > username_var = %{uid} > value_field = bytes > } BTW: This also would make it possible to have 'domain quota' (only), when th

Re: [Dovecot] Quota plugin and SQL

2010-03-07 Thread Pascal Volk
On 03/07/2010 11:02 AM David wrote: > On 07/03/2010 09:58, Timo Sirainen wrote: >> On Sat, 2010-03-06 at 22:12 +, David wrote: >> Not currently. If you're using PostgreSQL, you could create a view and >> update-rule though. I don't know if that's possible with MySQL. >> > Thanks Timo. Is t

Re: [Dovecot] Quota plugin and SQL

2010-03-07 Thread Leonardo Rodrigues
Em 06/03/2010 19:12, David escreveu: Is there any way to modify the queries used to split out username into localpart and domain? This would enable me to put the current quota information in my main mailbox table and display it to users in my admin interface. i'm successfully using a

Re: [Dovecot] Quota plugin and SQL

2010-03-07 Thread David
On 07/03/2010 09:58, Timo Sirainen wrote: On Sat, 2010-03-06 at 22:12 +, David wrote: I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a database schema for using quota. For 1.2, this includes a username, bytes and messages. Is there any way to modify the queries

Re: [Dovecot] Quota plugin and SQL

2010-03-07 Thread Timo Sirainen
On Sat, 2010-03-06 at 22:12 +, David wrote: > I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a > database schema for using quota. For 1.2, this includes a username, > bytes and messages. > > Is there any way to modify the queries used to split out username into > lo

Re: [Dovecot] Quota plugin and SQL

2010-03-07 Thread David
On 07/03/2010 03:17, Leeman Strout wrote: On 3/6/2010 5:12 PM, David wrote: I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a database schema for using quota. For 1.2, this includes a username, bytes and messages. Is there any way to modify the queries used to split out u

Re: [Dovecot] Quota plugin and SQL

2010-03-06 Thread Leeman Strout
On 3/6/2010 5:12 PM, David wrote: I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a database schema for using quota. For 1.2, this includes a username, bytes and messages. Is there any way to modify the queries used to split out username into localpart and domain? This wou

Re: [Dovecot] Quota plugin and SQL

2010-03-06 Thread Bradley Giesbrecht
On Mar 6, 2010, at 2:12 PM, David wrote: I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a database schema for using quota. For 1.2, this includes a username, bytes and messages. Is there any way to modify the queries used to split out username into localpart and

[Dovecot] Quota plugin and SQL

2010-03-06 Thread David
I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a database schema for using quota. For 1.2, this includes a username, bytes and messages. Is there any way to modify the queries used to split out username into localpart and domain? This would enable me to put the curren

Re: [Dovecot] quota plugin + setting in "protocol" or "lda"

2010-02-19 Thread Timo Sirainen
imap is the only special case, because there you probably want to use imap_quota. Everything else is just happy with plain "quota". Actually you could even put the regular mail_plugins outside protocol {} and only override it for imap. On 19.2.2010, at 16.15, maximatt wrote: > hi... > > which

[Dovecot] quota plugin + setting in "protocol" or "lda"

2010-02-19 Thread maximatt
hi... which are the diference to configure quota plugin when LDA is dovecot: these setting: protocol imap { : mail_plugins = quota imap_quota : } protocol pop3 { : mail_plugins = quota : } .vs. thes

Re: [Dovecot] Quota plugin

2008-08-21 Thread Timo Sirainen
On Thu, 2008-08-21 at 18:00 -0300, Thiago Monaco Papageorgiou wrote: > Hi! > > I have some questions about quota plugin. I have taken quota-maildir as > example. > > What does the function maildir_quota_root_get_resources? When it is > called? I have tested including some log messages, but it w

[Dovecot] Quota plugin

2008-08-21 Thread Thiago Monaco Papageorgiou
Hi! I have some questions about quota plugin. I have taken quota-maildir as example. What does the function maildir_quota_root_get_resources? When it is called? I have tested including some log messages, but it wasn't appears in the log file. When dovecot calls this function? It is an impo

Re: [Dovecot] Quota plugin, Maildir, dict backend loop problem

2007-07-25 Thread David Jonas
Timo Sirainen wrote: > On 25.7.2007, at 0.09, David Jonas wrote: > >> I've been working with the quota plugin(s) the past few days and have >> been having some real trouble. Only a few entries are appearing in the >> database, a couple more when I restarted dovecot. None of the current >> entries

Re: [Dovecot] Quota plugin, Maildir, dict backend loop problem

2007-07-24 Thread Timo Sirainen
On 25.7.2007, at 0.09, David Jonas wrote: I've been working with the quota plugin(s) the past few days and have been having some real trouble. Only a few entries are appearing in the database, a couple more when I restarted dovecot. None of the current entries were being updated either. .. INSE

[Dovecot] Quota plugin, Maildir, dict backend loop problem

2007-07-24 Thread David Jonas
Hello, I've been working with the quota plugin(s) the past few days and have been having some real trouble. Only a few entries are appearing in the database, a couple more when I restarted dovecot. None of the current entries were being updated either. I think I've tracked it down to somewhere in

[Dovecot] quota plugin

2007-05-24 Thread maximatt
hi... i not undestand this plugin (quota) , because if i set a value 10240 (like in example) when i send a 4 messages with attaches sizes like 4MB they do not nothing, but if i want to send a message like 12MB the dont me do that, but in the first way the user inbox have like 20MB. ¿:(? i ha