Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit d3989071 authored by rswindell's avatar rswindell

Fix bug reported by PSI-Jack:

Advertise STARTTLS support (in EHLO response) when *not* already using a TLS
connection.
parent 0da8188e
......@@ -4069,7 +4069,7 @@ static void smtp_thread(void* arg)
sockprintf(socket,client.protocol,session,"250-SOML");
sockprintf(socket,client.protocol,session,"250-SAML");
sockprintf(socket,client.protocol,session,"250-8BITMIME");
if (session != -1)
if (session == -1)
sockprintf(socket,client.protocol,session,"250-STARTTLS");
if (startup->max_msg_size)
sockprintf(socket,client.protocol,session,"250-SIZE %u", startup->max_msg_size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment