summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-10 01:39:18 +0100
committerlpsolit%gmail.com <>2006-12-10 01:39:18 +0100
commit769a7f2372c77d9175f6101ca42f214f12924f1d (patch)
tree1766c1e801260b432aa0ec03dc902ea8aee0d3f4 /Bugzilla/Config
parent146561b4dece24b5a6857a00b7074acc23f11f1f (diff)
downloadbugzilla-769a7f2372c77d9175f6101ca42f214f12924f1d.tar.gz
bugzilla-769a7f2372c77d9175f6101ca42f214f12924f1d.tar.xz
Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method options - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'Bugzilla/Config')
-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
},