$Id$
+Sat Nov 5 22:56:30 EST 2005 ajc
+* More changes to batch mode setup
+
Thu Nov 3 23:02:01 EST 2005 ajc
* Updated setup to allow more batch mode control of it;
see techdoc/package-setup.txt
/* Offer to replace other MTA with the vastly superior Citadel :) */
- if (getenv("DISABLE_OTHER_MTA")) {
- if (strcasecmp(getenv("DISABLE_OTHER_MTA"), "yes")) {
+ if (getenv("ACT_AS_MTA")) {
+ if (strcasecmp(getenv("ACT_AS_MTA"), "yes")) {
return;
}
}
switch (curr) {
case 1:
- set_str_val(curr, config.c_sysadm);
+ if (getenv("SYSADMIN_NAME")) {
+ strcpy(config.c_sysadm, getenv("SYSADMIN_NAME"));
+ }
+ else {
+ set_str_val(curr, config.c_sysadm);
+ }
break;
case 2:
CTDL_DIALOG Location of the 'dialog' program (optional)
-DISABLE_OTHER_MTA When other MTA's (Postfix, etc.) are found, setup
+ACT_AS_MTA When other MTA's (Postfix, etc.) are found, setup
will offer to disable them in order to keep them
from interfering with Citadel. Set this variable to
"yes" to always disable the other MTA without asking,
CREATE_XINETD_ENTRY Set to "yes" to automatically configure xinetd to route
telnet connections into a Citadel client, if needed.
+
+SYSADMIN_NAME Name of system administrator.