From owner-freebsd-questions@FreeBSD.ORG Sat Apr 1 16:22:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0806116A400 for ; Sat, 1 Apr 2006 16:22:44 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from hotmail.com (bay20-f17.bay20.hotmail.com [64.4.54.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7E0B43D46 for ; Sat, 1 Apr 2006 16:22:43 +0000 (GMT) (envelope-from dead_line@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 1 Apr 2006 08:22:43 -0800 Message-ID: Received: from 62.150.131.51 by by20fd.bay20.hotmail.msn.com with HTTP; Sat, 01 Apr 2006 16:22:42 GMT X-Originating-IP: [62.150.131.51] X-Originating-Email: [dead_line@hotmail.com] X-Sender: dead_line@hotmail.com From: "Marwan Sultan" To: freebsd-questions@freebsd.org Date: Sat, 01 Apr 2006 16:22:42 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 01 Apr 2006 16:22:43.0930 (UTC) FILETIME=[815473A0:01C655A8] Subject: quota with OWM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2006 16:22:44 -0000 Hello Gurus, This problem is related to DiskQuotas and OpenWebMail package, but no one replied back in OWM mailing list, I'm sending in here hope someone knows a good way to solve this. I'm On FreeBSD 4.8, latest openwebmail version,(upgraded) Openwebmail is a .pl scripts. Lately i have enabled quota on my OS, because my users are increasing with time and some of them hit 200MB! Well i hgave setup openwebmail to read DiskQuotas from Unix File system (Soft, hard limits) Lets asume the user test has quota system soft 45 and hard 50 when you go to (Folder) option in that user OWM you will see the follow in bottom Total 19MB Quota usage: 16.6MB (36.9%) Quota limit: 45MB The actual user mail quota is 19MB, but then it says 16.6MB !! If you delete any email from inbox then quota will be increase in the time it should be decreased! and the 19MB it will decrease! As i Understod that, QUota module reading the user SHELL account, and ignoring the /var/mail thats why We see 16.6MB which is the shell account quota. but spool will read the /var/mail and ignore SHELL account! (this the problem viseversa) thats why we read 19MB (19 is the INBOX) Weill (Spool_limit) is an option you set in OWM to limit the INBOX ONLY, (spool reads /var/mail) well impossible to fix the quota system in this way! because the user maybe will have 45MB in his inbox(/var/mail) and 45MB in his private folder(homedir). with total 90MB becuase the spool_limit will allow him upto 45MB in /var/mail and the quota will allow him 45MB in the SHELL account! How would i controll that please? Simply I just want to limit his complete MailBox (inbox, trush..etc..) to just 45MB, for example. any simple easy way to make it read this and that? Thank you and really sorry for the long email. Marwan. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/