Am 19.02.19 um 19:48 schrieb Wietse Venema:
> A. Schulze:
>>> Feb 19 14:24:09 spider postfix/submissions/smtp[3895]: panic: 
>>> VSTREAM_CTL_SWAP_FD can't swap descriptors between single-buffered and 
>>> double-buffered streams
> 
> That was the result of wrappermode never having been tested with
> tlsproxy mode turned on.
> 
>       Wietse
> 
> *** src/smtp_proto.c- 2019-02-08 17:22:24.000000000 -0500
> --- src/smtp_proto.c  2019-02-19 13:46:58.000000000 -0500
> ***************
> *** 337,342 ****
> --- 337,344 ----
>       && (state->misc_flags & SMTP_MISC_FLAG_IN_STARTTLS) == 0) {
>       /* XXX Mix-up of per-session and per-request flags. */
>       state->misc_flags |= SMTP_MISC_FLAG_IN_STARTTLS;
> +     smtp_stream_setup(state->session->stream, var_smtp_helo_tmout,
> +                       var_smtp_rec_deadline);
>       tls_helo_status = smtp_start_tls(state);
>       state->misc_flags &= ~SMTP_MISC_FLAG_IN_STARTTLS;
>       return (tls_helo_status);
> 

Hello Wietse,

that fixes the error...

Andreas

Reply via email to