* MTS specific variables
*/
#if defined(SMTPMTS)
-static char *sm_method = "smtp";
-int sm_mts = MTS_SMTP;
-char *hostable = nmhetcdir(/hosts);
+static char *sm_method = "sendmail";
+int sm_mts = MTS_SENDMAIL;
char *sendmail = SENDMAILPATH;
#endif
/*
- * SMTP/POP stuff
+ * SMTP stuff
*/
char *clientname = NULL;
-char *servers = "localhost \01localnet";
-char *pophost = "";
/*
* Global MailDelivery file
#if defined(SMTPMTS)
{ "mts", &sm_method },
- { "hostable", &hostable },
{ "sendmail", &sendmail },
#endif
{ "clientname", &clientname },
- { "servers", &servers },
- { "pophost", &pophost },
{ "maildelivery", &maildelivery },
{ "everyone", &everyone },
if (strstr(masquerade, "username_extension") != NULL)
username_extension_masquerading = TRUE;
-
-#ifdef SMTPMTS
- if (strcmp(sm_method, "smtp") == 0)
- sm_mts = MTS_SMTP;
- else if (strcmp(sm_method, "sendmail") == 0)
- sm_mts = MTS_SENDMAIL;
- else {
- advise(NULL, "unsupported \"mts\" value in mts.conf: %s", sm_method);
- sm_mts = MTS_SMTP;
- }
-#endif
}