when message is delivered, save whether it is from a mailing list; in webmail, show if message was a forward or mailing list, and don't enable requiretls when sending to a list.

This commit is contained in:
Mechiel Lukkien
2023-11-02 20:03:47 +01:00
parent 481a25f294
commit 0200e539a9
9 changed files with 47 additions and 20 deletions

View File

@ -482,6 +482,10 @@ type Message struct {
// Changes are propagated to the webmail client.
ThreadCollapsed bool
// If received message was known to match a mailing list rule (with modified junk
// filtering).
IsMailingList 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.