X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a60b66a4ee37b8cd59233b7f35a50398f0a27da6..937a1d5deef2727cdf22ef3afda61fe766d234df:/mts/smtp/smtp.c diff --git a/mts/smtp/smtp.c b/mts/smtp/smtp.c index 5b33ed82..6de440f7 100644 --- a/mts/smtp/smtp.c +++ b/mts/smtp/smtp.c @@ -6,13 +6,22 @@ #include #include "smtp.h" -#include +#include #include #include #ifdef MPOP #include #endif +#ifdef CYRUS_SASL +#include +#include +#include +#include +#include +#include +#endif /* CYRUS_SASL */ + /* * This module implements an interface to SendMail very similar * to the MMDF mm_(3) routines. The sm_() routines herein talk @@ -108,7 +117,8 @@ char *EHLOkeys[MAXEHLO + 1]; /* * static prototypes */ -static int smtp_init (char *, char *, int, int, int, int, int); +static int smtp_init (char *, char *, int, int, int, int, int, int, + char *, char *); static int sendmail_init (char *, char *, int, int, int, int, int); static int rclient (char *, char *, char *); @@ -140,7 +150,7 @@ char **smail_copyip (char **, char **, int); static int sm_auth_sasl(char *, char *, char *); #endif /* CYRUS_SASL */ -/* from zotnet/mts/client.c */ +/* from mts/generic/client.c */ int client (char *, char *, char *, int, char *, int); int