From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 00:15:52 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E692106564A for ; Fri, 11 Jul 2008 00:15:52 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: from web52210.mail.re2.yahoo.com (web52210.mail.re2.yahoo.com [206.190.48.133]) by mx1.freebsd.org (Postfix) with SMTP id 2F13D8FC19 for ; Fri, 11 Jul 2008 00:15:52 +0000 (UTC) (envelope-from alydiomc@yahoo.com) Received: (qmail 2011 invoked by uid 60001); 11 Jul 2008 00:15:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=AXHi1Nmvqg3G42CVEpgwRXLrttInouxbP+DJeHTnPMoN3Gh5zrBSXEkzJqPN5H6ab24Y4HXhtEbp1JrmZtdm/nCP8pMUkcuWd4gjirXwOw7VDQ/uGygGLtdw3R9aV4ZkyZpdBMXQC+Qgq0r5B/5CHcq6MHLIXI1pH2z5CF7Xy1g=; Received: from [202.57.64.100] by web52210.mail.re2.yahoo.com via HTTP; Thu, 10 Jul 2008 17:15:50 PDT X-Mailer: YahooMailWebService/0.7.199 Date: Thu, 10 Jul 2008 17:15:50 -0700 (PDT) From: lyd mc To: Mikhail Goriachev , derek@computinginnovations.com, freebsd-questions@freebsd.org In-Reply-To: <20080710101959.16935ajt5ozzlu4o@www.san.navalradio.cl> MIME-Version: 1.0 Message-ID: <307908.1918.qm@web52210.mail.re2.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: quota and sendmail accepts <10k mail size X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alydiomc@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 00:15:52 -0000 Hi Mikhail, Thank you for the great suggestion. I will try it in our new server. Regards, alyd --- On Thu, 7/10/08, Mikhail Goriachev wrote: From: Mikhail Goriachev Subject: Re: quota and sendmail accepts <10k mail size To: alydiomc@yahoo.com, derek@computinginnovations.com, freebsd-questions@freebsd.org Date: Thursday, July 10, 2008, 10:19 PM Quoting lyd mc : > However, my company wants to have 20meg mbox space per user. If the > User exceeds, he/she should not recieved any mail. > > So, I use system quota to prevent sendmail from writing to mbox of a Let me suggest slightly different approaches: 1.- You could have /usr/ports/mail/mimedefang making the decisions instead of sendmail or system quota. There you can set your own rules and sendmail will abide them. This gives you far better control and you're limited by your own imagination. 2.- Implement a mail server with quota capabilities. For instance cyrus-imap. There you can set quota limits, warning messages to users, percentages and so on. This is the easiest approach. Regards, Mikhail. -- Mikhail Goriachev Webanoide