Simplification

pull/212/head
M66B 2 years ago
parent 76cedf34a3
commit e0f7090975

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

Loading…
Cancel
Save