From 33cfc3b316e03fb8c2b178e0f2e859751dfa5abd Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 8 Jan 2022 19:15:54 +0100 Subject: [PATCH] With LMTP --- FAQ.md | 3 ++- app/src/main/java/eu/faircode/email/MessageHelper.java | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 83c5f1f941..b96acb6306 100644 --- a/FAQ.md +++ b/FAQ.md @@ -4479,7 +4479,8 @@ 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', '[MAPI](https://en.wikipedia.org/wiki/MAPI)', 'HTTP', 'HTTPS', or 'HTTPREST' +* 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 'HTTP', 'HTTPS', or 'HTTPREST' * has a *with* with the value '[xMTPSx](https://datatracker.ietf.org/doc/html/rfc3848)' ('xMTPAx' is considered insecure) A local address is a local host address, a site local address diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index f9fa6d72ae..42d06240d1 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -2166,6 +2166,12 @@ public class MessageHelper { return true; } + if ("lmtp".equals(protocol)) { + // https://en.wikipedia.org/wiki/Local_Mail_Transfer_Protocol + Log.i("--- lmtp with=" + with); + return true; + } + if ("mapi".equals(protocol)) { // https://en.wikipedia.org/wiki/MAPI Log.i("--- mapi with=" + with);