#1  
Old 20th April 2007, 15:33
lapena lapena is offline
Junior Member
 
Join Date: Apr 2007
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Question Quota warnings

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

<test@xxx.fr> (expanded from <xxx@xxx.fr>): can't create
user output file. Command output: procmail: Quota exceeded while writing
"/home/www/web2/user/test/Maildir/tmp/1177060587.3832_0"


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,
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2007, 12:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
 
Default

Quote:
Originally Posted by lapena
- 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.
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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quota doesn't change benjami General 2 13th March 2007 20:24
quota check more often Jorem Installation/Configuration 5 7th March 2007 18:21
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 17:21
Syntax error in Quota? st2xo Installation/Configuration 2 13th February 2006 11:30
another quota question... Ovidiu General 9 21st December 2005 01:08


All times are GMT +2. The time now is 13:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.