summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config/MTA.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-21 12:07:31 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-10-21 12:07:31 +0200
commitc30fc43f400370d2dfe89c36449d290ba3e73a8c (patch)
tree1f5569e63979a4e125f992f7c2192b3573bd10b1 /Bugzilla/Config/MTA.pm
parent2ebb8b6a298478271c9adcfa22c9c76f9e453e2d (diff)
downloadbugzilla-c30fc43f400370d2dfe89c36449d290ba3e73a8c.tar.gz
bugzilla-c30fc43f400370d2dfe89c36449d290ba3e73a8c.tar.xz
Bug 1083737: Validate the smtpserver parameter
r=dkl a=glob
Diffstat (limited to 'Bugzilla/Config/MTA.pm')
-rw-r--r--Bugzilla/Config/MTA.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm
index 7be439bf6..467bdab3f 100644
--- a/Bugzilla/Config/MTA.pm
+++ b/Bugzilla/Config/MTA.pm
@@ -42,7 +42,8 @@ sub get_param_list {
{
name => 'smtpserver',
type => 't',
- default => 'localhost'
+ default => 'localhost',
+ checker => \&check_smtp_server
},
{
name => 'smtp_username',