Specific TLS phrases

This commit is contained in:
M66B 2022-01-08 12:42:30 +01:00
parent 5df5077ba5
commit 75d7c4ee2c
2 changed files with 3 additions and 2 deletions

2
FAQ.md
View File

@ -4473,7 +4473,7 @@ To show shields, the option *Show authentication status indicator* in the displa
A message will be consired safely transported if every [Received](https://datatracker.ietf.org/doc/html/rfc2821#section-4.4) header:
* contains the word 'TLS'
* contains the phrase 'using TLS' or 'version=TLS'
* contains the phrase 'qmail <nnn> invoked by uid <nnn>'
* has a *by* with a local address (site local or localhost)
* has a *from* with a local address

View File

@ -2061,7 +2061,8 @@ public class MessageHelper {
if (semi > 0)
header = header.substring(0, semi);
if (header.contains("TLS")) {
if (header.contains("using TLS") ||
header.contains("version=TLS")) {
Log.i("--- found TLS");
continue;
}