mirror of https://github.com/M66B/FairEmail.git
TLS: added MTA phrase
This commit is contained in:
parent
8a5054fa88
commit
76cedf34a3
|
@ -2891,8 +2891,10 @@ public class MessageHelper {
|
|||
}
|
||||
|
||||
// (qmail nnn invoked by uid nnn); 1 Jan 2022 00:00:00 -0000
|
||||
// by <host name> (MTA, from userid nnn)
|
||||
// by <host name> (Postfix, from userid nnn)
|
||||
if (header.matches(".*\\(qmail \\d+ invoked by uid \\d+\\).*") ||
|
||||
header.matches(".*\\(MTA, from userid \\d+\\).*") ||
|
||||
header.matches(".*\\(Postfix, from userid \\d+\\).*")) {
|
||||
Log.i("--- phrase");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue