From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 18:17:31 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 5F5661065685 for ; Tue, 8 Jul 2008 18:17:31 +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 ED1D88FC1F for ; Tue, 8 Jul 2008 18:17:30 +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.14.2) with ESMTP id m68IGYmn075068; Tue, 8 Jul 2008 13:16:35 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080708131331.0265d7f0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 08 Jul 2008 13:16:20 -0500 To: alydiomc@yahoo.com, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <405531.92355.qm@web52204.mail.re2.yahoo.com> References: <405531.92355.qm@web52204.mail.re2.yahoo.com> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080708-0, 07/08/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.93/6806/Wed Apr 16 15:50:16 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m68IGYmn075068 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: 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: Tue, 08 Jul 2008 18:17:31 -0000 At 08:14 PM 7/7/2008, lyd mc wrote: >Greetings, > >I setup my mail server on freebsd7.0R and it is working great! > >However, I have a problem on quota. It suppose to block any incoming >message to specific user which is under quota. But sendmail can still send >to the user under quota if the mail size is ~ less than 10k. Quota only >works when the mail size is greater than 13k. > >Is there any way to correct this problem? Please help. > > >By the way, i disable the grace period via quota.h. > > #define MAX_IQ_TIME (0) /* seconds in 1 week */ > #define MAX_DQ_TIME (0) /* seconds in 1 week */ > > >And my mail users authenticate via ldap. > >Thank you and more power. I don't fully understand what you are trying to limit, most sendmail size limits are set either globally, or by protocol. The General setting is set in you .mc file with: confMAX_MESSAGE_SIZE MaxMessageSize [infinite] The maximum size of messages that will be accepted (in bytes). Otherwise read through the page on the options here and you can refine the size limit by the protcol/mta: http://www.sendmail.org/documentation/configurationReadme -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.