From owner-freebsd-isp Sat Aug 10 14:27:10 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA20939 for isp-outgoing; Sat, 10 Aug 1996 14:27:10 -0700 (PDT) Received: from GndRsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.241]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA20931 for ; Sat, 10 Aug 1996 14:27:04 -0700 (PDT) Received: (from rgrimes@localhost) by GndRsh.aac.dev.com (8.6.12/8.6.12) id OAA11710; Sat, 10 Aug 1996 14:26:23 -0700 From: "Rodney W. Grimes" Message-Id: <199608102126.OAA11710@GndRsh.aac.dev.com> Subject: Re: your mail To: compland@ism.com.br (Helio Coelho Jr. - CompuLand Informatica) Date: Sat, 10 Aug 1996 14:26:22 -0700 (PDT) Cc: freebsd-isp@freebsd.org In-Reply-To: <199608101949.QAA25867@unix1.ism.com.br> from "Helio Coelho Jr. - CompuLand Informatica" at "Aug 10, 96 04:49:49 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hello: > > A little off-topic, but... Is it possible to limit the maximum size > of a message a user can receive (and send), (beside using quotas in his home > directory). I have some users that like to exchange 6 mb files with his > friends by e-mail ! > I'm using Sendmail8.7.5 in a FreeBSD2.1R. I checked out the O'Relly > Sendmail's book but not luck. Any ideas ? >From the 8.6.12.1 release notes I found this section of changes that does what you want (this change occured at 8.6.6, which is after the Sendmail book was written.) CONFIG: Allow declaration of SMTP_MAILER_MAX, FAX_MAILER_MAX, and USENET_MAILER_MAX to tweak the maximum message size for various mailers. You'll need to build a sendmail configuration (.m4) file to take advantage of this... see sendmail/cf/README on how to do this... -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Reliable computers for FreeBSD