From 8171e3f11961698a33ad8abce0a1df864f1c52c3 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 8 Sep 2017 10:54:44 +0200 Subject: [PATCH] Improved regex for preventing auto responses. --- db/seeds/settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds/settings.rb b/db/seeds/settings.rb index 20e84d629..58745877e 100644 --- a/db/seeds/settings.rb +++ b/db/seeds/settings.rb @@ -2003,7 +2003,7 @@ Setting.create_if_not_exists( }, ], }, - state: '(mailer-daemon|postmaster|abuse|root|noreply|noreply.+?|no-reply|no-reply.+?)@.+?\..+?', + state: '(mailer-daemon|postmaster|abuse|root|noreply|noreply.+?|no-reply|no-reply.+?)@.+?', preferences: { online_service_disable: true, permission: ['admin.channel_email'],