summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config/MTA.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Config/MTA.pm')
-rw-r--r--Bugzilla/Config/MTA.pm4
1 files changed, 3 insertions, 1 deletions
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
},