X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/cb8a7b870ba2f2f6c7c23152a4482132e59f678e..0ed83fd34a89b1d39d161504f5ddb99071816fce:/mts/sendmail/sendmail.c?ds=inline diff --git a/mts/sendmail/sendmail.c b/mts/sendmail/sendmail.c index 546097cc..8273f14f 100644 --- a/mts/sendmail/sendmail.c +++ b/mts/sendmail/sendmail.c @@ -99,7 +99,7 @@ static RETSIGTYPE alrmser (int); int sm_init (char *client, char *server, int watch, int verbose, - int debug, int onex, int queued) + int debug, int onex, int queued, int sasl, char *saslmech, char *user) { int i, result, vecp; int pdi[2], pdo[2]; @@ -120,6 +120,10 @@ sm_init (char *client, char *server, int watch, int verbose, client = LocalName(); /* no clientname -> LocalName */ } + if (sasl) + return sm_ierror("SASL authentication not supported with the " + "Sendmail MTA"); + #ifdef ZMAILER if (client == NULL || *client == '\0') client = "localhost";