projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55d2810
)
fix_other_mtas() is old news
author
Art Cancro
<ajc@citadel.org>
Mon, 21 Oct 2019 18:13:42 +0000
(14:13 -0400)
committer
Art Cancro
<ajc@citadel.org>
Mon, 21 Oct 2019 18:13:42 +0000
(14:13 -0400)
citadel/utils/setup.c
patch
|
blob
|
history
diff --git
a/citadel/utils/setup.c
b/citadel/utils/setup.c
index b8dd9825bcec41cc9dffd6994741d2f65b54b8d9..ae89d142b327f154ce20244d683ce53402319b8e 100644
(file)
--- a/
citadel/utils/setup.c
+++ b/
citadel/utils/setup.c
@@
-518,15
+518,6
@@
void check_xinetd_entry(void)
}
}
-void disable_other_mtas(void)
-{
- if ((getenv("ACT_AS_MTA") == NULL) || (getenv("ACT_AS_MTA") && strcasecmp(getenv("ACT_AS_MTA"), "yes") == 0)) {
- /* Offer to disable other MTA's on the system. */
- /* FIXME this has to be rewritten to work in the new systemd-based world. */
- }
-}
-
-
void strprompt(const char *prompt_title, const char *prompt_text, char *Target, char *DefValue)
{
char buf[SIZ] = "";
void strprompt(const char *prompt_title, const char *prompt_text, char *Target, char *DefValue)
{
char buf[SIZ] = "";
@@
-966,8
+957,6
@@
int main(int argc, char *argv[])
progress(activity, 5, 5);
check_xinetd_entry(); /* Check /etc/xinetd.d/telnet */
progress(activity, 5, 5);
check_xinetd_entry(); /* Check /etc/xinetd.d/telnet */
- disable_other_mtas(); /* Offer to disable other MTAs */
- // fixnss(); (No longer needed)
/*
* Restart citserver
/*
* Restart citserver