[Dovecot] Quota

Duane Hill duihi77 at gmail.com
Fri Oct 21 14:45:32 EEST 2011


On Fri, 21 Oct 2011, nuno marques wrote:

> hi,
> I'm having some difficulty understanding the connection between postfix, dovecot and quota.
> What is the best way to set up quotas? through the file system quota and maildir? Need the dovecot lda working? The postfix needs a patch?
>
> I was thinking about setting quotas on file system, then configure Postfix to connect to dovecot-lda. Any suggestion?
>
> The system as a whole is composed of:dovecot-2.0-0.10.beta6.20100630.el6.x86_64 -> 2.0.beta6 (3156315704ef)openldap-servers-2.4.19-15.el6_0.2.x86_64postfix-2.6.6-2.1.el6_0.x86_64mailscanner-4.84.3-1.noarchspamassassin-3.3.1-2.el6.x86_64centos 6 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux

Here, I have a policy service in Postfix that checks the quota stored in 
MySQL and defers the message if it would put the email account over quota.

If you have Dovecot deal with sending over quota messages, there is a 
risk. You may end up sending messages to forged email addresses within 
spam. That's why I do the quota checking from a policy service in Postfix 
and defer the message at SMTP time.


More information about the dovecot mailing list