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 18th May 2007, 16:24
ArnOS ArnOS is offline
Junior Member
 
Join Date: Nov 2006
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default /tmp filled with clamav files --> user over quota

When user arno@domain.tld tries to send an e-mail to admin@domain.tld it bounces back with the following error:

== Bounce ==

<web7_admin@server1.example.com> (expanded from <admin@domain.tld>):
can't create user output file. Command output: procmail: Quota exceeded
while writing
"/var/www/web7/Maildir/tmp/1179487840.31842_0.server1.example.com"


And in the maillogs:

== mail.log ==

May 18 13:30:38 h1266987 postfix/smtpd[31837]: C7FBD1FC0E6E: client=client.bla.com[x.x.x.x], sasl_method=LOGIN, sasl_username=web7_arno
May 18 13:30:38 h1266987 postfix/cleanup[31840]: C7FBD1FC0E6E: message-id=<BLEKKFFIOFKCHJJFFGHEGEPPCAAA.arno@domain.tld>
May 18 13:30:38 h1266987 postfix/qmgr[22332]: C7FBD1FC0E6E: from=<arno@domain.tld>, size=749, nrcpt=1 (queue active)
May 18 13:30:41 h1266987 postfix/local[31841]: C7FBD1FC0E6E: to=<web7_admin@server1.example.com>, orig_to=<admin@domain.tld>, relay=local, delay=3, status=bounced (can't create user output file. Command output: procmail: Quota exceeded while writing "/var/www/web7/Maildir/tmp/1179487840.31842_0.server1.example.com" )
May 18 13:30:41 h1266987 postfix/qmgr[22332]: C7FBD1FC0E6E: removed


The web7_admin user has a qouta limit of 25 MB. Repquota shows the user has reached its limit:

h1266987:/var/log# repquota -avug | grep web7
web7_admin -- 25600 25600 26624 none 244 0 0


However the directory for his mail and logs only contains around 11 MB (/var/www/web7/user/web7_admin/). I found out the rest is in the /tmp directory:

h1266987:/var/log# ll /tmp/
total 8
drwx------ 2 web7_admin web7 4096 May 18 13:30 clamav-861a09f2850a263a1e290c829169e102

h1266987:/tmp# ll /tmp/clamav-861a09f2850a263a1e290c829169e102/
total 13676
-rw------- 1 web7_admin web7 17992 May 18 13:30 COPYING
-rw------- 1 web7_admin web7 4736232 May 18 13:30 main.db
-rw------- 1 web7_admin web7 637507 May 18 13:30 main.hdb
-rw------- 1 web7_admin web7 8572928 May 18 13:30 main.ndb


I'm not sure, but the problem seems to be related to the problem described in thread 11100. However, the ISPConfig version is 2.2.12 and Clamav version is 0.90.2. It seems the user is invoking the clamav update by sending an e-mail, but the update fails.What may be causing this problem?

Grtz,
Arno.
Reply With Quote
Sponsored Links
  #2  
Old 19th May 2007, 15:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Are you sure the ISPConfig version is 2.2.12? Because this problem was fixed in one of the last releases...
__________________
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 19th May 2007, 16:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,736
Thanks: 840
Thanked 5,596 Times in 4,407 Posts
Default

Which linux distribution do you use? Are the clamav database files and directory world readable? Otherwise the access from the clamassassin script will fail and clamav tries to download the database files again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 19th May 2007, 21:12
ArnOS ArnOS is offline
Junior Member
 
Join Date: Nov 2006
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default

@Falko: Yes the version is 2.2.12. What did you do to fix it?

@Till: The distro is debian sarge and all the clamav files and dir's are world readable. Probably a shot in the dark but the server is a Virtuoso-based VPS.
Reply With Quote
  #5  
Old 20th May 2007, 18:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by ArnOS
@Falko: Yes the version is 2.2.12. What did you do to fix it?
Till implemented the fix, so I'm not sure...
__________________
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
  #6  
Old 20th May 2007, 19:36
ArnOS ArnOS is offline
Junior Member
 
Join Date: Nov 2006
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default

It probably has something to do with this: http://lists.jameslick.com/pipermail...ry/000030.html. It says to remove the --mbox option from the CLAMSCANOPT variable.

# Configure options passed to clamscanner
CLAMSCANOPT="--no-summary --stdout"

Till mentioned it in his thread: http://www.howtoforge.com/forums/sho...t=clamassassin.

I wonder if it is possible to run the updates as the admispconfig user or some other user without a quota?

Grtz,
Arno
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 13:19
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 10:25
log files cruz Technical 3 15th May 2007 15:35
Multiple sites -> same admin user merlincc General 1 24th December 2006 12:52
quota.x-username files appearing in /tmp titanium General 3 12th October 2006 18:58


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


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