Re: [exim] stuck exim processes

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kurt Jaeger
Ημερομηνία:  
Προς: Michael Tratz
Υ/ο: exim-users
Αντικείμενο: Re: [exim] stuck exim processes
Hi!

> I have added the following patch:
>
> diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c
> index 6a979a243..f97b0c625 100644
> --- a/src/src/transports/smtp.c
> +++ b/src/src/transports/smtp.c
> @@ -4800,7 +4800,11 @@ if (sx->send_quit || tcw_done && !tcw)
>  # ifdef EXIM_TCP_CORK
>      (void) setsockopt(sx->cctx.sock, IPPROTO_TCP, EXIM_TCP_CORK, US &on, sizeof(on));
>  # endif
> -    tls_close(sx->cctx.tls_ctx, TLS_SHUTDOWN_WAIT);
> +    if (sx->send_tlsclose)
> +      {
> +      tls_close(sx->cctx.tls_ctx, TLS_SHUTDOWN_WAIT);
> +      sx->send_tlsclose = FALSE;
> +      }
>      sx->cctx.tls_ctx = NULL;
>      }
>  #endif

>
> Exim has been running for about a week using this patch and I haven't
> experienced any issues.


This patch allowed me to deliver the mail to the notorious case
I encountered.

Will keep this version running for now. It's my work desktop system,
so ...

-- 
pi@???            +49 171 3101372                    Now what ?