From bbe9c794ae38261cf7a0057b9047aa547c82a67d Mon Sep 17 00:00:00 2001 From: Jaroslav Škarvada Date: Jul 22 2011 21:50:14 +0000 Subject: Added auth2 patch --- diff --git a/sendmail-8.14.5-auth2.patch b/sendmail-8.14.5-auth2.patch new file mode 100644 index 0000000..1116442 --- /dev/null +++ b/sendmail-8.14.5-auth2.patch @@ -0,0 +1,23 @@ +--- sendmail-8.14.5/sendmail/sendmail.h- Tue May 24 16:24:39 2011 ++++ sendmail-8.14.5/sendmail/sendmail.h Tue May 24 16:25:29 2011 +@@ -721,9 +721,9 @@ + #if STARTTLS + #define MCIF_TLS 0x00100000 /* STARTTLS supported */ + #define MCIF_TLSACT 0x00200000 /* STARTTLS active */ +-#define MCIF_EXTENS (MCIF_EXPN | MCIF_SIZE | MCIF_8BITMIME | MCIF_DSN | MCIF_8BITOK | MCIF_AUTH | MCIF_ENHSTAT | MCIF_TLS) + #else /* STARTTLS */ +-#define MCIF_EXTENS (MCIF_EXPN | MCIF_SIZE | MCIF_8BITMIME | MCIF_DSN | MCIF_8BITOK | MCIF_AUTH | MCIF_ENHSTAT) ++#define MCIF_TLS 0 ++#define MCIF_TLSACT 0 + #endif /* STARTTLS */ + #define MCIF_DLVR_BY 0x00400000 /* DELIVERBY */ + #if _FFR_IGNORE_EXT_ON_HELO +@@ -732,6 +732,8 @@ + #define MCIF_INLONGLINE 0x01000000 /* in the middle of a long line */ + #define MCIF_AUTH2 0x02000000 /* got 2 AUTH lines */ + #define MCIF_ONLY_EHLO 0x10000000 /* use only EHLO in smtpinit */ ++ ++#define MCIF_EXTENS (MCIF_EXPN | MCIF_SIZE | MCIF_8BITMIME | MCIF_DSN | MCIF_8BITOK | MCIF_AUTH | MCIF_ENHSTAT | MCIF_TLS | MCIF_AUTH2) + + /* states */ + #define MCIS_CLOSED 0 /* no traffic on this connection */