From d1203ee62d72f4ecee74c468c5de16927722d7a0 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 11 Nov 2020 15:09:58 +0100 Subject: [PATCH] Dummy EHLO --- app/src/main/java/eu/faircode/email/EmailService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index a3f587c1ca..7074f091b3 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -633,6 +633,8 @@ public class EmailService implements AutoCloseable { } static String getDefaultEhlo() { + if (BuildConfig.APPLICATION_ID.startsWith("eu.faircode.email")) + return "dummy.faircode.eu"; String[] c = BuildConfig.APPLICATION_ID.split("\\."); Collections.reverse(Arrays.asList(c)); return TextUtils.join(".", c);