mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
for incoming smtp deliveries, track whether tls and requiretls was used, and display this in the webmail
we store the tls version used, and cipher suite. we don't currently show that in the webmail.
This commit is contained in:
@ -482,6 +482,10 @@ type Message struct {
|
||||
// Changes are propagated to the webmail client.
|
||||
ThreadCollapsed bool
|
||||
|
||||
ReceivedTLSVersion uint16 // 0 if unknown, 1 if plaintext/no TLS, otherwise TLS cipher suite.
|
||||
ReceivedTLSCipherSuite uint16
|
||||
ReceivedRequireTLS bool // Whether RequireTLS was known to be used for incoming delivery.
|
||||
|
||||
Flags
|
||||
// For keywords other than system flags or the basic well-known $-flags. Only in
|
||||
// "atom" syntax (IMAP), they are case-insensitive, always stored in lower-case
|
||||
|
Reference in New Issue
Block a user