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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th February 2013, 20:11
ttvilaplana ttvilaplana is offline
Junior Member
 
Join Date: Mar 2011
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail quota not working

Hello,

I've installed Ispconfig 3.0.4.6 in Debian Squeeze

I'm working on a new server rsynced from old one.

In ispconfig interface I can see a lot of mailbox accounts with 0 kb of "Mailbox Quota".
squirrel works fine and I can see the real usage of the maibox hard disk.

Is strange because not all the mailboxes shows 0Kb in the ispconfig "Mailbox quota".

Looking the ispconfig cron.log I can see a lot of entries like this

du: cannot access `/var/vmail/xxxxxx.com/xxxxxxx': No such file or directory

How can I debug this behavior?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 11th February 2013, 13:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Ensure that all files and folders in /var/vmail/ are owned by user and group vmail.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 11th February 2013, 13:58
ttvilaplana ttvilaplana is offline
Junior Member
 
Join Date: Mar 2011
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Ensure that all files and folders in /var/vmail/ are owned by user and group vmail.

Thanks Till,
All files and folders are:
drwx------ vmail vmail
except:
drwxr-xr-x 51 root root 4096 Jan 31 18:27 mailfilters
Reply With Quote
  #4  
Old 11th February 2013, 14:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Ok, so thats ok.

Does the path mentioned in the error message "/var/vmail/xxxxxx.com/xxxxxxx" exists? Or did you move the mailboxes to a different path and the old path is still in the mail_user database table for some mailboxes?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 11th February 2013, 15:39
ttvilaplana ttvilaplana is offline
Junior Member
 
Join Date: Mar 2011
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes.

The path exists for every error message in the cron.log
There are also several errors like this: find: `./system': Permission denied

¿Which script executes 'du' command to count the disk occupation of mailboxes? maybe I could follow it to find the error.

Thanks.
Reply With Quote
  #6  
Old 11th February 2013, 16:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

Quote:
¿Which script executes 'du' command to count the disk occupation of mailboxes?
/usr/local/ispconfig/server/server.sh

This script runs as root user, run "crontab -l" as root user to see the cronjob entry.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 22nd February 2013, 08:42
ttvilaplana ttvilaplana is offline
Junior Member
 
Join Date: Mar 2011
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Till

We can't find the problem for wich the mail quote is 0 on isp control panel.

We can see in the cron.log file the following errors when we execute manually the script: /usr/local/ispconfig/server/cron_daily.sh

find: `./bin': Permission denied
find: `./lib': Permission denied
find: `./dev': Permission denied
find: `./system': Permission denied
find: `./home': Permission denied
find: `./usr': Permission denied
find: `./var': Permission denied
find: `./etc': Permission denied

The script you comment /usr/local/ispconfig/server/server.sh don't show any errors.

Thanks
Reply With Quote
  #8  
Old 29th March 2014, 07:51
scarleo scarleo is offline
Junior Member
 
Join Date: Sep 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Mail quota doesn't work for me either, all mail boxes show something like 104 kb even though I know that some of them contains a lot more. Nonw of the mentioned scripts gives any errors.
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
Postfix Timeout after DATA from some emails treeman Server Operation 13 25th September 2013 12:51
Getting Email Working ISPConfig3 Squirrelmail and Courier etc Ian Wilson Installation/Configuration 17 19th June 2013 22:58
mysql and mail problem viritech General 3 16th October 2012 12:54
postfix problem jagsler Server Operation 41 7th July 2011 14:19
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33


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


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