1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 14:11:00 +00:00

Disabled Spamcop blocklist by default

This commit is contained in:
M66B 2022-10-28 16:00:39 +02:00
parent 23793fb0e9
commit 1322f4a64b
2 changed files with 5 additions and 1 deletions

View file

@ -659,6 +659,10 @@ public class ApplicationEx extends Application
editor.putBoolean("photo_picker", true);
} else if (version < 1966)
editor.remove("hide_timezone");
else if (version < 1994) {
// 2022-10-28 Spamcop blocks Google's addresses
editor.putBoolean("blocklist.Spamcop", false);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service");

View file

@ -71,7 +71,7 @@ public class DnsBlockList {
"127.0.1.106", // abused legit botnet C&C
}),
new BlockList(true, "Spamcop", "bl.spamcop.net", true, new String[]{
new BlockList(false, "Spamcop", "bl.spamcop.net", true, new String[]{
// https://www.spamcop.net/fom-serve/cache/291.html
"127.0.0.2",
}),