Browse Source

sendmail: Fixed SMTP AUTH over TLS in case of two AUTH lines

See: http://pkgs.fedoraproject.org/cgit/\
     sendmail.git/commit/?id=6ae4af377b63ee68f2baa9486302f9e9e251c824
stable/0.6
Gernot Tenchio 12 years ago committed by Christian Wiese
parent
commit
66dfdb8fef
  1. 39
      mail/sendmail/sendmail-8.14.5-auth2.patch

39
mail/sendmail/sendmail-8.14.5-auth2.patch

@ -0,0 +1,39 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../sendmail/sendmail-8.14.5-auth2.patch
# Copyright (C) 2013 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- 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 */
Loading…
Cancel
Save