Drop first header requirement for qmail/Postfix

This commit is contained in:
M66B
2022-02-02 10:09:36 +01:00
parent cbb272b787
commit bfe1d1fbad
2 changed files with 4 additions and 5 deletions

View File

@@ -2185,9 +2185,8 @@ public class MessageHelper {
// (qmail nnn invoked by uid nnn); 1 Jan 2022 00:00:00 -0000
// by <host name> (Postfix, from userid nnn)
if (first &&
(header.matches(".*\\(qmail \\d+ invoked by uid \\d+\\).*") ||
header.matches(".*\\(Postfix, from userid \\d+\\).*"))) {
if (header.matches(".*\\(qmail \\d+ invoked by uid \\d+\\).*") ||
header.matches(".*\\(Postfix, from userid \\d+\\).*")) {
Log.i("--- phrase");
return true;
}