Quota warnings

Discussion in 'Installation/Configuration' started by lapena, Apr 20, 2007.

  1. lapena

    lapena New Member

    I've installed ISPConfig on Debian Sarge (Postfix with Maildir) this wednesday.
    Almost everything is working in my installation, except quota warnings. I've created a user called 'test', with a 5 MB quota (web & mail).
    When this quota is over, the user can't neither receive mail nor put files through ftp. This is working, it's great.

    However here is what I'm looking for :
    - First I'd like to know wether there is a script that watch mail quotas and send a notification email to users that use 75, and then 90% of the quota, before blocking it.
    - When I've sent a mail to the user 'test' (the quota was reached) I receive an email like this :

    Undelivered Mail Returned to Sender

    <[email protected]> (expanded from <[email protected]>): can't create
    user output file. Command output: procmail: Quota exceeded while writing

    Is there a way to replace this mail ? In fact I'd like that the path folder is not shown and to custom the mail, because for most of users it isn't explicit.

    Kindest regards,
  2. falko

    falko Super Moderator ISPConfig Developer

    Take a look at /root/ispconfig/scripts/shell/quota_msg.php. If you modify it a little bit, it should be able to do what you want.

Share This Page