othermta: remove leftover from 20 years ago

othermta (along with mta_start_script configuration entry in rc.conf)
was a mechanism used to be able to run another mta than sendmail(8) before
"rcng" time 20 years ago.

othermta has not been used since.
This commit is contained in:
Baptiste Daroussin
2022-11-14 09:06:10 +01:00
parent 3a13b5ac83
commit 616f32ea6d
6 changed files with 4 additions and 34 deletions
-2
View File
@@ -593,8 +593,6 @@ allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens
### Mail Transfer Agent (MTA) options ######################
##############################################################
mta_start_script="/etc/rc.sendmail"
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.d/sendmail:
sendmail_enable="NO" # Run the sendmail inbound daemon (YES/NO/NONE).
# If NONE, don't start any sendmail processes.
-4
View File
@@ -255,10 +255,6 @@ VAR_HEMIDAL= /var/heimdal
VAR_HEMIDAL_MODE= 700
.endif
.if ${MK_MAIL} != "no"
CONFS+= othermta
.endif
.if ${MK_NS_CACHING} != "no"
_nscd= nscd
.endif
-18
View File
@@ -1,18 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: mail
# REQUIRE: LOGIN
# XXX - TEMPORARY SCRIPT UNTIL YOU WRITE YOUR OWN REPLACEMENT.
#
. /etc/rc.subr
load_rc_config
if [ -n "${mta_start_script}" ]; then
[ "${mta_start_script}" != "/etc/rc.sendmail" ] && \
sh ${mta_start_script} "$1"
fi