diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java
index 955de6db79..4cd4d5cc11 100644
--- a/app/src/main/java/eu/faircode/email/MessageHelper.java
+++ b/app/src/main/java/eu/faircode/email/MessageHelper.java
@@ -1728,6 +1728,10 @@ public class MessageHelper {
if (!TextUtils.isEmpty(outlook))
return "outlook";
+ String yahoo = imessage.getHeader("X-Sonic-MF", null);
+ if (!TextUtils.isEmpty(yahoo))
+ return "yahoo";
+
return null;
}
diff --git a/app/src/main/res/drawable/infra_yahoo.xml b/app/src/main/res/drawable/infra_yahoo.xml
new file mode 100644
index 0000000000..c437c099d7
--- /dev/null
+++ b/app/src/main/res/drawable/infra_yahoo.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3a64f64067..f6f76b1f21 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1823,6 +1823,7 @@
Gmail
Outlook/Office 365
+ Yahoo!
- Always