summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-01-11 00:38:39 +0000
committermillert <millert@openbsd.org>2002-01-11 00:38:39 +0000
commit0247e7557bc5570b7cd15ea9f5b3a45e42b21dbb (patch)
tree03ad7dc9fd4a04849e680f446a9e7a6b15168179
parentOnly check for playback interrupts if we're actually expecting them. (diff)
downloadwireguard-openbsd-0247e7557bc5570b7cd15ea9f5b3a45e42b21dbb.tar.xz
wireguard-openbsd-0247e7557bc5570b7cd15ea9f5b3a45e42b21dbb.zip
o crank max load for queue and refuse
o use shared memory for disk usage stats o cache up to 4 connections instead of 2 o use port 24 on lo0 for nocanonify MSA
-rw-r--r--gnu/usr.sbin/sendmail/cf/cf/openbsd-lists.mc19
1 files changed, 16 insertions, 3 deletions
diff --git a/gnu/usr.sbin/sendmail/cf/cf/openbsd-lists.mc b/gnu/usr.sbin/sendmail/cf/cf/openbsd-lists.mc
index 739324608c7..9aac2c325c6 100644
--- a/gnu/usr.sbin/sendmail/cf/cf/openbsd-lists.mc
+++ b/gnu/usr.sbin/sendmail/cf/cf/openbsd-lists.mc
@@ -6,7 +6,7 @@ divert(-1)
#
divert(0)dnl
-VERSIONID(`$OpenBSD: openbsd-lists.mc,v 1.9 2002/01/05 23:35:50 millert Exp $')
+VERSIONID(`$OpenBSD: openbsd-lists.mc,v 1.10 2002/01/11 00:38:39 millert Exp $')
OSTYPE(openbsd)dnl
dnl
dnl Advertise ourselves as ``openbsd.org''
@@ -21,6 +21,8 @@ dnl Override some default values
define(`confPRIVACY_FLAGS', `authwarnings, nobodyreturn')dnl
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confMAX_HOP', `30')dnl
+define(`confQUEUE_LA', `12')dnl
+define(`confREFUSE_LA', `20')dnl
dnl
dnl Some broken nameservers will return SERVFAIL (a temporary failure)
dnl on T_AAAA (IPv6) lookups.
@@ -42,6 +44,14 @@ dnl
dnl Wait 4 days before giving up and bouncing the message
define(`confTO_QUEUERETURN', `4d')dnl
dnl
+dnl Shared memory key used to stash disk usage stats so they
+dnl don't have to be checked by each sendmail process.
+define(`confSHARED_MEMORY_KEY', `666666')dnl
+dnl
+dnl Keep up to 4 cached connections around to speed up delivery to
+dnl recipients on the same host.
+define(`confMCI_CACHE_SIZE', `4')dnl
+dnl
dnl SSL certificate paths
define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
@@ -71,8 +81,11 @@ FEATURE(`no_default_msa')dnl
MAILER(local)dnl
MAILER(smtp)dnl
dnl
-dnl Take note of the 'C' flag (nocanonify) for the MSA connections.
-dnl We use this to speed up mail injections via majordomo.
+dnl In addition to the normal MTA and MSA sockets, we also run a localhost-only
+dnl connection on port 24 with hostname canonification disabled. This is used
+dnl to speed up mail injection via majordomo.
+DAEMON_OPTIONS(`Family=inet, address=127.0.0.1, Port=24, Name=NCMSA, M=EC')dnl
+DAEMON_OPTIONS(`Family=inet6, address=::1, Port=24, Name=NCMSA6, M=O, M=EC')dnl
DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::, Name=MTA6, M=O')dnl
DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Port=587, Name=MSA, M=EC')dnl