Specific TLS phrases

pull/194/merge
M66B 4 years ago
parent 5df5077ba5
commit 75d7c4ee2c

@ -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: 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>' * contains the phrase 'qmail <nnn> invoked by uid <nnn>'
* has a *by* with a local address (site local or localhost) * has a *by* with a local address (site local or localhost)
* has a *from* with a local address * has a *from* with a local address

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

Loading…
Cancel
Save