The Lambda Lab
/
projects
/
lambdamail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a94830
)
ehlo only replies with STARTTLS when certs provided.
starttls
author
plugd
<plugd@tiny.fimnet>
Thu, 3 Nov 2022 21:26:11 +0000
(22:26 +0100)
committer
plugd
<plugd@tiny.fimnet>
Thu, 3 Nov 2022 21:26:11 +0000
(22:26 +0100)
lambdamail.scm
patch
|
blob
|
history
diff --git
a/lambdamail.scm
b/lambdamail.scm
index
25b2c57
..
946f831
100644
(file)
--- a/
lambdamail.scm
+++ b/
lambdamail.scm
@@
-132,7
+132,8
@@
"250-" (config-host config)
" Hello " (smtp-command-args "ehlo" line))
(smtp-session 'send "250 AUTH PLAIN")
- (smtp-session 'send "250 STARTTLS")
+ (if (tls-supported? config)
+ (smtp-session 'send "250 STARTTLS"))
(loop mmsg received-messages))
((smtp-command? "starttls" line)
(let ((args (smtp-command-args "starttls" line)))