No Quota information in the mail

Discussion in 'Installation/Configuration' started by Tr!n!Ty, Aug 9, 2007.

  1. Tr!n!Ty

    Tr!n!Ty New Member


    I have a problem with the mail for the quota When i received mail there's no information in

    I look in the post in the forum and modifie this line in /usr/local/sbin/quota_notify

    Added that too :


    and my

    When i do "sudo /usr/local/sbin/quota_notify"

    I look the mysql.log and i don't see requet for the quotas

    Anyone have idear ?

    Thanks for help :)

    there is juste quotas who don't work :(
  2. falko

    falko Super Moderator ISPConfig Developer

  3. Tr!n!Ty

    Tr!n!Ty New Member

    Hello Falko,

    I change the line but same issue i post my quota_notify

    But why in the log on mysql, i don't see request for quota ?
  4. falko

    falko Super Moderator ISPConfig Developer

    Which distribution are you using?
  5. Tr!n!Ty

    Tr!n!Ty New Member

    I'm using Ubuntu edgy
  6. falko

    falko Super Moderator ISPConfig Developer

    Please try this:
    ln -sf /bin/bash /bin/sh
  7. sremac

    sremac New Member


    have you noticed if somebody resolved problem with quota with

    because in /usr/local/sbin/quota_notify it suppose that you have in configuration


    but real situation is just



    because of that, quota_notify can`t work well :confused:
  8. Tr!n!Ty

    Tr!n!Ty New Member

    i back home and this command change nothing the report quota is empty :(
  9. justiceiro_df

    justiceiro_df New Member

    I've notice that to, I have the same problem as descrive above... some one found any issue ???

  10. Pinki

    Pinki New Member

    change line 95
    from: my $percent = int($used / $quota * 100);
    to: my $percent = sprintf "%.3f",($used / $quota * 100);

    and line 111
    from: printf("| %3d | %32s |\n", $lusers{$luser}, $luser);
    to: printf("| %.3f | %32s |\n", $lusers{$luser}, $luser);

    Lukasz Rostalski
  11. thecaoticone

    thecaoticone New Member

    I've had the same problem.

    Try this:
    change your /etc/postfix/

    virtual_mailbox_extended = yes

    virtual_maildir_extended = yes

    then reload postfix.

    For a fresh install, send a test e-mail to your account. ( I used an attachment that was more than 1% of my quota. )

    then login to the server as root and do:

    You should now have an e-mail listing all users at 1% or more and the percentage of the quota used.
    Last edited: Jan 24, 2008

Share This Page