[Dovecot] quota doesn't work?
I'm using dovecot 1.0.rc15 with debian etch.
In dovecot.conf I have set
mail_plugins = quota imap_quota for imap
mail_plugins = quota for pop3
and quota = maildir:storage=10240.
I seems that it doesn't work 'cause I send messages over 10M and
it
doesn't block my maildir box.
I have to do something more?
On Fri, 2008-02-15 at 13:30 +0100, Mauro Sanna wrote:
I'm using dovecot 1.0.rc15 with debian etch.
I'd suggest upgrading to a newer version. backports.org has v1.0.10 for etch.
In dovecot.conf I have set mail_plugins = quota imap_quota for imap mail_plugins = quota for pop3 and quota = maildir:storage=10240. I seems that it doesn't work 'cause I send messages over 10M and it doesn't block my maildir box. I have to do something more?
What do you mean by "send"? If you mean messages sent via SMTP, it doesn't work because it's your SMTP server that saves the mail and Dovecot never even sees it until it's already saved to the mailbox.
You may want to look into Dovecot's mail delivery agent and configure it also to use quota: http://wiki.dovecot.org/LDA
Il giorno ven, 15/02/2008 alle 14.58 +0200, Timo Sirainen ha scritto:
On Fri, 2008-02-15 at 13:30 +0100, Mauro Sanna wrote:
I'm using dovecot 1.0.rc15 with debian etch.
I'd suggest upgrading to a newer version. backports.org has v1.0.10 for etch.
In dovecot.conf I have set mail_plugins = quota imap_quota for imap mail_plugins = quota for pop3 and quota = maildir:storage=10240. I seems that it doesn't work 'cause I send messages over 10M and it doesn't block my maildir box. I have to do something more?
What do you mean by "send"? If you mean messages sent via SMTP, it doesn't work because it's your SMTP server that saves the mail and Dovecot never even sees it until it's already saved to the mailbox.
I'm using postfix to send messages. Yes, postfix saves the mail but when dovecot sees that mail, for example, mail X is over quota I think it may reject it. Perhaps I need quota support for postfix? Sorry for my bad english.
Mauro Sanna wrote:
I'm using postfix to send messages. Yes, postfix saves the mail but when dovecot sees that mail, for example, mail X is over quota I think it may reject it. Perhaps I need quota support for postfix?
Sounds to me like:
- You send a 10MB mail via postfix. The mail is sent succesfully.
- The mail is saved in the SENT folder on a dovecot account. This surprises you as you think it should be rejected as this would bring the account over quota.
Correct?
Tobias
Il giorno ven, 15/02/2008 alle 14.17 +0100, Tobias Balle-Petersen ha scritto:
Mauro Sanna wrote:
I'm using postfix to send messages. Yes, postfix saves the mail but when dovecot sees that mail, for example, mail X is over quota I think it may reject it. Perhaps I need quota support for postfix?
Sounds to me like:
- You send a 10MB mail via postfix. The mail is sent succesfully.
- The mail is saved in the SENT folder on a dovecot account. This surprises you as you think it should be rejected as this would bring the account over quota.
Correct?
Yes it is. Better: the first mail brings the account over quota but it is accepted by dovecot. If I send a second mail, I think, it should be rejected 'cause the account is just over quota. It isn't so? Thank you.
Il giorno ven, 15/02/2008 alle 22.09 +0100, Mauro Sanna ha scritto:
Il giorno ven, 15/02/2008 alle 14.17 +0100, Tobias Balle-Petersen ha scritto:
Mauro Sanna wrote:
I'm using postfix to send messages. Yes, postfix saves the mail but when dovecot sees that mail, for example, mail X is over quota I think it may reject it. Perhaps I need quota support for postfix?
Sounds to me like:
- You send a 10MB mail via postfix. The mail is sent succesfully.
- The mail is saved in the SENT folder on a dovecot account. This surprises you as you think it should be rejected as this would bring the account over quota.
Correct?
Yes it is. Better: the first mail brings the account over quota but it is accepted by dovecot. If I send a second mail, I think, it should be rejected 'cause the account is just over quota. It isn't so? Thank you.
Is it not this way?
participants (3)
-
Mauro Sanna
-
Timo Sirainen
-
Tobias Balle-Petersen