Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 19:24:42 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
To:        David Loszewski <dave@bsdadmins.net>
Cc:        questions@freebsd.org
Subject:   Re: Setting max file size in sendmail
Message-ID:  <20030415072442.GA47535@grimoire.chen.org.nz>
In-Reply-To: <003001c3030b$4df325d0$0200a8c0@hades>
References:  <003001c3030b$4df325d0$0200a8c0@hades>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                "I don't want to achive immortality through my works..
                 I want to achieve it through not dying" - Woody Allen



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