quota_notify----can not work

Discussion in 'HOWTO-Related Questions' started by suqing2008, Mar 30, 2008.

  1. suqing2008

    suqing2008 New Member

    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:




    i have modified the quota_notify script as shown on http://howtoforge.com/virtual-users-domains-postfix-courier-mysql-mandriva2008.0-p4

    Virtual Users And Domains With Postfix, Courier And MySQL (Mandriva 2008.0)

    what can i do ?
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you restart Postfix?
  3. suqing2008

    suqing2008 New Member

    i have restarted postfix and system,but it is nothing to be changed
  4. falko

    falko Super Moderator ISPConfig Developer

    Do you know if there are any mail accounts that are over quota?
  5. suqing2008

    suqing2008 New Member

    there is no mail account that are over quota,
    i think the return would show what percent have used.

    5% A
    4% B
    13% c


    do i think right?
  6. falko

    falko Super Moderator ISPConfig Developer

    That's right. Do you happen to know if it was working before you changed the virtual_mailbox_base?
  7. suqing2008

    suqing2008 New Member

    i am not testing the program in that case...wu

    i will test it in future days
  8. morenz

    morenz New Member

    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...

    Last edited: Apr 8, 2008
  9. rocket30

    rocket30 New Member

Share This Page