Add 'Sendmail' menu to set sendmail_enable variable.

Reviewed by:	bmah (description only)
This commit is contained in:
Makoto Matsushita 2002-06-01 14:50:14 +00:00
parent f020c7fa88
commit b1e41adda4
4 changed files with 44 additions and 2 deletions

View File

@ -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",

View File

@ -407,6 +407,7 @@ extern DMenu MenuSysconsSaver; /* System console saver configuration menu */
extern DMenu MenuSysconsScrnmap; /* System console screenmap configuration menu */
extern DMenu MenuSysconsTtys; /* System console terminal type menu */
extern DMenu MenuNetworking; /* Network configuration menu */
extern DMenu MenuSendmail; /* Sendmail configuration menu */
extern DMenu MenuInstallCustom; /* Custom Installation menu */
extern DMenu MenuDistributions; /* Distribution menu */
extern DMenu MenuDiskDevices; /* Disk type devices */

View File

@ -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",

View File

@ -407,6 +407,7 @@ extern DMenu MenuSysconsSaver; /* System console saver configuration menu */
extern DMenu MenuSysconsScrnmap; /* System console screenmap configuration menu */
extern DMenu MenuSysconsTtys; /* System console terminal type menu */
extern DMenu MenuNetworking; /* Network configuration menu */
extern DMenu MenuSendmail; /* Sendmail configuration menu */
extern DMenu MenuInstallCustom; /* Custom Installation menu */
extern DMenu MenuDistributions; /* Distribution menu */
extern DMenu MenuDiskDevices; /* Disk type devices */