summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sade/menus.c')
-rw-r--r--usr.sbin/sade/menus.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c
index 3b2fd10..ea0e2bd 100644
--- a/usr.sbin/sade/menus.c
+++ b/usr.sbin/sade/menus.c
@@ -1372,7 +1372,7 @@ DMenu MenuNetworking = {
{ " Rwhod", "This machine wants to run the rwho daemon",
dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" },
{ " Sendmail", "This machine wants to run the sendmail daemon",
- dmenuVarCheck, dmenuToggleVariable, NULL, "sendmail_enable=YES" },
+ NULL, dmenuSubmenu, NULL, &MenuSendmail },
{ " Sshd", "This machine wants to run the ssh daemon",
dmenuVarCheck, dmenuToggleVariable, NULL, "sshd_enable=YES" },
{ " TCP Extensions", "Allow RFC1323 and RFC1644 TCP extensions?",
@@ -1380,6 +1380,26 @@ DMenu MenuNetworking = {
{ NULL } },
};
+DMenu MenuSendmail = {
+ DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
+ "Sendmail Invocation Selection",
+ "There are three options for invoking sendmail at startup.\n"
+ "Please select Yes if you want to use sendmail as your mail transfer\n"
+ "agent. Selecting No disables sendmail's network socket for incoming\n"
+ "email, but still enables sendmail for outbound mail. None disables\n"
+ "sendmail completely at startup.",
+ NULL,
+ NULL,
+ {
+ { " Yes", "Start sendmail",
+ dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=YES" },
+ { " No", "Start sendmail, but don't listen from network",
+ dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NO" },
+ { " None", "Don't start any sendmail processes",
+ dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NONE" },
+ { NULL } },
+};
+
DMenu MenuNTP = {
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
"NTPDATE Server Selection",
OpenPOWER on IntegriCloud