[EXIM] Exim 1.82 -> Exim 1.82 SMTP protocol errors !

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Ian Jackson
Cc: exim-users
Asunto: [EXIM] Exim 1.82 -> Exim 1.82 SMTP protocol errors !
On Thu, 26 Feb 1998, Ian Jackson wrote:

> Please observe the bounce message below. You'll see that Exim (1.82,
> config file included below the bounce) has been unable to deliver this
> message correctly due to failure to agree on how to do SMTP correctly
> when talking to another instance of Exim 1.82 !


I have found the problem. A small patch for 1.82 is attached below. The
problem will strike only when

(a) remote_max_parallel is set greater than 1.

(b) There is a queued message containing two addresses with different
host lists, but sharing a common host somewhere in each list, and the
message was previously routed so its hosts are listed in the hints
database.

(c) Another message is delivered to the host that is in common.

The effect is that Exim wants to re-use the SMTP connection for the
queued message, and stupidly tries to send both copies of the queued
message in parallel.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714




*** exim-1.82/src/deliver.c Fri Dec 19 10:37:14 1997
--- deliver.c    Mon Mar  2 10:49:57 1998
***************
*** 3732,3737 ****
--- 3732,3738 ----
              { ok = TRUE; break; }
            }
          }
+       remote_max_parallel = 1;
        }


      /* Addresses not suitable; defer and skip to next address. */
*** exim-1.82/src/transports/smtp.c Fri Dec 19 10:37:18 1997
--- transports/smtp.c  Mon Mar    2 10:50:44 1998
***************
*** 1234,1239 ****
--- 1234,1241 ----
  /* Close the socket, and return the appropriate value. */


close(deliver_socket);
+ continue_transport = NULL;
+ continue_hostname = NULL;
return yield;
}



--
*** Exim information can be found at http://www.exim.org/ ***