[COMMITTED] app.ini: Use wildcards in EMAIL_DOMAIN_BLOCKLIST

Mark Wielaard mark@klomp.org
Tue May 12 19:01:07 GMT 2026


Hopefully this also blocks emails from foobar123@a.bad.domain
---
 config-files/srv/forgejo/app.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config-files/srv/forgejo/app.ini b/config-files/srv/forgejo/app.ini
index 3ea4f41a41ed..9b5af23f8622 100644
--- a/config-files/srv/forgejo/app.ini
+++ b/config-files/srv/forgejo/app.ini
@@ -62,7 +62,7 @@ REGISTER_EMAIL_CONFIRM = true
 DISABLE_REGISTRATION = false
 REGISTER_EMAIL_CONFIRM = true
 EMAIL_DOMAIN_ALLOWLIST =
-EMAIL_DOMAIN_BLOCKLIST = nestmailbox.com, tiptopmail.top, welcometotijuana.com, mustdoindubai.com, budgetthailandtravel.com, pattaya-mega.com, blog-stuff.com
+EMAIL_DOMAIN_BLOCKLIST = nestmailbox.com, tiptopmail.top, *.welcometotijuana.com, mustdoindubai.com, budgetthailandtravel.com, pattaya-mega.com, *.blog-stuff.com
 EMAIL_DOMAIN_BLOCK_DISPOSABLE = true
 ALLOW_ONLY_INTERNAL_REGISTRATION = true
 ALLOW_ONLY_EXTERNAL_REGISTRATION = false
-- 
2.53.0



More information about the Forge mailing list