CURUSESSL_TRY for outbound SMTP (currently commented out)
authorArt Cancro <ajc@citadel.org>
Wed, 12 Jul 2017 21:07:47 +0000 (17:07 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 12 Jul 2017 21:07:47 +0000 (17:07 -0400)
citadel/modules/smtp/serv_smtpclient.c

index dd2c7c9e9b0678f9a1a2b9148d33889e6a0b7def..372dddbc49e8abdcbde463560a18c7dada792538 100644 (file)
@@ -237,6 +237,7 @@ int smtp_attempt_delivery(long msgid, char *recp, char *envelope_from)
                        curl_easy_setopt(curl, CURLOPT_READDATA, &s);
                        curl_easy_setopt(curl, CURLOPT_UPLOAD, 1);                                              // tell libcurl we are uploading
                        curl_easy_setopt(curl, CURLOPT_TIMEOUT, 20L);                                           // Time out after 20 seconds
+                       // curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_TRY); athos-mn
                        curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
                        curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
                        // curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curl_error_buffer);