Added provider greenstra.de

pull/212/head
M66B 2 years ago
parent 3bfaff12da
commit 23b019e35e

@ -554,9 +554,15 @@ public class EmailProvider implements Parcelable {
if (provider.enabled && if (provider.enabled &&
provider.imap.host.equals(candidate.imap.host) || provider.imap.host.equals(candidate.imap.host) ||
provider.smtp.host.equals(candidate.smtp.host)) { provider.smtp.host.equals(candidate.smtp.host)) {
EntityLog.log(context, "Replacing auto config by profile=" + provider.name); EntityLog.log(context, "Replacing auto config host by profile=" + provider.name);
return Arrays.asList(provider); return Arrays.asList(provider);
} } else if (provider.enabled && provider.mx != null)
for (String mx : provider.mx)
if ((candidate.imap.host != null && candidate.imap.host.matches(mx)) ||
(candidate.smtp.host != null && candidate.smtp.host.matches(mx))) {
EntityLog.log(context, "Replacing auto config MC by profile=" + provider.name);
return Arrays.asList(provider);
}
// https://help.dreamhost.com/hc/en-us/articles/214918038-Email-client-configuration-overview // https://help.dreamhost.com/hc/en-us/articles/214918038-Email-client-configuration-overview
if (candidate.imap.host != null && if (candidate.imap.host != null &&

@ -2064,4 +2064,17 @@
port="465" port="465"
starttls="false" /> starttls="false" />
</provider> </provider>
<provider
name="Greensta.de"
link="https://support.greensta.de/help/de-de/4-e-mail/55-wie-kann-ich-mein-e-mail-programm-z-b-outlook-thunderbird-einrichten"
mx=".*\\.greensta\\.de">
<imap
host="mail.greensta.de"
port="993"
starttls="false" />
<smtp
host="mail.greensta.de"
port="465"
starttls="false" />
</provider>
</providers> </providers>

Loading…
Cancel
Save