1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- One more fix for tls+auth patches, now I hope all are working fine.

Submitted by:	Manuel Mausz <manuel@mausz.at>
This commit is contained in:
Renato Botelho 2006-01-31 12:40:37 +00:00
parent 894d2d0c07
commit 9c37005da8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154887

View File

@ -63,8 +63,8 @@
+ smtp_greet("250-");
++ #ifdef AUTHCRAM
+ #ifdef TLS
+! if (!ssl) out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
+! if (!ssl) out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
+! out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
+! out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
+! if (!ssl) out("\r\n250-STARTTLS");
+! #else
! out("\r\n250-AUTH LOGIN CRAM-MD5 PLAIN");
@ -72,8 +72,8 @@
+! #endif
+! #else
+! #ifdef TLS
+! if (!ssl) out("\r\n250-AUTH LOGIN PLAIN");
+! if (!ssl) out("\r\n250-AUTH=LOGIN PLAIN");
+! out("\r\n250-AUTH LOGIN PLAIN");
+! out("\r\n250-AUTH=LOGIN PLAIN");
+! if (!ssl) out("\r\n250-STARTTLS");
! #else
! out("\r\n250-AUTH LOGIN PLAIN");