From owner-freebsd-questions@FreeBSD.ORG Wed May 24 18:02:49 2006 Return-Path: X-Original-To: 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 1FC0616A452 for ; Wed, 24 May 2006 18:02:49 +0000 (UTC) (envelope-from gibblertron@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1205D43D5A for ; Wed, 24 May 2006 18:02:45 +0000 (GMT) (envelope-from gibblertron@gmail.com) Received: by nf-out-0910.google.com with SMTP id l24so17184nfc for ; Wed, 24 May 2006 11:02:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OJUagxrwetm2kxEFZqlkiBrlfpem0jlBWyicP0VkGLQBFGK74XnxbaeJe+jBSNcIlK1XVgea7TjaLWTgLNCYjscEJXljOk0TvzB6/0tnSC6JpRfsT29Tkf7itEmuOX00SnC3bu/yYQhBZCczB9OoPwjerR+3SM+I9pnM6puHT28= Received: by 10.49.7.18 with SMTP id k18mr5860793nfi; Wed, 24 May 2006 11:02:44 -0700 (PDT) Received: by 10.48.47.11 with HTTP; Wed, 24 May 2006 11:02:44 -0700 (PDT) Message-ID: Date: Wed, 24 May 2006 11:02:44 -0700 From: patrick To: "Marwan Sultan" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.2.3.4.0.20060521201114.11c166e0@64.7.153.2> Cc: questions@freebsd.org Subject: Re: quota and /var/mail 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: Wed, 24 May 2006 18:02:49 -0000 If you want to only have one set of quotas, you might consider switching to a Postfix/Maildir setup where your users' inboxes will be located in their home folder rather than in /var/mail. It's a fairly easy switch: install Postfix from /usr/ports/mail/postfix, and then you just need to configure one line in your Postfix's main.cf to turn on Maildir support: http://www.postfix.org/faq.html#maildir Though, there might be a bit of a learning curve with respect to the differences between Sendmail and Postfix to convert the rest of your configuration over. It all depends on how complicated your current setup is. Patrick On 5/23/06, Marwan Sultan wrote: > Hello Mike, > > Thank you again for your support, this is the output of mount and fstab > > # Device Mountpoint FStype Options Dump > Pass# > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1e /tmp ufs rw 2 2 > /dev/ad0s1f /usr ufs rw,userquota,groupquota > 2 2 > /dev/ad0s1g /var ufs rw 2 2 > /dev/acd0c /cdrom cd9660 ro,noauto 0 0 > proc /proc procfs rw 0 0 > $ mount > /dev/ad0s1a on / (ufs, local) > /dev/ad0s1e on /tmp (ufs, local, soft-updates) > /dev/ad0s1f on /usr (ufs, local, with quotas, soft-updates) > /dev/ad0s1g on /var (ufs, local, soft-updates) > procfs on /proc (procfs, local) > > I just want the quota to read the Shell user (home directory) size plus t= he > INBOX mails > which stay in /var/mail/$UserName > > Currently the quota reads the home directory and ignores the $inbox > Thak you mike > > Marwan > > >At 07:37 PM 21/05/2006, Marwan Sultan wrote: > > > > > >> No when I enabled quota I did the configuration on /usr > >> shall i enable it on /var to? > >> then how to make the sendmail or the shell reads the user quota on hi= s > >>home directory and > >> his /var/mail/$username ? > > > > > >Hi, > > It all depends on how you have it mounted. Quotas follow the > >partition. So if you have /var/mail as its own partition, you need to do= it > >there. If you have /var/mail as a subdirectory of /var than do it on /va= r. > > > >What is the contents of /etc/fstab on the box ? > > > >> if webmin can read the home directory quota and add to it the > >>/var/mail/$userInbox size > >> then for sure I can do it some how? > > > >I dont use webmin so I am not sure how it calculates things. > > > > ---Mike > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > >"freebsd-questions-unsubscribe@freebsd.org" > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >