It's depends on the kind of quota u need:
mailbox usage,
messages size,
message count per month /domain /user /server..
if u want to limit per user mailbox quota use dovecot's quota plugin..
--
Simone Caruso
IT Consultant
On 2011-10-21 6:43 AM, nuno marques nam...@hotmail.com wrote:
The system as a whole is composed of:dovecot-2.0-0.10.beta6.20100630.el6.x86_64
Fyi, this is really old, you should upgrade to the latest version...
--
Best regards,
Charles
Jun 27 19:49:27 BST 2011 x86_64 x86_64
x86_64 GNU/Linux
Date: Fri, 21 Oct 2011 14:15:31 +0200
From: i...@simonecaruso.com
To: dovecot@dovecot.org
Subject: Re: [Dovecot] Quota
It's depends on the kind of quota u need:
mailbox usage,
messages size,
message count per month /domain
Hi, I have the following error, any help? imap(user4): Error:
quotactl(Q_GETQUOTA, /dev/mapper/VolGroup-lv_root) failed: Permission denied
The system as a whole is composed of:
dovecot-2.0.14-1_130.el6.x86_64
openldap-servers-2.4.19-15.el6_0.2.x86_64
postfix-2.6.6-2.1.el6_0.x86_64
On Tue, 2011-09-13 at 11:06 +0300, Peter Ignatov wrote:
Hi,
# doveadm -Dv quota get -u pit
doveadm(pit): Debug: auth input: pit system_groups_user=pit uid=500 gid=500
home=/home/pit
doveadm(pit): Debug: Effective uid=500, gid=500, home=/home/pit
doveadm(pit): Debug: Quota root: name=INBOX
Timo Sirainen t...@iki.fi writes:
On 12.9.2011, at 19.17, Micah Anderson wrote:
However, it doesn't seem to work in practice, because I have a user that
is at 99% of quota, with nothing in the Trash who cannot move a 77KB
message into the Trash without getting the quota_exceeded message and
On Fri, 2011-09-09 at 16:05 -0400, Micah Anderson wrote:
I've noticed that http://wiki2.dovecot.org/Quota/Configuration is out of
date, it says:
plugin {
quota = maildir:User quota
quota_rule = *:storage=1GB
# 10% of 1GB = 100MB
quota_rule2 = Trash:storage=10%%
# 20% of 1GB =
Timo Sirainen t...@iki.fi writes:
On Fri, 2011-09-09 at 16:05 -0400, Micah Anderson wrote:
its incorrect because if you change it to what it suggests ('+10%') it
wont work because that wont be 10% more, rather, it is set to bytes=+10:
Well, that's a more complex problem. The %% escaping
I set quota: fs:INBOX:noenforcing:mount=/var/spool/mail, but receive: fs
quota add storage dir = /home/pit/mail...
Why ?
Well .. I'm not entirely sure if the current behavior is good or not, but what
you need to do to get it working is to add two quota roots. One for
/home/pit/mail (i.e.
I've noticed that http://wiki2.dovecot.org/Quota/Configuration is out of
date, it says:
plugin {
quota = maildir:User quota
quota_rule = *:storage=1GB
# 10% of 1GB = 100MB
quota_rule2 = Trash:storage=10%%
# 20% of 1GB = 200MB
quota_rule3 = Spam:storage=20%%
}
but if you use the
On 6.9.2011, at 15.11, Peter Ignatov wrote:
I set quota: fs:INBOX:noenforcing:mount=/var/spool/mail, but receive: fs
quota add storage dir = /home/pit/mail...
Why ?
Well .. I'm not entirely sure if the current behavior is good or not, but what
you need to do to get it working is to add two
On Tue, 09 Aug 2011 11:18:55 -0300
Juan Bernhard wrote:
Hi Nikita, thanks for the help, but I don't have any problem with
bouncing the mail after the deliver (in fact, the mail pass two MTAs
servers before reaching the final storage)
I will try (with my limited english) to explain it
Thank you Nikita, that's what I need.
El 10/08/2011 03:35 a.m., Nikita Koshikov escribió:
On Tue, 09 Aug 2011 11:18:55 -0300
Juan Bernhard wrote:
Hi Nikita, thanks for the help, but I don't have any problem with
bouncing the mail after the deliver (in fact, the mail pass two MTAs
servers
On Mon, 08 Aug 2011 16:35:53 -0300
Juan Bernhard wrote:
Hi, Im using dovecot with maildir++ quota and I have this problem, maybe
some of you already solve this and can helpme.
I want to use some flat file to tell exim and dovecot the quota limit
for each user, i tried to work with exim and
Hi Nikita, thanks for the help, but I don't have any problem with
bouncing the mail after the deliver (in fact, the mail pass two MTAs
servers before reaching the final storage)
I will try (with my limited english) to explain it better. Now I m
working with a single quota rule for everyone.
Hi, Im using dovecot with maildir++ quota and I have this problem, maybe
some of you already solve this and can helpme.
I want to use some flat file to tell exim and dovecot the quota limit
for each user, i tried to work with exim and maildirsize file, but exim
just ignores the limits there.
I
Hi all,
I'm going to implement before queue quota check with postfix to prevent
bounce mail, the quota information is stored into mysql using dovecot
quotadict, it would be nice that dovecot can have an option to switch
the quota check with (used space quota) instead of (used space+mail
size
For testing I replaced
/usr/local/libexec/dovecot/dovecot-lda -d $USER with
/usr/sbin/sendmail $USER in the quota-warning.sh script. Now
the mail is delivered when 80% or 95% of quota is reached.
Any idea, why dovecot-lda doesn't deliver the warning mail?
Regards,
Thomas.
Hi,
I setup a new
Hi,
I setup a new mailserver with dovecot 2.0.12. Everything is working
fine (including quota) - except of sending quota warning mails.
When running
/usr/local/bin/quota-warning.sh 95 u...@domain.de
manually as root or user vmail, the mail is delivered.
content of
On Mon, 2011-04-04 at 23:22 +0200, Jim Knuth wrote:
lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb)
failed: Permission denied (euid=1182(web1p5) egid=5000(vmail) missing
+r perm: /var/run/dovecot/auth-userd
b, euid is not dir owner)
Give it some permissions. Since you're
am 04.04.11 06:33 schrieb Timo Sirainen t...@iki.fi:
On 3.4.2011, at 17.48, Jim Knuth wrote:
I have a user who has 153600 kBytes max. storage space.
Now, however, he has used already 167396 kBytes
and he can receive e-mails and can send.
How can this be?
Set mail_debug=yes and show logs
On Sunday 03 April 2011 18:23:37 Jim Knuth wrote:
protocol imap {
imap_client_workarounds =
mail_fsync = never
mail_plugins = autocreate quota imap_quota trash
}
plugin {
trash = /etc/dovecot/dovecot-trash.conf.ext
}
protocol pop3 {
mail_fsync = never
mail_plugins
am 04.04.11 10:47 schrieb Joseba Torre joseba.to...@ehu.es:
On Sunday 03 April 2011 18:23:37 Jim Knuth wrote:
protocol imap {
imap_client_workarounds =
mail_fsync = never
mail_plugins = autocreate quota imap_quota trash
}
plugin {
trash = /etc/dovecot/dovecot-trash.conf.ext
}
On Monday 04 April 2011 11:01:40 Jim Knuth wrote:
sorry, but that`s IMHO not right. Take a look at
$mail_plugins. There is also defined quota
In your dovecot -n output mail_plugins are only defined inside the protocol
parts. So, when inside protocol lda you write
mail_plugins = $mail_plugins
am 04.04.11 11:22 schrieb Joseba Torre joseba.to...@ehu.es:
On Monday 04 April 2011 11:01:40 Jim Knuth wrote:
sorry, but that`s IMHO not right. Take a look at
$mail_plugins. There is also defined quota
In your dovecot -n output mail_plugins are only defined inside the protocol
parts. So,
On Mon, 2011-04-04 at 11:22 +0200, Joseba Torre wrote:
On Monday 04 April 2011 11:01:40 Jim Knuth wrote:
sorry, but that`s IMHO not right. Take a look at
$mail_plugins. There is also defined quota
In your dovecot -n output mail_plugins are only defined inside the protocol
parts. So, when
am 04.04.11 13:31 schrieb Jim Knuth j...@jkart.de:
am 04.04.11 12:55 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 11:22 +0200, Joseba Torre wrote:
On Monday 04 April 2011 11:01:40 Jim Knuth wrote:
sorry, but that`s IMHO not right. Take a look at
$mail_plugins. There is also
On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote:
no rejects with that config above.
Just a mail has arrived for the user ..
So what do the logs say with mail_debug=yes?
am 04.04.11 15:13 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote:
no rejects with that config above.
Just a mail has arrived for the user ..
So what do the logs say with mail_debug=yes?
which piece do you mean?
Arriving mail or sent mail?
Or IMAP
On Mon, 2011-04-04 at 16:01 +0200, Jim Knuth wrote:
am 04.04.11 15:13 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote:
no rejects with that config above.
Just a mail has arrived for the user ..
So what do the logs say with mail_debug=yes?
am 04.04.11 17:02 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 16:01 +0200, Jim Knuth wrote:
am 04.04.11 15:13 schrieb Timo Sirainent...@iki.fi:
On Mon, 2011-04-04 at 14:58 +0200, Jim Knuth wrote:
no rejects with that config above.
Just a mail has arrived for the user ..
So
On Mon, 2011-04-04 at 17:33 +0200, Jim Knuth wrote:
Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve:
msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX'
If this is the only message logged from Dovecot, it means mail_debug
isn't yes. You should have lines like:
Apr 04
am 04.04.11 17:43 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 17:33 +0200, Jim Knuth wrote:
Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve:
msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX'
If this is the only message logged from Dovecot, it means mail_debug
am 04.04.11 17:43 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 17:33 +0200, Jim Knuth wrote:
Apr 4 14:34:17 server2 dovecot: lda(web6p1): sieve:
msgid=op.vteyat1azaba4d@agi-pc: stored mail into mailbox 'INBOX'
If this is the only message logged from Dovecot, it means mail_debug
On Mon, 2011-04-04 at 18:15 +0200, Jim Knuth wrote:
Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule:
root=User quota mailbox=* bytes=734003200 messages=0
This is the default 700 MB quota specified in config file.
Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: userdb
am 04.04.11 18:23 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 18:15 +0200, Jim Knuth wrote:
Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule:
root=User quota mailbox=* bytes=734003200 messages=0
This is the default 700 MB quota specified in config file.
Apr 4
am 04.04.11 18:23 schrieb Timo Sirainen t...@iki.fi:
On Mon, 2011-04-04 at 18:15 +0200, Jim Knuth wrote:
Apr 4 18:00:55 server2 dovecot: lda(web6p1): Debug: Quota rule:
root=User quota mailbox=* bytes=734003200 messages=0
This is the default 700 MB quota specified in config file.
Apr 4
Hello,
I have a user who has 153600 kBytes max. storage space.
Now, however, he has used already 167396 kBytes
and he can receive e-mails and can send.
How can this be?
# 2.0.11 (0ce50c22f84c): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.29.4 i686 Debian wheezy/sid
--
Mit freundlichen Grüßen,
Jim Knuth j...@jkart.de wrote:
I have a user who has 153600 kBytes max. storage space. Now, however,
he has used already 167396 kBytes and he can receive e-mails and can
send. How can this be?
Your configuration is wrong?
Sorry, without any further information there is not much else to
am 03.04.11 17:13 schrieb Sven Hartge s...@svenhartge.de:
Jim Knuthj...@jkart.de wrote:
I have a user who has 153600 kBytes max. storage space. Now, however,
he has used already 167396 kBytes and he can receive e-mails and can
send. How can this be?
Your configuration is wrong?
Sorry,
Jim Knuth j...@jkart.de wrote:
am 03.04.11 17:13 schrieb Sven Hartge s...@svenhartge.de:
Jim Knuthj...@jkart.de wrote:
I have a user who has 153600 kBytes max. storage space. Now,
however, he has used already 167396 kBytes and he can receive
e-mails and can send. How can this be?
Your
am 03.04.11 18:30 schrieb Sven Hartge s...@svenhartge.de:
Jim Knuthj...@jkart.de wrote:
am 03.04.11 17:13 schrieb Sven Hartges...@svenhartge.de:
Jim Knuthj...@jkart.de wrote:
I have a user who has 153600 kBytes max. storage space. Now,
however, he has used already 167396 kBytes and he
On 3.4.2011, at 17.48, Jim Knuth wrote:
I have a user who has 153600 kBytes max. storage space.
Now, however, he has used already 167396 kBytes
and he can receive e-mails and can send.
How can this be?
Set mail_debug=yes and show logs about a mail delivery that should have been
rejected.
:
quota: net_connect_unix(/var/run/dovecot/quota-warning) failed:
Permission denied (euid=1002(local_username) egid=10(wheel) missing +r
perm: /var/run/dovecot/quota-warning, euid is not dir owner)
Mar 24 15:41:28 email_serverdovecot: lda(local_username):
msgid=20110324154128.0df8855a
/dovecot/quota-warning) failed:
Permission denied (euid=1002(local_username) egid=10(wheel) missing +r
perm: /var/run/dovecot/quota-warning, euid is not dir owner)
Mar 24 15:41:28 email_serverdovecot: lda(local_username):
msgid=20110324154128.0df8855a@local_username_ots.domainname: save
failed
Hi Timo,
ok, in my dovecot setup, I have a setting to ignore messages in the Spam
folder (I will put my dovecot -n at the end of the message), and a
strange thing appears to be happening.
If I do a quota recalc on an account, It creates the maildirsize file
correctly, without the contents of the
On Wed, 2011-02-02 at 11:54 -0800, Tim Traver wrote:
But, it looks like when a new spam email is delivered, before the sieve
rules in the lda can move it into the spam folder, it is added to the
maildirsize file. Then, once it is moved into the Spam folder, if it is
directly expunged from the
Timo,
ok, I found the issue. Config problem on some servers that were
delivering the mail. We have separate servers delivering outside mail to
the Maildirs, and a set of servers that do the IMAP, POP, Webmail, etc...
Seems the delivery servers didn't have the ignore the Spam folder
directive. I
On Wed, 2010-12-15 at 12:47 +0100, Héctor Moreno Blanco wrote:
We have dovecot 2.0.8 in our servers with Scientific Linux SL release 5.2
(Boron).
We want to ignore a mailbox and its child mailboxes.
A few weeks ago Timo told me to do this in dovecot.conf, create a new
namespace which
this with the : modification until
delete-to-trash run on Dovecot 2.0
2010/12/30 Timo Sirainen t...@iki.fi:
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Recently I encountered odd quota increases when using 'dsync' with the latest
and greatest: 2.0.8 (89936539e3b8).
Say you got something in place like this:
plugin {
quota = dict:user::file:%h/mdbox/dovecot-quota
quota_rule = *:storage=1GB
Hi I seem to be getting an error when quotas are enabled. Also I noticed
that the quota_ rule settings don't actually get used, the only settings
that are used are on the sql.conf file. Maybe I'm not understanding what the
quota_rule does but should I be specifying the storage/messages values on
On 2010-12-20 1:35 PM, PA wrote:
Dovecot -n
# OS: Linux 2.6.18-194.el5PAE i686 CentOS release 5.5 (Final) ext3
Why'd you snip the version?
--
Best regards,
Charles Marcus
I.T. Director
Media Brokers International, Inc.
678.514.6200 x224 | 678.514.6299 fax
dovecot --version
2.0.8
-Original Message-
From: dovecot-bounces+razor=meganet@dovecot.org
[mailto:dovecot-bounces+razor=meganet@dovecot.org] On Behalf Of Charles
Marcus
Sent: Monday, December 20, 2010 2:31 PM
To: dovecot@dovecot.org
Subject: Re: [Dovecot] quota issues
On 2010-12
Sent: Monday, December 20, 2010 3:13 PM
To: 'Dovecot Mailing List'
Subject: Re: [Dovecot] quota issues
dovecot --version
2.0.8
-Original Message-
From: dovecot-bounces+razor=meganet@dovecot.org
[mailto:dovecot-bounces+razor=meganet@dovecot.org] On Behalf Of Charles
Marcus
Sent
List'
Subject: Re: [Dovecot] quota issues
Just looked at the patch I referenced below seems to be included on version
2.0.8 that I'm using, not really sure why I'm getting those errors.
-Original Message-
From: dovecot-bounces+razor=meganet@dovecot.org
[mailto:dovecot-bounces+razor
Hello,
We have dovecot 2.0.8 in our servers with Scientific Linux SL release 5.2
(Boron).
We want to ignore a mailbox and its child mailboxes.
A few weeks ago Timo told me to do this in dovecot.conf, create a new namespace
which will be the quotaless namespace and edit the quota:
namespace {
On Fri, 2010-12-10 at 16:29 +0100, Harm van Tilborg wrote:
user_query = \
SELECT m.maildir AS home, 1001 AS uid, 1001 AS gid, \
CONCAT('*:bytes=', m.quota, 'M') AS quota_rule, \
'Trash:ignore' AS quota_rule2 \
There's no need for the quota_rule2 to be here since it's always static
Hello everyone,
I'm experimenting with the quota warning plugin. I have the following
setting in Dovecot's general config:
plugin {
quota_warning = storage=75%% /var/www/contrib/doquotawarning.py 75
quota_warning2 = storage=90%% /var/www/contrib/doquotawarning.py 90
}
The doquotawarning.py
Is It possible have a quota for max file size?
Per example, If the client try to save a very big mail as draft, p.e.
100M, and the limit of Exim configuration is 20M, the mail is really
saved in Maildir at sent or Draft but it can't be sent.
I think maybe is easy to create a plugin, get the
On 26.11.2010, at 12.26, Antonio Perez-Aranda wrote:
Is It possible have a quota for max file size?
No. Also I don't think that's really about quota, since this could be useful
even when users have no quota.
I think maybe is easy to create a plugin, get the saved stream size
and then if it
It wasn't really a bug, more like a feature I thought would have been a
good idea, but wasn't really. Instead of using 100M, you could use e.g.
10% (10% of 0 is 0 = unlimited). Or apply this patch:
http://hg.dovecot.org/dovecot-2.0/rev/3a93121f652a
On Sun, 2010-11-21 at 23:51 -0800, Tim Traver
Thanks Timo! That patch did the trick!
Its great that you are so quick with changes that affect your users.
Tim
On 11/22/2010 10:36 AM, Timo Sirainen wrote:
It wasn't really a bug, more like a feature I thought would have been a
good idea, but wasn't really. Instead of using 100M, you could
Hi all,
ok, I implemented the feature to allow 100 more MB in the trash, and it
appears to work for accounts that have a standard quota, but it appears
it doesn't work with an account that comes back with a 0 quota (meaning
unlimited).
So, I seemed to have fixed one issue, but then on accounts
ok, more info on this one. When I took out the quota_rule that added the
extra 100M to the trash quota, the unlimited accounts started working
properly again.
So you know, I retrieve the quota values from the userdb lookups instead
of having a default configured in the dovecot config files,
Hi @all,
is there any way to inform a mailbox user via mail that his mailbox reached
a specified limit?
Regards
Patrick
On Thu, 28 Oct 2010 12:16:11 +0200, Patrick Westenberg p...@wk-serv.de
wrote:
is there any way to inform a mailbox user via mail that his mailbox
reached
a specified limit?
Forget it. Found it in the wiki.
On Thursday 14 October 2010 17:26:08 Timo Sirainen wrote:
On Thu, 2010-10-14 at 13:55 +0200, Roman wrote:
quotadict = pgsql:/etc/dovecot/dovecot-dict-quota.conf
After moving some mail on and off the account and finally cleaning out
any mail (verified via console) quota2 looks like this:
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 {
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
}
Hi everybody,
i am currently testing dovecot-1.2.9 together with postfix, postgres and
postfixadmin.
After setting up the basics, i wanted to get the quotas working...
So i edited the dovecot.conf:
mail_plugins = quota imap_quota
mail_plugins = sieve quota
quotadict =
On Thu, 2010-10-14 at 13:55 +0200, Roman wrote:
quotadict = pgsql:/etc/dovecot/dovecot-dict-quota.conf
After moving some mail on and off the account and finally cleaning out any
mail (verified via console) quota2 looks like this:
username bytes messages
Hi,
I am having trouble with the quota plugin with deliver. In the auth logs, I
see that dovecot is able to get the attribute value just fine:
***
Sep 21 17:49:30 dawnone dovecot: auth(default): ldap(cot,127.0.0.1): result:
uid(user)=cot uidNumber(userdb_uid)=1011 gidNumber(userdb_gid)=1011
On Tue, 2010-09-21 at 18:02 +0530, Mohit Chawla wrote:
***
Sep 21 17:49:30 dawnone dovecot: auth(default): ldap(cot,127.0.0.1): result:
uid(user)=cot uidNumber(userdb_uid)=1011 gidNumber(userdb_gid)=1011
homeDirectory(userdb_home)=/home/cot
Hi,
Thanks Timo, you were right , deliver was missing the -d parameter.
On Tue, Sep 21, 2010 at 6:27 PM, Timo Sirainen t...@iki.fi wrote:
On Tue, 2010-09-21 at 18:02 +0530, Mohit Chawla wrote:
***
Sep 21 17:49:30 dawnone dovecot: auth(default): ldap(cot,127.0.0.1):
result:
Hi,
I'm trying to set Dovecot 2.0 with postgresql dict. It's kind of working but
not as I'd like to. Dovecot expects to get a dedicated table for quota
management. When I've run *doveadm quota recalc -A* I've noticed in the logs
that Dovecot tries to run DELETE statements. Fortunately it
On Tue, 2010-09-14 at 18:07 +0200, Miha Vrhovnik wrote:
I'm trying to set Dovecot 2.0 with postgresql dict. It's kind of working but
not as I'd like to. Dovecot expects to get a dedicated table for quota
management. When I've run *doveadm quota recalc -A* I've noticed in the logs
that
On Tue, 2010-09-14 at 17:49 +0100, Timo Sirainen wrote:
On Tue, 2010-09-14 at 18:07 +0200, Miha Vrhovnik wrote:
I'm trying to set Dovecot 2.0 with postgresql dict. It's kind of working
but not as I'd like to. Dovecot expects to get a dedicated table for quota
management. When I've run
Timo Sirainen t...@iki.fi wrote on 14.9.2010 18:51:29:
On Tue, 2010-09-14 at 17:49 +0100, Timo Sirainen wrote:
On Tue, 2010-09-14 at 18:07 +0200, Miha Vrhovnik wrote:
I'm trying to set Dovecot 2.0 with postgresql dict. It's kind of working
but not as I'd like to. Dovecot expects to get a
On Tue, 2010-09-14 at 19:08 +0200, Miha Vrhovnik wrote:
When removing/receiving new message and same in case of doveadm recalc.
SELECT with key..
if not found
INSERT
else
UPDATE
I don't think this kind of code exists anywhere? It's possible that
doveadm does a SELECT, but it's
Timo Sirainen t...@iki.fi wrote on 14.9.2010 19:24:14:
On Tue, 2010-09-14 at 19:08 +0200, Miha Vrhovnik wrote:
When removing/receiving new message and same in case of doveadm recalc.
SELECT with key..
if not found
INSERT
else
UPDATE
I don't think this kind of code exists
On Tue, 2010-08-03 at 07:47 +0200, Martin Ott wrote:
See if this works:
quota = maildir:User quota:ns=INBOX/
with
quota: maildir:User quota:ns=INBOX/
log says
Aug 3 07:43:11 vlmail01 dovecot: IMAP(user): quota maildir: No maildir
storages, ignoring quota.
Fixed:
Am 03.08.2010 14:12, schrieb Timo Sirainen:
On Tue, 2010-08-03 at 07:47 +0200, Martin Ott wrote:
See if this works:
quota = maildir:User quota:ns=INBOX/
with
quota: maildir:User quota:ns=INBOX/
log says
Aug 3 07:43:11 vlmail01 dovecot: IMAP(user): quota maildir: No maildir
storages,
On Tue, 2010-08-03 at 14:48 +0200, Martin Ott wrote:
thanks, the warnings in the log are gone, but when mail is expunged, quota
stays the same.
There are no negative values added to maildirsize file when mail is expunged.
Should there?
Yes. Looks like this works correctly in v2.0. I don't
Hi,
we're using quota with the maildir backend. When new mail arrives, the quota
gets updated. But when mail is expunged, quota stays the same (see imap dialog
below). We're using the latest version from hg ( 1.2.13 ). Any ideas?
###quota part from dovecot -n
plugin:
quota: maildir:User quota
On Mon, 2010-08-02 at 09:30 +0200, Martin Ott wrote:
Hi,
we're using quota with the maildir backend. When new mail arrives, the quota
gets updated. But when mail is expunged, quota stays the same (see imap dialog
below). We're using the latest version from hg ( 1.2.13 ). Any ideas?
Anything
Hi Timo,
thanks for your answer. I triggered the problem down to the lazy_expunge
plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated as
expected. How can I change the quota_rule, so that only the namespace with
prefix INBOX is regarded?
namespace:
type: private
On Mon, 2010-08-02 at 15:34 +0200, Martin Ott wrote:
thanks for your answer. I triggered the problem down to the lazy_expunge
plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated as
expected. How can I change the quota_rule, so that only the namespace with
prefix INBOX
Am 02.08.2010 16:39, schrieb Timo Sirainen:
On Mon, 2010-08-02 at 15:34 +0200, Martin Ott wrote:
thanks for your answer. I triggered the problem down to the lazy_expunge
plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated
as
expected. How can I change the
On Sat, 2010-07-24 at 01:58 +0200, Daniel Luttermann wrote:
cat EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o
plugin/quota=dict:user::proxy::quota quota:noenforcing
quota = dict:user::proxy::quota
Well, this isn't right.. Assuming dict works normally, dovecot-lda
should be called with one
Timo Sirainen wrote on 26.07.2010:
On Sat, 2010-07-24 at 01:58 +0200, Daniel Luttermann wrote:
cat EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o
plugin/quota=dict:user::proxy::quota quota:noenforcing
quota = dict:user::proxy::quota
Well, this isn't right.. Assuming dict works normally,
Version: Dovecot 2.0rc3
Hi,
I try to get the quota-warning.sh script working with quota/dict but I
get some errors.
The script looks like:
#!/bin/sh
PERCENT=$1
USER=$2
cat EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o
plugin/quota=dict:user::proxy::quota quota:noenforcing
From:
Hi,
in the wiki there's an example script for sending an email to an user
that has exceeded his quota.
Link: http://wiki2.dovecot.org/Quota/Configuration
The dovecot deliver command line is:
dovecot-lda -d $USER -o plugin/quota=maildir:User quota:noenforcing
I wonder about
-o: seems to be
On 22.7.2010, at 21.27, Daniel Luttermann wrote:
The dovecot deliver command line is:
dovecot-lda -d $USER -o plugin/quota=maildir:User quota:noenforcing
I wonder about
-o: seems to be undocumented because I've found no information about
this parameter.
Yeah, I guess it is. It anyway
Good morning, I am trying to add quota storage on mysql following the
guide in the wiki http://wiki.dovecot.org/Quota/Dict, and I am having
some problems.
My setup works fine for the newly created accounts, and correctly
increases/decreases quota when necessary. The wrong part seems to be
the
On Fri, 2010-07-02 at 10:06 +0200, Joan wrote:
It seems to me that dovecot --exec-mail doesn't do the mysql lookups
to get the usersdb.
Yes, you're right. --exec-mail doesn't do a userdb lookup. With v2.0 you
could use imap -u username and it does a userdb lookup.
Did you try the quota
2010/7/2 Timo Sirainen t...@iki.fi:
On Fri, 2010-07-02 at 10:06 +0200, Joan wrote:
It seems to me that dovecot --exec-mail doesn't do the mysql lookups
to get the usersdb.
Yes, you're right. --exec-mail doesn't do a userdb lookup. With v2.0 you
could use imap -u username and it does a
On Fri, 2010-07-02 at 14:31 +0200, Joan wrote:
Did you try the quota recalculation when logging in normally, instead of
with --exec-mail?
I sent a 5M mail to myself, there's the mail in inbox and the copy to
sent (amounting 10M), I connected to the server and manually removed
the mail (rm
2010/7/2 Timo Sirainen t...@iki.fi:
On Fri, 2010-07-02 at 14:31 +0200, Joan wrote:
Did you try the quota recalculation when logging in normally, instead of
with --exec-mail?
I sent a 5M mail to myself, there's the mail in inbox and the copy to
sent (amounting 10M), I connected to the
hi everyone, i have dovecot 1.2.11 and postfix with virtual users and
domains and mailscanner all is working fine but i cant made works the
quota_warning i have in my script touch quota to see is the script run but
never hapen i have in dovecot-sql.conf 'storage=10%% /etc/postfix/limit.sh'
as
201 - 300 of 722 matches
Mail list logo