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

View file

@ -52,6 +52,9 @@
# xargs -n1 | sort | uniq -d;
# done
# 20221114: remove othermta
OLD_FILES+=etc/rc.d/othermta
# 20221109: remove rc.sendmail(8)
OLD_FILES+=etc/rc.sendmail
OLD_FILES+=share/man/man8/rc.sendmail.8.gz

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.

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

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

View file

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd November 10, 2022
.Dd November 14, 2022
.Dt RC.CONF 5
.Os
.Sh NAME
@ -3551,14 +3551,6 @@ program.
The default is
.Dq Li -d ,
which causes missing directories to be created.
.It Va mta_start_script
.Pq Vt str
This variable specifies the full path to the script to run to start
a mail transfer agent.
The default is
.Pa /etc/rc.sendmail .
Note that it only executes a script if the value is set to something
different than the default.
.It Va dumpdev
.Pq Vt str
Indicates the device (usually a swap partition) to which a crash dump

View file

@ -5684,7 +5684,6 @@ OLD_FILES+=etc/mail.rc
OLD_FILES+=etc/mail/aliases
OLD_FILES+=etc/mail/mailer.conf
OLD_FILES+=etc/periodic/daily/130.clean-msgs
OLD_FILES+=etc/rc.d/othermta
OLD_FILES+=usr/bin/Mail
OLD_FILES+=usr/bin/biff
OLD_FILES+=usr/bin/from