Hello friends... I'm new here and I have one question...
System is Centos 5.0 and I'm using postfix rpm from centosplus (with mysql support) and it works fine but quota doeasn't work... I entered YES for quota in postfixadmin config file, setup is 50MB for user mailboxes but I still can receive more then 50MB in mailboxes... When I enter #du command in user maildir it shows above 50MB...
Here is few lines from main.cf
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /opt/mail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
# quota addon
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
And mysql_virtual_mailbox_limit_maps.cf is
user = postfix
password = postfix
hosts = localhost
dbname = postfix
table = mailbox
select_field = quota
where_field = username
#additional_conditions = and active = '1'
Everything works fine except quota...