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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 4th September 2009, 18:00
stevenbg stevenbg is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi.
Today I update my server (CentOS 5.3 x86) from 3.0.1.2 to 3.0.1.4.
When I check Email Mailbox's for my users the default mail quota was "0".
When change something and try to save them I receive message that
the right value is "-1" or ">1". I change it to "-1" and save.
Then user's stops to receive emails. When I check log's i seen that there
mail quota is "-1048576" (same value is in the MySQL table "mail_user" but
in CP this was right - "-1".
I change the value in CP to "5000" and save. When go again to check the value
I see that the value for quota is this "2047.9999990463" (no problem this is
high enough) for mail quota.
Start to search - and found this thread. Download and replace
/usr/local/ispconfig/interface/web/mail/mail_user_edit.php.
Then when edit mailbox and set quota to "-1" and when check value in CP
and MySQL all is allright - the value is "-1", but in mail log I see this:
"Sep 4 17:47:38 ibm335 postfix/pipe[31044]: 840F6C78002: to=<me@xxxxxxxxx.info>, relay=maildrop, delay=0.12, delays=0.04/0.01/0/0.06, dsn=5.7.0, status=bounced (permission denied. Command output: WARN: quota string '-1' not parseable maildrop: maildir over quota. )"

Where is the problem? I thing there is more things to change.

P.S. In 3.0.1.2 with value of "0" all works fine.

10x in advice

Last edited by stevenbg; 4th September 2009 at 18:12.
Reply With Quote
Sponsored Links
  #12  
Old 4th September 2009, 18:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Thanks, I will check that.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 4th September 2009, 18:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Please upload the file which is in the attached .zip to /usr/local/ispconfig/interface/web/mail/form/

And then adjust the error message in /usr/local/ispconfig/interface/web/mail/lib/lang/en_mail_user.lng to:

Code:
Invalid quota value. Allowed values are: 0 for unlimited or numbers > 1
The value 0 is now unlimited again. I will fix this in the released version too.
Attached Files
File Type: zip mail_user.tform.zip (1.5 KB, 116 views)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 4th September 2009 at 19:05.
Reply With Quote
  #14  
Old 4th September 2009, 19:38
stevenbg stevenbg is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please upload the file which is in the attached .zip to /usr/local/ispconfig/interface/web/mail/form/

And then adjust the error message in /usr/local/ispconfig/interface/web/mail/lib/lang/en_mail_user.lng to:

Code:
Invalid quota value. Allowed values are: 0 for unlimited or numbers > 1
The value 0 is now unlimited again. I will fix this in the released version too.
I do all plus restart httpd and re-login to ISPConfig. When change mail quota
to "0" just receive error "# Invalid quota value. Allowed values are: 0 for unlimited or numbers > 1" and can't save changes.

Last edited by stevenbg; 4th September 2009 at 19:53.
Reply With Quote
  #15  
Old 4th September 2009, 19:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Please try this one instead.
Attached Files
File Type: zip mail_user.tform.zip (1.5 KB, 110 views)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
stevenbg (4th September 2009)
  #16  
Old 4th September 2009, 20:08
stevenbg stevenbg is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please try this one instead.
Now work fine.
In CP and in MySQL the quota is "0" and e-mails are receiving.

Thank you
Reply With Quote
  #17  
Old 5th September 2009, 04:55
bajodel bajodel is offline
Member
 
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
Default

.. ..

Example:

ResellerA assign 100 Mb as (total) mail quota limit to ClientA

ClientA create 2 mailbox with 50 Mb quota, when try to assign more quota to the third mailbox ISPConfig3 notify the quota is reached. ClientA start to asign 0 quota to new mailboxs .. and bypass total quota assigned.

I think that a client should not assign 'unlimited quota' to his mailboxes if he HAS NOT unlimited total mail quota (given from his reseller).

Bye..

bajodel.
Reply With Quote
  #18  
Old 5th September 2009, 11:30
Thomas Jensen Thomas Jensen is offline
Senior Member
 
Join Date: Apr 2009
Posts: 127
Thanks: 5
Thanked 1 Time in 1 Post
Default

Damn Till, you're the man!
It worked, now the value in the CP, matches those in the mySQL.

But i still have this in monitor -> MailQueue

EF53AD32002 3132780 Mon Aug 31 21:34:11 name@some.domain.dk
(temporary failure. Command output: maildrop: maildir over quota.)
name@domain.dk

Last edited by Thomas Jensen; 5th September 2009 at 12:02.
Reply With Quote
  #19  
Old 7th September 2009, 02:18
bajodel bajodel is offline
Member
 
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
Default

Quote:
..[CUT].. I think that a client should not assign 'unlimited quota' to his mailboxes if he HAS NOT unlimited total mail quota (given from his reseller).
(i know ..self-quoting is not a good practice )

..till, falko .. i'm the only who have noticed this issue ?


Bye..

bajodel.
Reply With Quote
  #20  
Old 7th September 2009, 09:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,573
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
 
Default

If you want to file it as bug report, please post it to the bugtracker.
__________________
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
mailbox quota again and again jmroth Installation/Configuration 4 1st September 2008 09:53
chgrp error new user DKA General 15 28th July 2008 17:45
Not getting Quota Reports - Perfect Serv/Ubuntu 7.10 tonydm Server Operation 0 22nd March 2008 21:52
Problems with copy & paste dspuser Server Operation 3 23rd May 2006 17:21
Syntax error in Quota? st2xo Installation/Configuration 2 13th February 2006 11:30


All times are GMT +2. The time now is 07:44.


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