{"id":24,"date":"2015-03-14T00:36:10","date_gmt":"2015-03-13T23:36:10","guid":{"rendered":"http:\/\/dagobah.eu.org\/blog\/?p=24"},"modified":"2015-03-14T00:36:10","modified_gmt":"2015-03-13T23:36:10","slug":"starttls-for-clamsmtp-server","status":"publish","type":"post","link":"https:\/\/dagobah.eu.org\/blog\/?p=24","title":{"rendered":"STARTTLS for ClamSMTP server"},"content":{"rendered":"<p>I didn&#8217;t find any patch to enable STARTTLS on client side in <a href=\"http:\/\/thewalter.net\/stef\/software\/clamsmtp\/\" target=\"_blank\" rel=\"noopener\">ClamSMTP<\/a> when accepting direct (port 25) connexions, so I wrote it.<br \/>\nYou can find my code here on GitHub :\u00a0<a href=\"https:\/\/github.com\/beaujean\/ClamSMTP-TLS\/\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/beaujean\/ClamSMTP-TLS\/<\/a><br \/>\nTwo options have been added to the clamsmtp.conf file:<\/p>\n<div class=\"highlight highlight-conf\">\n<pre>TLSKey: \/path\/to\/file.key\nTLSCert: \/path\/to\/file.crt<\/pre>\n<\/div>\n<p>It&#8217;s originally from\u00a0<a href=\"http:\/\/thewalter.net\/stef\/software\/clamsmtp\/\">http:\/\/thewalter.net\/stef\/software\/clamsmtp\/<\/a>\u00a0by Stefan Walter. A git repository was actually here\u00a0<a href=\"http:\/\/thewalter.net\/git\/cgit.cgi\/clamsmtp\/\">http:\/\/thewalter.net\/git\/cgit.cgi\/clamsmtp\/<\/a>\u00a0but didn&#8217;t include the \/common\/ directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I didn&#8217;t find any patch to enable STARTTLS on client side in ClamSMTP when accepting direct (port 25) connexions, so I wrote it. You can find my code here on GitHub :\u00a0https:\/\/github.com\/beaujean\/ClamSMTP-TLS\/ Two options have been added to the clamsmtp.conf file: TLSKey: \/path\/to\/file.key TLSCert: \/path\/to\/file.crt It&#8217;s originally from\u00a0http:\/\/thewalter.net\/stef\/software\/clamsmtp\/\u00a0by Stefan Walter. A git repository was actually &hellip; <a href=\"https:\/\/dagobah.eu.org\/blog\/?p=24\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">STARTTLS for ClamSMTP server<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-c","category-email-server"],"_links":{"self":[{"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":0,"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"wp:attachment":[{"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dagobah.eu.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}