1

Topic: How exactly QUOTAs are implemented? THANKS!

Hi, I would ike to know how exactly quotas are implemented with postfix. I can see there are different ways of having quotas handled, but I do not know exactly understand how it is implemented in iredmail. Are you using this postfix patch: http://vda.sourceforge.net/ ??? Or is quota only done via policyd in postfix?

I am músing the debian version and mysql as a backend.

Thank you very much for your attention.

Snaky

2

Re: How exactly QUOTAs are implemented? THANKS!

iredmail's quota use dovecot quota

3

Re: How exactly QUOTAs are implemented? THANKS!

HI, I was asking about postfix - dovecot is the imap / pop3 server. How is postfix using quota? Is it at all using it?

4

Re: How exactly QUOTAs are implemented? THANKS!

http://wiki.dovecot.org/Quota

5

Re: How exactly QUOTAs are implemented? THANKS!

As shake already explained, the quota is handled by dovecot, and not postfix.
This is a bulk postfix installation, as as such has no quota support.

6

Re: How exactly QUOTAs are implemented? THANKS!

Hi - ok, I wondered about some parameters in postfix main.cf - I have there:

virtual_mailbox_limit_override = yes
virtual_overquota_bounce = yes
virtual_mailbox_limit_message = Sorry, the user's maildir has overdrawn the disk quota, please notice the user and try again later.

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf

what is even more strange:

 -> postconf -n virtual_mailbox_limit_maps
postconf: warning: virtual_mailbox_limit_maps: unknown parameter

 -> postconf -n virtual_mailbox_limit_override
postconf: warning: virtual_mailbox_limit_override: unknown parameter

 -> postconf -n virtual_mailbox_limit_override
postconf: warning: virtual_mailbox_limit_override: unknown parameter

This means AFAIK that postfix does not even know the parameters - but why are they in main.cf then?
This was a clean Debian Lenny install - I did not change the postfix files.

And what makes me even more wonder is the strange behavior I get and described here http://www.iredmail.org/forum/topic778- … -work.html

You now understand why I was asking how the quota is impemented?

I could do much better debugging of the iRedMail install if I did not have to "reverse engineer" the setup from config files, but somewhere could read about how things were meant to work - much easier to understand then...

Thanks again for your attention!
Snaky

7

Re: How exactly QUOTAs are implemented? THANKS!

virtual_mailbox_limit_maps is not used, it's my fault. Thanks for your remind, already removed in trunk:
http://code.google.com/p/iredmail/sourc … 2d00948b62