X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=mts%2Fsendmail%2Fsendmail.c;h=8273f14f927e2e8d73b2f0d6a2e6fe9da7ba1f04;hb=a60b66a4ee37b8cd59233b7f35a50398f0a27da6;hp=05f8c33f0b2a9ad18d0aa63a4847c4760af23edd;hpb=3c9700d8d045f3ff26ce5dd2a174454dafc14822;p=mmh diff --git a/mts/sendmail/sendmail.c b/mts/sendmail/sendmail.c index 05f8c33..8273f14 100644 --- a/mts/sendmail/sendmail.c +++ b/mts/sendmail/sendmail.c @@ -9,6 +9,7 @@ #include #include #include +#include "h/signals.h" /* for SIGNAL() */ #ifdef MPOP #include #endif @@ -98,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]; @@ -119,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";