X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fmts.c;h=d28f285111045fb602bf17399050532cfdd03aee;hb=84b65bad347129f751e3ed208516697bc3fe1820;hp=661975b5ec7f42bbd2d219f8155275fd74f541f3;hpb=2b72292fe9a76e3e70b63a7cd639499214097bf8;p=mmh diff --git a/sbr/mts.c b/sbr/mts.c index 661975b..d28f285 100644 --- a/sbr/mts.c +++ b/sbr/mts.c @@ -63,7 +63,7 @@ static char localmbox[BUFSIZ]; * MTS specific variables */ static char *sm_method = "smtp"; -int sm_mts = MTS_SMTP; +int sm_mts = MTS_SENDMAIL_SMTP; char *sendmail = SENDMAILPATH; /* @@ -148,13 +148,13 @@ mts_init (char *name) if (strcmp(sm_method, "smtp") == 0) sm_mts = MTS_SMTP; - else if (strcmp(sm_method, "sendmail") == 0) - sm_mts = MTS_SENDMAIL; - else if (strcmp(sm_method, "pipe") == 0) - sm_mts = MTS_PIPE; + else if (strcmp(sm_method, "sendmail/smtp") == 0) + sm_mts = MTS_SENDMAIL_SMTP; + else if (strcmp(sm_method, "sendmail/pipe") == 0) + sm_mts = MTS_SENDMAIL_PIPE; else { advise(NULL, "unsupported \"mts\" value in mts.conf: %s", sm_method); - sm_mts = MTS_SMTP; + sm_mts = MTS_SENDMAIL_SMTP; } }