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
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/LinuxHere, 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.
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_10 at hotmail.com> wrote:> The system as a whole is composed of:dovecot-2.0-0.10.beta6.20100630.el6.x86_64Fyi, this is really old, you should upgrade to the latest version... -- Best regards, Charles