From 3f6d0a56adb237cd673176e75605ea2e038b0860 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 12 Jul 2017 17:07:47 -0400 Subject: [PATCH] CURUSESSL_TRY for outbound SMTP (currently commented out) --- citadel/modules/smtp/serv_smtpclient.c | 1 + 1 file changed, 1 insertion(+) diff --git a/citadel/modules/smtp/serv_smtpclient.c b/citadel/modules/smtp/serv_smtpclient.c index dd2c7c9e9..372dddbc4 100644 --- a/citadel/modules/smtp/serv_smtpclient.c +++ b/citadel/modules/smtp/serv_smtpclient.c @@ -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); -- 2.30.2