X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fmts.c;h=0e0131815700fc8653b6f308f2da93654745ce3b;hp=cd2a3d8784589062cf80d2a9cea0115628beca76;hb=05b7f957ba42e79f49b3a62aea2502168c9abf7a;hpb=fb6d818f3d7fa5f4120aa6d4d1db297a12910fa2 diff --git a/sbr/mts.c b/sbr/mts.c index cd2a3d8..0e01318 100644 --- 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 }