i changed postfix\main.cf "virtual_mailbox_base = /home/vmail" to "virtual_mailbox_base = /mail" everything is ok but quota_notify can not work! return just as: ==================================== DAILY QUOTA REPORT: ---------------------------------------------- | % USAGE | ACCOUNT NAME | ---------------------------------------------- -- ===================================== i have modified the quota_notify script as shown on http://howtoforge.com/virtual-users-domains-postfix-courier-mysql-mandriva2008.0-p4 references: Virtual Users And Domains With Postfix, Courier And MySQL (Mandriva 2008.0) what can i do ?
there is no mail account that are over quota, i think the return would show what percent have used. as: ---------------------------------------------- | % USAGE | ACCOUNT NAME | ---------------------------------------------- 5% A 4% B 13% c ...... do i think right?
It does not work (it has never worked) with my system (Debian Etch), too... I think it should not be a problem of changing Postfix configuration, because as I saw in the program (even if my Perl is not so good), it goes thru main.cf until it finds virtual_mailbox_base; then it stores the value in a variable, that is used in the rest of the script, so the structured exposed in header is only an example, and not the actual configuration that we *must* have. So I suppose there's something wrong in the loop that get mailbox names or writes down values, but I'm not good enough in Perl to troubleshoot it... Hope that someone smarter than me in Perl can get rid of the problem... Regards, Morenz
Same problem for me. I have followed http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04-p3