From owner-freebsd-questions Mon Aug 13 23:40: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mostgraveconcern.com (mostgraveconcern.com [216.82.145.240]) by hub.freebsd.org (Postfix) with ESMTP id 5714C37B412 for ; Mon, 13 Aug 2001 23:39:58 -0700 (PDT) (envelope-from dan@mostgraveconcern.com) Received: from dan (dan.mostgraveconcern.com [10.20.155.5]) by mostgraveconcern.com (8.11.4/8.11.4) with SMTP id f7E6dp821480; Mon, 13 Aug 2001 23:39:51 -0700 (PDT) (envelope-from dan@mostgraveconcern.com) Message-ID: <01ec01c1248b$eb75bb20$059b140a@dan> From: "Dan O'Connor" To: "ann kok" , References: <20010814023300.36456.qmail@web20105.mail.yahoo.com> Subject: Re: set limit on incoming email Date: Mon, 13 Aug 2001 23:39:50 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > How to set per-message limit on incoming email in > FreeBSD? For example: hotmail.com will block incoming > message that is over 1M Edit /etc/mail/sendmail.cf and uncomment the MaxMessageSize option (remove the leading pound sign): #O MaxMessageSize=1000000 Then, set the value to the maximum number of bytes which you want to limit incoming messages to. After you save the changes, restart sendmail with a 'kill -HUP' command. --Dan -- Dan O'Connor On Matters of Most Grave Concern http://www.mostgraveconcern.com FreeBSD Cheat Sheets http://www.mostgraveconcern.com/freebsd/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message