From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 18:47:56 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 0B124106566C for ; Wed, 27 Feb 2008 18:47:56 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id B528F8FC2A for ; Wed, 27 Feb 2008 18:47:55 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.13.8) with ESMTP id m1RIlWW4092737; Wed, 27 Feb 2008 12:47:32 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080227124517.0245bf18@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 27 Feb 2008 12:49:18 -0600 To: Ofloo , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <15719728.post@talk.nabble.com> References: <15719728.post@talk.nabble.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Freebsd quota & sendmail 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, 27 Feb 2008 18:47:56 -0000 At 12:29 PM 2/27/2008, Ofloo wrote: >I'm putting this under freebsd because there is no forum for sendmail, and it >does concern freebsd as well. > >My problem is this, when i set quota in /var/mail directory to each user and >this user creates a cronjob, that doesn't forward all data to /dev/null, and >keeps on generating mail, .. > >Well after a while the mail file reaches it's quota and sendmail isn't >allowed to write to that file anymore, so it will start and fill the mailq, >.. > >The point is after a while the whole system will just crash what can I do >about it, sorry for rambling. Why are you setting these quotas on /var/mail. These days with disk so cheap, why bother? If you are trying to better control sendmail, you should exercise the control there. You can adjust sendmail for maximum message size, number of messages, etc. Or if SPAM is the issue use mailscanner to control how spam is handled. Adding disk quotas outside of sendmail as you found is not a good approach as it will bring the system down. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.