From 769a7f2372c77d9175f6101ca42f214f12924f1d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 10 Dec 2006 00:39:18 +0000 Subject: Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method options - Patch by Frédéric Buclin r/a=justdave 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(-) (limited to 'Bugzilla/Config') 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 }, -- cgit v1.2.3-24-g4f1b