Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th November 2007, 15:17
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
Default Question about quotas

Hi all:
My config:
OpenSuse 10.1
Ispconfig 2.2.12

In this image



can view report for quotas via email message. How can block this. I want my customer cannot over quota for website and emails.

And this



how block email quota for cannot over defined space?

Regards
Reply With Quote
Sponsored Links
  #2  
Old 17th November 2007, 09:51
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 metaldrummer
Hi all:
My config:
OpenSuse 10.1
Ispconfig 2.2.12

In this image



can view report for quotas via email message. How can block this. I want my customer cannot over quota for website and emails.
Run
Code:
crontab -e
and comment out the line that sends the quota messages.

Quote:
Originally Posted by metaldrummer
And this



how block email quota for cannot over defined space?

Regards
I guess this is caused by the log files. They are copied into the user's account as root and chmoded afterwards, that's why a user can get over his quota (but only in this case). Simply delete some unused log files in the user's account.
__________________
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
  #3  
Old 17th November 2007, 17:54
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Run
Code:
crontab -e
and comment out the line that sends the quota messages.

I guess this is caused by the log files. They are copied into the user's account as root and chmoded afterwards, that's why a user can get over his quota (but only in this case). Simply delete some unused log files in the user's account.
Falko Thanks, but I need to know is because as shown in the first image, the system allowed him to store more information (size), which has defined the group account. And know why the system on the other imagne allows a user account accepts more information on your mail box that is defined. How can I make it so that the system will not allow this to happen?
Regards
David Lagos S.
Coquimbo-Chile
Reply With Quote
  #4  
Old 18th November 2007, 12:16
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

I've explained it already:
I guess this is caused by the log files. They are copied into the user's account as root and chmoded afterwards, that's why a user can get over his quota (but only in this case). Simply delete some unused log files in the user's account.
__________________
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
  #5  
Old 21st November 2007, 13:19
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
I've explained it already:
I guess this is caused by the log files. They are copied into the user's account as root and chmoded afterwards, that's why a user can get over his quota (but only in this case). Simply delete some unused log files in the user's account.
Perfect. Then on the basis that it is possible to halt the saving of those or are necessary for the proper functioning of webalizer?. Besides these log are used to be shown in the statistics that appear in the administration of each site?.
Besides my question was on the side to which the message shares the home user mailboxes, they appear exceeded (see second image). I occupied the space used to look (using the du command) for each side and that both are not the administrators of this site. So if there is any way that I can stop the postal receipt for that as much as for exceeding their allowed space or is not possible?. I doubt if the mail system is sending any message that the account is full and can not receive mail.

Thanks.
David Lagos S.
Reply With Quote
  #6  
Old 22nd November 2007, 08:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
Default

The logfiles are needed by webalizer. You can stop the coping of course, but you will loose the statistics then.

Users can not receive messages when their mailbox is full, as the process runs under the ID of the user. maybe linux system quota is not configured correctly for the ahrddisk partition where your sites reside.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 22nd November 2007, 17:02
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 107
Thanks: 18
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
The logfiles are needed by webalizer. You can stop the coping of course, but you will loose the statistics then.

Users can not receive messages when their mailbox is full, as the process runs under the ID of the user. maybe linux system quota is not configured correctly for the ahrddisk partition where your sites reside.
Sorry, I said wrongly. I am concerned that if the system sends a message box filled to the person who sends mail to my users?. Also installed ispconfig using the perfect setup for opensuse Linux 10.1
The system of quotas is installed according to the guide. And strikes me that users can continue to receive messages and your mailbox will exceed its limit defined. As I understand one thing is the size of the account of my client and the other is the size defined for each mailbox.
What could have defined wrong ... you need to send something to show repquota or something else?
Thanks
David
Reply With Quote
  #8  
Old 23rd November 2007, 16:59
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 metaldrummer
you need to send something to show repquota or something else?
You can simply run
Code:
repquota -avug
and it shows you the current quota usage.
__________________
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
  #9  
Old 25th November 2007, 14:04
Genghis Genghis is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a problem regarding the quota (check) also.
The quota always worked fine for me in the past, untill I reinstalled my server and upgraded ISPconfig some time ago.
I tried a lot of things posted here on the forum, but nothing seemed to be fixing my problem.

The thing is: quotacheck thinks a specific user is going over his quota.

