From owner-freebsd-questions@FreeBSD.ORG Thu May 25 06:02:31 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 3788116A421 for ; Thu, 25 May 2006 06:02:31 +0000 (UTC) (envelope-from gil@asol.com.ph) Received: from mail.asol.com.ph (mx1.asol.com.ph [203.190.72.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 350C343D45 for ; Thu, 25 May 2006 06:02:29 +0000 (GMT) (envelope-from gil@asol.com.ph) Received: (qmail 76714 invoked by uid 1010); 25 May 2006 05:55:30 -0000 Received: from 203.208.25.30 by mail.asol.com.ph (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.88/1356. spamassassin: 3.1.1. perlscan: 1.25-st-qms. Clear:RC:0(203.208.25.30):SA:0(-2.5/5.0):. Processed in 3.079453 secs); 25 May 2006 05:55:30 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 X-Antivirus-ASPI-Mail-From: gil@asol.com.ph via mail.asol.com.ph X-Antivirus-ASPI: 1.25-st-qms (Clear:RC:0(203.208.25.30):SA:0(-2.5/5.0):. Processed in 3.079453 secs Process 76706) Received: from unknown (HELO loui) (gil@asol.com.ph@203.208.25.30) by mail.asol.com.ph with SMTP; 25 May 2006 05:55:27 -0000 Message-ID: <00ee01c67fc0$d29ab340$5ac8a8c0@loui> From: "GiL A. Virtucio" To: References: <6.2.3.4.0.20060521201114.11c166e0@64.7.153.2> Date: Thu, 25 May 2006 14:02:36 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: dead_line@hotmail.com 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: Thu, 25 May 2006 06:02:31 -0000 :) just another comment about quotas in emails.. (though its also not for sendmail) you might also want to check QMAIL. theres a very nice installation guide for FreeBSD in http://freebsd.qmailrocks.org/ you'll just have to follow the step-by-step installation and in the end you'll have a nice web-based interface for maintaining users/virtual domains, with spam/virus filtering and other stuff :) ================================= Gil A. Virtucio Janitor/Kolektor/Messenger/Driver Asia Solution Phillippines Inc. 28/F Antel Global Corporate Center 3 Doņa Julia Vargas Avenue, Ortigas Center, Pasig Office # : +63-2-687-0692 loc. 103 Mobile # : +63-916-3989695 http://www.gihl.eu.org/ ================================= ----- Original Message ----- From: "patrick" To: "Marwan Sultan" Cc: Sent: Thursday, May 25, 2006 2:02 AM Subject: Re: quota and /var/mail 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 > the > 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 his > >>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 > >/var. > > > >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.org" > _______________________________________________ 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"