Hello, 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 : My main.cf and my mysql-virtual_mailbox_limit_maps.cf 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
Did you modify the quota_notify script as shown on http://www.howtoforge.com/virtual_users_and_domains_with_postfix_debian_etch_p5 ?
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 ?
hello, have you noticed if somebody resolved problem with quota with 'home/vmail/domains' because in /usr/local/sbin/quota_notify it suppose that you have in configuration /home/vmail/domains/example.com/blabla but real situation is just /home/vmail/example.com/blabla ? because of that, quota_notify can`t work well
Hello 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); -- Pinki Lukasz Rostalski
I've had the same problem. Try this: change your /etc/postfix/main.cf change: virtual_mailbox_extended = yes to: 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: /usr/local/sbin/quota_notify You should now have an e-mail listing all users at 1% or more and the percentage of the quota used.