From owner-freebsd-security Sun Dec 15 12:46:30 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA27997 for security-outgoing; Sun, 15 Dec 1996 12:46:30 -0800 (PST) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.fr [193.56.58.253]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id MAA27985 for ; Sun, 15 Dec 1996 12:46:27 -0800 (PST) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.fr [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id VAA29966 for ; Sun, 15 Dec 1996 21:46:17 +0100 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id VAA11000 for security@freebsd.org; Sun, 15 Dec 1996 21:46:11 +0100 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.4/keltia-uucp-2.9) id VAA06325; Sun, 15 Dec 1996 21:41:30 +0100 (CET) Message-ID: Date: Sun, 15 Dec 1996 21:41:29 +0100 From: roberto@keltia.freenix.fr (Ollivier Robert) To: security@FreeBSD.org ('security@freebsd.org') Subject: Re: How to limit the size of the email from outside References: <01BBEAE4.60915180@sting.alurtenaga.com.my> <199612151648.IAA14854@passer.osg.gov.bc.ca> X-Mailer: Mutt 0.54 Mime-Version: 1.0 X-Operating-System: FreeBSD 3.0-CURRENT ctm#2768 In-Reply-To: <199612151648.IAA14854@passer.osg.gov.bc.ca>; from Cy Schubert - ITSD Open Systems Group on Dec 15, 1996 08:48:24 -0800 Sender: owner-security@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk According to Cy Schubert - ITSD Open Systems Group: > Try Maxsize in your Mlocal and Mprog statements. Easiest way is to put define(`SMTP_MAILER_MAX', 500000)dnl into the whatever.mc configuration file. SMTP_MAILER_MAX [undefined] The maximum size of messages that will be transported using the smtp, smtp8, or esmtp mailers. If the incoming sendmail is ESMTP compatible, then it will send SIZE=nnnn in the MAIL FROM: SMTP dialog. I'm not sure if this work if the incoming sendmail is an old one. There is also confMAX_MESSAGE_SIZE MaxMessageSize [infinite] The maximum size of messages that will be accepted (in bytes). -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #31: Tue Dec 3 23:52:58 CET 1996