We'll always use sendmail (spost) now
[mmh] / sbr / mts.c
index cd2a3d8..0e01318 100644 (file)
--- a/sbr/mts.c
+++ b/sbr/mts.c
@@ -74,8 +74,8 @@ static char*    masquerade = "";
  * MTS specific variables
  */
 #if defined(SMTPMTS)
-static char *sm_method = "smtp";
-int  sm_mts    = MTS_SMTP;
+static char *sm_method = "sendmail";
+int  sm_mts    = MTS_SENDMAIL;
 char *hostable = nmhetcdir(/hosts);
 char *sendmail = SENDMAILPATH;
 #endif
@@ -173,17 +173,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
 }