Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th October 2006, 13:11
titanium titanium is offline
Junior Member
 
Join Date: Oct 2006
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default quota.x-username files appearing in /tmp

Hi there

I've been using Ispconfig, running on Debian, using Postfix, Dovecot and Squirrelmail, for almost a year now. It has been working very well.

Recently, I noticed some quota files have been appearing in /tmp. They are in the format quota.mailx-username, where x is the unique number assigned by Ispconfig, and username is the user account created for a specific domain. For example, quota.mail29-joesoap:
-rw------- 1 mail29-joesoap web11 2387968 Sep 19 09:49 quota.mail29-joesoap

These files appear to contain mail output from the mailer daemon, which is addressed to the user in question.

My question is, why does mail that is apparently destined for a certain user end up in the quota file in /tmp? The size of the quota.mail29-joesoap file is usually several hundred kilobytes to a few megabytes in size, which obviously forms part of the user's own quota and exacerbates his quota over limit problem.

What causes these files to be created, and how do I solve this issue?

Many thanks
Reply With Quote
Sponsored Links
  #2  
Old 11th October 2006, 13:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What's the output of
Code:
repquota -avu|grep mail29-joesoap
repquota -avg|grep web11
?
__________________
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 11th October 2006, 14:04
titanium titanium is offline
Junior Member
 
Join Date: Oct 2006
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi falko

Thank you for your response. The output is as follows:

servername:~# repquota -avu | grep mail29-joesoap
mail29-joesoap -- 3348 10240 10240 67 0 0

servername:~# repquota -avg | grep web11
web11 -- 81024 256000 256000 1412 0 0

Bear in mind that I solved the issue by changing ownership of the quota.mail29-joesoap file in /tmp.

I understand how the concept of quota works, but my question was why does mail intended for the user go into the quota.mail29-joesoap file? Especially since, as the file is owned by the user, it will form part of his quota; and if he cannot access the file as it is located in /tmp (no shell access is given to users), the only way to fix this is for me to rm the quota.mail29-joesoap file, or change ownership of it to root.

I have been informed that mail sent to mail29-joesoap is bounced if he goes over quota, but what can I do to prevent the file quota.mail29-joesoap from being created in /tmp and growing in size until I sort it out?

Many thanks
Reply With Quote
  #4  
Old 12th October 2006, 18:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Quote:
Originally Posted by titanium
I have been informed that mail sent to mail29-joesoap is bounced if he goes over quota, but what can I do to prevent the file quota.mail29-joesoap from being created in /tmp and growing in size until I sort it out?

Many thanks
I think this might help:

Code:
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
/etc/init.d/postfix restart
__________________
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
High Load (>4.00), Clamscan / SpamAssassin DOCK42 General 8 30th May 2007 18:02


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


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