mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Custom logic for Dreamhost discovery
This commit is contained in:
@@ -275,6 +275,15 @@ public class EmailProvider {
|
||||
return provider;
|
||||
}
|
||||
|
||||
// https://help.dreamhost.com/hc/en-us/articles/214918038-Email-client-configuration-overview
|
||||
if (autoconfig.imap.host != null &&
|
||||
autoconfig.imap.host.endsWith(".dreamhost.com"))
|
||||
autoconfig.imap.host = "imap.dreamhost.com";
|
||||
|
||||
if (autoconfig.smtp.host != null &&
|
||||
autoconfig.smtp.host.endsWith(".dreamhost.com"))
|
||||
autoconfig.smtp.host = "smtp.dreamhost.com";
|
||||
|
||||
// https://docs.aws.amazon.com/workmail/latest/userguide/using_IMAP_client.html
|
||||
if (autoconfig.imap.host != null &&
|
||||
autoconfig.imap.host.endsWith(".awsapps.com"))
|
||||
|
||||
Reference in New Issue
Block a user