Hallo. Sorry for may bad english. I'm running dovecot 1.0.15 on a debian lenny system. I've set quota plugin and, under section plugin, I've set:
quota = maildir quota_rule = *:storage=50M quota_rule2 = Trash:storage=10%% quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80. For some accounts the quota limit works well. When I send mail I receive a rejected mail for quota exceeded. For some other accounts it doesn'work despite they have passed the 50M storage limit. Why?
On Wed, 2009-06-17 at 16:15 +0200, Mauro wrote:
Hallo. Sorry for may bad english. I'm running dovecot 1.0.15 on a debian lenny system. I've set quota plugin and, under section plugin, I've set:
quota = maildir quota_rule = *:storage=50M quota_rule2 = Trash:storage=10%%
You're trying to use Dovecot v1.1 quota settings on Dovecot v1.0. They're incompatible. See http://wiki.dovecot.org/Quota/1.0 for how to do it for v1.0.
quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80.
v1.0 also doesn't support quota warnings at all.
2009/6/17 Timo Sirainen tss@iki.fi:
On Wed, 2009-06-17 at 16:15 +0200, Mauro wrote:
Hallo. Sorry for may bad english. I'm running dovecot 1.0.15 on a debian lenny system. I've set quota plugin and, under section plugin, I've set:
quota = maildir quota_rule = *:storage=50M quota_rule2 = Trash:storage=10%%
You're trying to use Dovecot v1.1 quota settings on Dovecot v1.0. They're incompatible. See http://wiki.dovecot.org/Quota/1.0 for how to do it for v1.0.
Sorry my wrong. However I've corrected my settings: quota = maildir:storage=51200 for 50M limit. I've the same problem. Some accounts doesn't receive mail because they have passed quota limit, some other accounts continue to receive despite they have passed quota limit. I don't know why.
On Wed, 2009-06-17 at 22:03 +0200, Mauro wrote:
However I've corrected my settings: quota = maildir:storage=51200 for 50M limit. I've the same problem. Some accounts doesn't receive mail because they have passed quota limit, some other accounts continue to receive despite they have passed quota limit. I don't know why.
How are you delivering mails? Are you using Dovecot deliver or something else? What do you use as passdb and userdb? Show their settings?
2009/6/17 Timo Sirainen tss@iki.fi:
On Wed, 2009-06-17 at 22:03 +0200, Mauro wrote:
However I've corrected my settings: quota = maildir:storage=51200 for 50M limit. I've the same problem. Some accounts doesn't receive mail because they have passed quota limit, some other accounts continue to receive despite they have passed quota limit. I don't know why.
How are you delivering mails? Are you using Dovecot deliver or something else? What do you use as passdb and userdb? Show their settings?
I'm using dovecot deliver. I'm using ldap for passdb and userdb but what these settings I think have nothing to do with quota. Perhaps I have to delete maildirsize file for all the accounts?
protocol imap { mail_plugins = quota imap_quota ........
protocol pop { mail_plugins = quota .........
protocol lda { mail_plugins = quota ........
plugin { quota = maildir:storage=51200
On Wed, 2009-06-17 at 22:10 +0200, Mauro wrote:
How are you delivering mails? Are you using Dovecot deliver or something else? What do you use as passdb and userdb? Show their settings?
I'm using dovecot deliver. I'm using ldap for passdb and userdb but what these settings I think have nothing to do with quota.
So you're using only a single global quota for all users and there are no quota settings coming from ldap?
Perhaps I have to delete maildirsize file for all the accounts?
I guess you could try that.
2009/6/17 Timo Sirainen tss@iki.fi:
On Wed, 2009-06-17 at 22:10 +0200, Mauro wrote:
How are you delivering mails? Are you using Dovecot deliver or something else? What do you use as passdb and userdb? Show their settings?
I'm using dovecot deliver. I'm using ldap for passdb and userdb but what these settings I think have nothing to do with quota.
So you're using only a single global quota for all users and there are no quota settings coming from ldap?
Yes, for now I've set a global quota.
Perhaps I have to delete maildirsize file for all the accounts?
I guess you could try that.
I try.
2009/6/17 Mauro mrsanna1@gmail.com:
Yes, for now I've set a global quota.
Perhaps I have to delete maildirsize file for all the accounts?
I guess you could try that.
It works now, thank you. Perhaps maildirsize files format were corrupted. I am disappointed that the new debian stable has dovecot 1.0 rather than dovecot 1.1.
Mauro wrote:
2009/6/17 Mauro mrsanna1@gmail.com:
Yes, for now I've set a global quota.
Perhaps I have to delete maildirsize file for all the accounts? I guess you could try that.
It works now, thank you. Perhaps maildirsize files format were corrupted. I am disappointed that the new debian stable has dovecot 1.0 rather than dovecot 1.1.
You can find 1.1 in backports as apparently the next release will finally have 1.1 (right around the time 1.2 becomes the standard), or rebuild the package (I'll post the commands to do it if anyone is interested) from unstable.
~Seth
2009/6/18 Seth Mattinen sethm@rollernet.us:
You can find 1.1 in backports as apparently the next release will finally have 1.1 (right around the time 1.2 becomes the standard), or rebuild the package (I'll post the commands to do it if anyone is interested) from unstable.
I can do this but I lost the security support from the debian team.
2009/6/18 Charles Marcus CMarcus@media-brokers.com:
On 6/17/2009, Mauro (mrsanna1@gmail.com) wrote:
I am disappointed that the new debian stable has dovecot 1.0 rather than dovecot 1.1.
They *always* have ancient versions... its one reaosn reason I never used debian...
I think debian is a good distribution for servers. What do you use?
On 6/18/2009 7:37 AM, Mauro wrote:
I am disappointed that the new debian stable has dovecot 1.0 rather than dovecot 1.1.
They *always* have ancient versions... its one reaosn reason I never used debian...
I think debian is a good distribution for servers.
I didn't mean to sound like I was knocking Debian... I just really dislike the whole idea of limiting a server longterm to a specific version of a critical application when it isn't necessary, and then refusing to even try to support it if someone decides to use backports to get around this limitation. But its just my personal opinion.
What do you use?
Sorry, no intention to start a distro-war, but I have always preferred gentoo for servers... it isn't perfect, but gives me the control I like, and as long as you are careful with updates, it never breaks. I have 2 that have been running for over 4 years, that have all survived (without incident) major GCC upgrades (3.x to 4.x), and never had a crash or compromise (that I'm aware of, at least ;)... but of course, there are tons of people that can say pretty much the same for any distro out there. I'm not under any kind of illusion that gentoo is 'special' in that way... I just really like the package manager. :)
I wouldn't use it for a Desktop though - I use Windows with VirtualBox at work, but am seriously considering replacing it with PC-BSD... I just wish I could run Windows in VirtualBox using PCBSD as the host...
--
Best regards,
Charles
participants (4)
-
Charles Marcus
-
Mauro
-
Seth Mattinen
-
Timo Sirainen