Setting max file size in sendmail

Jonathan Chen jonc at
Tue Apr 15 00:25:33 PDT 2003

On Tue, Apr 15, 2003 at 12:55:57AM -0400, David Loszewski wrote:
> Please respond to dave at 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 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 at>
                "I don't want to achive immortality through my works..
                 I want to achieve it through not dying" - Woody Allen

More information about the freebsd-questions mailing list