From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 14:39:18 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 E32781065677 for ; Thu, 10 Jul 2008 14:39:18 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from smtp.san.navalradio.cl (overlord.navalradio.cl [201.236.67.146]) by mx1.freebsd.org (Postfix) with ESMTP id 61B098FC22 for ; Thu, 10 Jul 2008 14:39:17 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from localhost ([172.18.64.43]) (authenticated bits=0) by smtp.san.navalradio.cl (8.13.8/8.13.8) with ESMTP id m6AEK00U086930; Thu, 10 Jul 2008 14:20:00 GMT (envelope-from mikhailg@webanoide.org) Received: from 172.18.64.77 ([172.18.64.77]) by www.san.navalradio.cl (Horde Framework) with HTTP; Thu, 10 Jul 2008 10:19:59 -0400 Message-ID: <20080710101959.16935ajt5ozzlu4o@www.san.navalradio.cl> Date: Thu, 10 Jul 2008 10:19:59 -0400 From: Mikhail Goriachev To: alydiomc@yahoo.com, derek@computinginnovations.com, freebsd-questions@freebsd.org References: <632084.63626.qm@web52210.mail.re2.yahoo.com> In-Reply-To: <632084.63626.qm@web52210.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-6.2 Cc: Subject: Re: quota and sendmail accepts <10k mail size 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, 10 Jul 2008 14:39:19 -0000 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