masqmail

diff src/smtp_out.h @ 246:4cff8638dd9b

SMTP client: tries EHLO now always first Changed the behavior of the SMTP client. Now always an EHLO greeting is sent, no matter what kind of greeting text the server had sent. If the EHLO failed, an HELO greeting is tried as fall back. This is the behavior RFC 2821 requires (section 3.2). This change will fix setups that were not possible to sent to a server because that requires AUTH but hadn't said ``ESMTP'' in its greeting message. See also: Debian bug #349211 Thanks to Steffen (inne)
author markus schnalke <meillo@marmaro.de>
date Thu, 28 Oct 2010 16:40:02 -0300
parents 8cddc65765bd
children 412385b57dc4
line diff
     1.1 --- a/src/smtp_out.h	Wed Oct 27 11:31:14 2010 -0300
     1.2 +++ b/src/smtp_out.h	Thu Oct 28 16:40:02 2010 -0300
     1.3 @@ -54,7 +54,6 @@
     1.4  	gchar *buffer;
     1.5  	gint last_code;
     1.6  
     1.7 -	gboolean use_esmtp;
     1.8  	gboolean use_size;
     1.9  	gboolean use_pipelining;
    1.10  	gboolean use_auth;