From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 00:25:33 2003 Return-Path: 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 A078737B401 for ; Tue, 15 Apr 2003 00:25:33 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id A706E43FAF for ; Tue, 15 Apr 2003 00:25:32 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h3F7OhmW047574; Tue, 15 Apr 2003 19:24:45 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h3F7Ogoi047573; Tue, 15 Apr 2003 19:24:42 +1200 (NZST) Date: Tue, 15 Apr 2003 19:24:42 +1200 From: Jonathan Chen To: David Loszewski Message-ID: <20030415072442.GA47535@grimoire.chen.org.nz> References: <003001c3030b$4df325d0$0200a8c0@hades> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003001c3030b$4df325d0$0200a8c0@hades> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Setting max file size in sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 07:25:33 -0000 On Tue, Apr 15, 2003 at 12:55:57AM -0400, David Loszewski wrote: > Please respond to dave@bsdadmins.net as I do not have a subscription to this list under this email address but under a different address. > > I'm having a problem trying to set the max file size for incoming mail. Could someone guide me on how to do this? What do I need to change in the sendmail.mc? What do I do? > By default, it is set to [infinite] bytes. You can set a limit with: define(`confMAX_MESSAGE_SIZE', `1000000') which sets it to 1000000 bytes. Check out /usr/share/sendmail/cf/README for more details. -- Jonathan Chen ---------------------------------------------------------------------- "I don't want to achive immortality through my works.. I want to achieve it through not dying" - Woody Allen