From: lpsolit%gmail.com <> Date: Sun, 10 Dec 2006 00:39:18 +0000 (+0000) Subject: Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method option... X-Git-Tag: bugzilla-2.23.4~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=769a7f2372c77d9175f6101ca42f214f12924f1d;p=thirdparty%2Fbugzilla.git Bug 359315: "NNTP" and "IO" should be filtered out of the mail_delivery_method options - Patch by Frédéric Buclin r/a=justdave --- diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index 27d03462ac..3415677f3a 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 },