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 21st March 2012, 18:49
gdavid gdavid is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 1 Post
Default Mail quota not working. No maildirsize file

Hi guys.
I found an issue in our production ISPConfig 3.0.3.2 system built on top of Debian Lenny.
Mail quotas are not working at all. I found no maidirsize file is crated in the vmail user directory and, even if forcing its creation with
# maildirmake -q 1024S /var/vmail/domain.com/testuser/
no update is performed when the quota is changed via web control panel.

I read much about quota control in ISP, and I understood that the behaviour is controlled by Maildrop and not via Postfix trough the directive
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
(/etc/postfix/mysql-virtual_mailbox_limit_maps.cf doesn't exist at all in my installation ...)

Can anyone point me in the right direction to investigate deeper this issue and solve it? Next step will be to enable some user alert when the quota limit is approched.

ThanX
g

Last edited by gdavid; 21st March 2012 at 18:58.
Reply With Quote
Sponsored Links
  #2  
Old 21st March 2012, 19:03
gdavid gdavid is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 1 Post
Default Update: jobqueue is locking un mail user update

Update: when I change the quota via web control panel, the ISPConfig jobqueue completelly locks and hangs any furter action.
This is what I get from debug log:

21.03.2012-18:54 - DEBUG - Set Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
21.03.2012-18:54 - DEBUG - Found 18 changes, starting update process.
21.03.2012-18:54 - DEBUG - Calling function 'user_update' from plugin 'mail_plugin' raised by event 'mail_user_update'.
21.03.2012-18:55 - DEBUG - There is already an instance of server.php running. Exiting.
21.03.2012-18:56 - DEBUG - There is already an instance of server.php running. Exiting

This is in ispconfig cron log:

Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

And this is what I see in JobQueue backlog after committing many changes via web control panel:

2012-03-21 17:46 isp.vlk.it Update mail_user
2012-03-21 17:44 isp.vlk.it Update mail_user
2012-03-21 16:20 isp.vlk.it Update mail_user
2012-03-21 15:39 isp.vlk.it Update mail_user
2012-03-21 15:34 isp.vlk.it Update mail_user
2012-03-21 15:29 isp.vlk.it Update mail_user
2012-03-21 15:29 isp.vlk.it Update mail_user
2012-03-21 15:22 isp.vlk.it Update mail_user
2012-03-21 15:22 isp.vlk.it Update mail_user
2012-03-21 15:04 isp.vlk.it Update mail_user

It seems something went wrong in some php script ...

Any clue?

Last edited by gdavid; 21st March 2012 at 19:14.
Reply With Quote
  #3  
Old 21st March 2012, 19:33
gdavid gdavid is offline
Junior Member
 
Join Date: Oct 2010
Posts: 19
Thanks: 0
Thanked 2 Times in 1 Post
Default Update: maybe jobqueue lock was the problem

I found maildirsize are created after I unlock the jobqueue deleting the record directly from pending actions in ispconfig database.
More investigations are needed to find which action casued the jobqueue lock ...
Reply With Quote
  #4  
Old 22nd March 2012, 08:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
 
Default

The ISPConfig version you use is quite old. You should consider to update it to the current version 3.0.4.3.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
mail recipient linux_red Installation/Configuration 6 9th March 2012 14:24
Hacked server Captain Installation/Configuration 8 23rd December 2010 10:39
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 13:29


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


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