mirror of
https://git.keinpfusch.net/loweel/zangtumb
synced 2024-12-19 00:03:05 +01:00
Logging MAIL
LOGGING MAIL for STARTTLS
This commit is contained in:
parent
e7bdc4e92b
commit
1af4d062fd
@ -259,6 +259,11 @@ loop:
|
||||
to = nil
|
||||
buffer.Reset()
|
||||
case "MAIL":
|
||||
|
||||
log.Println("TlsConfigExists: " , s.srv.TLSConfig != nil)
|
||||
log.Println("TLS_Required: " , s.srv.TLSRequired)
|
||||
log.Println("We Are in Clear: ", !s.tls)
|
||||
|
||||
if s.srv.TLSConfig != nil && s.srv.TLSRequired && !s.tls {
|
||||
s.writef("530 5.7.0 Must issue a STARTTLS command first")
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user