summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2016-06-15 19:59:04 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2016-06-15 19:59:04 +0000
commit46e25e9da7db7912affec5b8d8940303d520950a (patch)
tree3370054ab9194852080c1739289b0dc50ba56fc7
parent84e810a32bd26e230aa5a28359b291e059ae0676 (diff)
increase number of connections a local address is allowed to establish
decrease the delay between transactions in the same session ok eric@
-rw-r--r--usr.sbin/smtpd/limit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/limit.c b/usr.sbin/smtpd/limit.c
index c499292b20b..e7d0cb1705d 100644
--- a/usr.sbin/smtpd/limit.c
+++ b/usr.sbin/smtpd/limit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: limit.c,v 1.4 2015/01/20 17:37:54 deraadt Exp $ */
+/* $OpenBSD: limit.c,v 1.5 2016/06/15 19:59:03 gilles Exp $ */
/*
* Copyright (c) 2013 Eric Faurot <eric@openbsd.org>
@@ -39,7 +39,7 @@ limit_mta_set_defaults(struct mta_limits *limits)
{
limits->maxconn_per_host = 10;
limits->maxconn_per_route = 5;
- limits->maxconn_per_source = 50;
+ limits->maxconn_per_source = 100;
limits->maxconn_per_connector = 20;
limits->maxconn_per_relay = 100;
limits->maxconn_per_domain = 100;
@@ -54,7 +54,7 @@ limit_mta_set_defaults(struct mta_limits *limits)
limits->discdelay_route = 3;
limits->max_mail_per_session = 100;
- limits->sessdelay_transaction = 1;
+ limits->sessdelay_transaction = 0;
limits->sessdelay_keepalive = 10;
limits->max_failures_per_session = 25;