mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Specific TLS phrases
This commit is contained in:
parent
5df5077ba5
commit
75d7c4ee2c
2 changed files with 3 additions and 2 deletions
2
FAQ.md
2
FAQ.md
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue