masqmail

diff src/deliver.c @ 222:8cddc65765bd

added support for STARTTLS wrappers added the route config option `instant_helo' which causes masqmail, as SMTP client, not to wait for the server's 220 greeting. Instead if says EHLO right at once. You'll need this for STARTTLS wrappers that usually eat the greeting line.
author meillo@marmaro.de
date Fri, 23 Jul 2010 10:57:53 +0200
parents 4fd237550525
children 996b53a50f55
line diff
     1.1 --- a/src/deliver.c	Fri Jul 23 10:53:04 2010 +0200
     1.2 +++ b/src/deliver.c	Fri Jul 23 10:57:53 2010 +0200
     1.3 @@ -330,7 +330,7 @@
     1.4  		if ((route->auth_name) && (route->auth_login) && (route->auth_secret))
     1.5  			set_auth(psb, route->auth_name, route->auth_login, route->auth_secret);
     1.6  #endif
     1.7 -		if (smtp_out_init(psb)) {
     1.8 +		if (smtp_out_init(psb, route->instant_helo)) {
     1.9  
    1.10  			if (!route->do_pipelining)
    1.11  				psb->use_pipelining = FALSE;