Server: Debian Etch 4.0 (up to date)
Kernel: 2.6.22.4-custom-grsec
Kernel quota version: 6.5.1
ISPconfig version: 2.2.18
Quote:
cat /etc/fstab | grep quota
/dev/sda2 / reiserfs defaults,usrquota,grpquota 0 0

Reseller has no (value is -1) limit on traffic or space set (in ISPconfig webgui).
User (web6_fakedomain) has a quota limit of 15001MB.
The website (web6) itself is also set to 15001MB.
The User (web6_fakedomain) is set to be the administrator of the site (the box is checked).

Quote:
du -sh /var/www/web6/
4.0M /var/www/web6/
Quote:
du -sh /var/www/web6/*
0 /var/www/web6/cgi-bin
992K /var/www/web6/log
0 /var/www/web6/Maildir
0 /var/www/web6/phptmp
0 /var/www/web6/ssl
745K /var/www/web6/user
2.2M /var/www/web6/web
repquota -avug gives me a lot of lines:
Quote:
repquota -avug | wc -l
1095
some of the lines:
Quote:
#10094 -+ 2313704841 4294959913 2475491328 2381333897 4294959993 2207116357
#10095 -+ 16308 3894674569 1186071691 4281406023 2380952835 4270049025 none
#10096 +- 3104082844 1301017225 4041638691 none 4446184 69485705 605325639
#10097 -- 981468240 2343323019 4130468233 2299563007 4294749315 2332587264
#10098 -- 835327 4292235403 2382364646 1398210353 1474660693 3572170752
#10099 -- 2314229129 3229941760 2442445697 38 3029190281 611642445
#10100 +- 2345808151 1946288128 25265910 4676days 2299053187 3967153797 3607694454
#10101 ++ 4294681576 3964505072 2314229131 none 3521893749 3229941760 113407 none
#10102 ++ 2164260932 15225686 1474660693 none 77104011 619479808 9513411
#10103 ++ 2332575115 1204 2341142528 none 3963980240 969419008 309395 none
#10104 -- 1166656057 3358133317 2347517217 304259 2332033025 1569066984
#10105 -+ 76409043 3495267304 1166790725 3229991095 251705103 3628435778 none
#10106 +- 1166606336 77370251 1184 none 306315 2340058320 956337108
#10107 -+ 1192 2341142528 76841867 1944081723 99343437 2313438601 none
#10108 ++ 267388017 2332033024 28870668 3695545328 1166606336 78676929 none
#10109 -+ 881709133 2333051346 3071266876 4028008806 71797094 112660337 2768days
#10110 ++ 1976580352 302227 2332199892 none 2232402053 1711388431 3628960679 none
#10111 ++ 1166606785 267440265 3561851648 none 2020802560 78426939 4034235376 none
Quote:
repquota -avug | grep web6
web6_fakedomain -- 3903 0 0 173 0 0
web6 +- 179835305 15361024 15362048 none 2240407696 0 0
Quote:
/var/www $ ls -altr
lrwxrwxrwx 1 www-data web6 13 2007-08-28 22:26 www.fakedomain.com -> /var/www/web6
drwxr-xr-x 8 web6_fakedomain web6 368 2007-10-07 12:41 web6
Quote:
crontab -l | grep quota
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
Relevant info on the e-mail that is being sent out every day:
Quote:
Group: web6
Used Storage Space: 175620.42 MB
Allocated Storage Space: 15001.00 MB
Web Site: www.fakedomain.com
I had to turn off the quota to make sure the user can upload anything, so not the best solution, but I was unable to find out what the problem is myself.

Anyone has a solution, or can provide me with some info on what to investigate further?

Thanks in advance.
Reply With Quote
  #10  
Old 26th November 2007, 18:16
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

I guess that there are some huge log files in the logs directory in web6. If you don't need them, you can delete them (unless they are from the current month).
__________________
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
Proftpd stops and general install question JaJunk Installation/Configuration 6 10th May 2007 21:17
Problem with FTP Quotas FreeVPS HOWTO-Related Questions 5 1st January 2007 05:50
sendmail config question westb Server Operation 1 1st September 2006 17:00
Simple question... I think - re: multiple domains. lidocayne Installation/Configuration 1 17th July 2006 11:53
quotas mail vs. web jmroth Feature Requests 8 26th September 2005 12:09


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


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