comparison 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
comparison
equal deleted inserted replaced
221:8742d2cee364 222:8cddc65765bd
328 328
329 #ifdef ENABLE_AUTH 329 #ifdef ENABLE_AUTH
330 if ((route->auth_name) && (route->auth_login) && (route->auth_secret)) 330 if ((route->auth_name) && (route->auth_login) && (route->auth_secret))
331 set_auth(psb, route->auth_name, route->auth_login, route->auth_secret); 331 set_auth(psb, route->auth_name, route->auth_login, route->auth_secret);
332 #endif 332 #endif
333 if (smtp_out_init(psb)) { 333 if (smtp_out_init(psb, route->instant_helo)) {
334 334
335 if (!route->do_pipelining) 335 if (!route->do_pipelining)
336 psb->use_pipelining = FALSE; 336 psb->use_pipelining = FALSE;
337 337
338 foreach(msgout_list, msgout_node) { 338 foreach(msgout_list, msgout_node) {