Removed --with-smtpservers configure option and thelike
[mmh] / sbr / mts.c
index cd2a3d8..46f5990 100644 (file)
--- a/sbr/mts.c
+++ b/sbr/mts.c
@@ -74,18 +74,15 @@ static char*    masquerade = "";
  * 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
@@ -124,13 +121,10 @@ static struct bind binds[] = {
 
 #if defined(SMTPMTS)
     { "mts",      &sm_method },
-    { "hostable", &hostable  },
     { "sendmail", &sendmail  },
 #endif
 
     { "clientname",  &clientname },
-    { "servers", &servers },
-    { "pophost", &pophost },
 
     { "maildelivery", &maildelivery },
     { "everyone", &everyone },
@@ -173,17 +167,6 @@ mts_init (char *name)
 
     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
 }