X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsendmail%2Fsendmail.c;h=8273f14f927e2e8d73b2f0d6a2e6fe9da7ba1f04;hp=546097cc07ece57e328b2ad303692dda32f06942;hb=cfc525a9b85207225cb4071d1d3b01e8d1db2424;hpb=df7b16cb148474b3b80dbf1e226e858cf1e47edb diff --git a/mts/sendmail/sendmail.c b/mts/sendmail/sendmail.c index 546097c..8273f14 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";