projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SASL support from Ken Hornstein <kenh@cmf.nrl.navy.mil>.
[mmh]
/
mts
/
sendmail
/
sendmail.c
diff --git
a/mts/sendmail/sendmail.c
b/mts/sendmail/sendmail.c
index
546097c
..
8273f14
100644
(file)
--- 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
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];
{
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 */
}
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";
#ifdef ZMAILER
if (client == NULL || *client == '\0')
client = "localhost";