Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <Mutt.19961215214129.roberto@keltia.freenix.fr>
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
References:  <01BBEAE4.60915180@sting.alurtenaga.com.my> <199612151648.IAA14854@passer.osg.gov.bc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961215214129.roberto>