summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2012-10-08 20:35:17 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2012-10-08 20:35:17 +0000
commitc7f240fd53223122e6fe8cee52bb76b460263763 (patch)
treeb570efb01d4e6a05fd01738de7ef05dc0bbafd5b /usr.sbin/smtpd/smtpd.h
parent80b0734e38d576e932c2d7cce09329121575a646 (diff)
disk space is cheap but we still want to limit the default size of a body
to a sane default for everyone.
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h3
1 files changed, 2 insertions, 1 deletions
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 <gilles@openbsd.org>
@@ -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