From c7f240fd53223122e6fe8cee52bb76b460263763 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Mon, 8 Oct 2012 20:35:17 +0000 Subject: disk space is cheap but we still want to limit the default size of a body to a sane default for everyone. --- usr.sbin/smtpd/smtpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/smtpd/smtpd.h') diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index d508227392c..37959ed865d 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.380 2012/10/07 17:21:37 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.381 2012/10/08 20:35:16 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -32,6 +32,7 @@ #define MAX_NAME_SIZE 64 #define MAX_HOPS_COUNT 100 +#define DEFAULT_MAX_BODY_SIZE (35*1024*1024) #define MAX_TAG_SIZE 32 -- cgit v1.2.3