From 114a8db8531be3dd99998142283280123b3b3eee Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 9 Jan 2022 17:33:44 +0100 Subject: [PATCH] With LMTPx --- FAQ.md | 2 +- app/src/main/java/eu/faircode/email/MessageHelper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FAQ.md b/FAQ.md index 2febfef413..f8f4d3cfa0 100644 --- a/FAQ.md +++ b/FAQ.md @@ -4481,7 +4481,7 @@ A message will be consired safely transported if *every* [Received](https://data * has a *from* with a local address * has a *via* with the value '[Frontend Transport](https://social.technet.microsoft.com/wiki/contents/articles/50370.exchange-2016-what-is-the-front-end-transport-service-on-the-mailbox-role.aspx)' * has a *with* with the value 'TLS' -* has a *with* with the value 'local', '[LMTP](https://en.wikipedia.org/wiki/Local_Mail_Transfer_Protocol)], '[MAPI](https://en.wikipedia.org/wiki/MAPI)' +* has a *with* with the value 'local', '[LMTPx](https://en.wikipedia.org/wiki/Local_Mail_Transfer_Protocol)], '[MAPI](https://en.wikipedia.org/wiki/MAPI)' * has a *with* with the value 'HTTP', 'HTTPS', or 'HTTPREST' * has a *with* with the value '[xMTPSx](https://datatracker.ietf.org/doc/html/rfc3848)' ('xMTPAx' is considered insecure) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 742e4bc99e..8e0ce2a092 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -2180,7 +2180,7 @@ public class MessageHelper { return true; } - if ("lmtp".equals(protocol)) { + if (protocol.startsWith("lmtp")) { // https://en.wikipedia.org/wiki/Local_Mail_Transfer_Protocol Log.i("--- lmtp with=" + with); return true;