aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/hostclass/smtp_server/10-rspamd3
-rw-r--r--scripts/os/freebsd/10-sysctls6
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/hostclass/smtp_server/10-rspamd b/scripts/hostclass/smtp_server/10-rspamd
index 215788b..4cc66c6 100644
--- a/scripts/hostclass/smtp_server/10-rspamd
+++ b/scripts/hostclass/smtp_server/10-rspamd
@@ -29,7 +29,8 @@ pkg install -y \
postfix \
redis \
rspamd \
- nginx
+ nginx \
+ ca_root_nss
# Create ZFS dataset for Redis DBs.
create_dataset -o "mountpoint=${redis_data_dir}" "${state_dataset}/redis"
diff --git a/scripts/os/freebsd/10-sysctls b/scripts/os/freebsd/10-sysctls
index b07a46c..1f5d70f 100644
--- a/scripts/os/freebsd/10-sysctls
+++ b/scripts/os/freebsd/10-sysctls
@@ -34,7 +34,7 @@ set_sysctl \
net.inet.tcp.msl=2500 \
net.inet.tcp.mssdflt=1448 \
net.inet.tcp.nolocaltimewait=1 \
- net.inet.tcp.path_mtu_discovery=0 \
+ net.inet.tcp.path_mtu_discovery=1 \
net.inet.tcp.recvbuf_max="$tcp_buffer_size" \
net.inet.tcp.recvspace=65536 \
net.inet.tcp.sendbuf_inc=65536 \
@@ -70,8 +70,8 @@ if [ "$BOXCONF_VIRTUALIZATION_TYPE" != jail ]; then
security.bsd.see_other_gids="$see_other_uids" \
security.bsd.see_other_uids="$see_other_uids" \
security.bsd.unprivileged_read_msgbuf=0 \
- vfs.nfsd.enable_locallocks=0 \
- vfs.nfsd.issue_delegations=1 \
+ vfs.nfsd.enable_locallocks=1 \
+ vfs.nfsd.issue_delegations=0 \
vfs.zfs.min_auto_ashift=12
# FreeBSD automatically scales kern.maxfilesperproc with the amount of memory.