From 769a7f2372c77d9175f6101ca42f214f12924f1d Mon Sep 17 00:00:00 2001
From: "lpsolit%gmail.com" <>
Date: Sun, 10 Dec 2006 00:39:18 +0000
Subject: [PATCH] =?UTF-8?q?Bug=20359315:=20"NNTP"=20and=20"IO"=20should=20?=
 =?UTF-8?q?be=20filtered=20out=20of=20the=20mail=5Fdelivery=5Fmethod=20opt?=
 =?UTF-8?q?ions=20-=20Patch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin?=
 =?UTF-8?q?=20<LpSolit@gmail.com>=20r/a=3Djustdave?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Bugzilla/Config/MTA.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm
index 27d03462a..3415677f3 100644
--- a/Bugzilla/Config/MTA.pm
+++ b/Bugzilla/Config/MTA.pm
@@ -44,7 +44,9 @@ sub get_param_list {
   {
    name => 'mail_delivery_method',
    type => 's',
-   choices => [Email::Send->new()->all_mailers(), 'None'],
+   # Bugzilla is not ready yet to send mails to newsgroups, and 'IO'
+   # is of no use for now as we already have our own 'Test' mode.
+   choices => [grep {$_ ne 'NNTP' && $_ ne 'IO'} Email::Send->new()->all_mailers(), 'None'],
    default => 'Sendmail',
    checker => \&check_mail_delivery_method
   },
-- 
2.24.1