To avoid this problem I’ve created the following patch:
> --- spamdyke-5.0.0.orig/spamdyke/spamdyke.c
> +++ spamdyke-5.0.0/spamdyke/spamdyke.c
> @@ -2368,6 +2368,11 @@ void middleman(int *inbound_fd, int *out
>                      output_writeln(current_settings, LOG_ACTION_FILTER_FROM, 
> STDOUT_FD, SMTP_EHLO_SUCCESS, STRLEN(SMTP_EHLO_SUCCESS));
>                      output_writeln(current_settings, LOG_ACTION_FILTER_FROM, 
> STDOUT_FD, SMTP_STR_CONTINUATION, STRLEN(SMTP_STR_CONTINUATION));
>                      output_writeln(current_settings, LOG_ACTION_FILTER_FROM, 
> STDOUT_FD, SMTP_EHLO_TLS_INSERT, STRLEN(SMTP_EHLO_TLS_INSERT));
> +
> +                    /* The server said "250-STARTTLS". Add something bogus 
> because the previous line was a continuation. */
> +                    output_writeln(current_settings, LOG_ACTION_FILTER_FROM, 
> STDOUT_FD, SMTP_EHLO_SUCCESS, STRLEN(SMTP_EHLO_SUCCESS));
> +                    output_writeln(current_settings, LOG_ACTION_FILTER_FROM, 
> STDOUT_FD, SMTP_STR_DONE, STRLEN(SMTP_STR_DONE));
> +                    output_writeln(current_settings, LOG_ACTION_FILTER_FROM, 
> STDOUT_FD, SMTP_EHLO_NOTHING_INSERT, STRLEN(SMTP_EHLO_NOTHING_INSERT));
>                      }
>                    else if ((filter_return & FILTER_MASK_TLS) == 
> FILTER_FLAG_TLS_REMOVE)
>                      filter_return ^= FILTER_FLAG_TLS_REMOVE;

I can not guarantee that this patch won't break other components, but It seems 
to work with my configuration.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to