Closed Bug 897355 Opened 11 years ago Closed 11 years ago

Bugzilla Ver 4.4 - Unable to enable 'smtp_ssl' option under SMTP mail_delivery_method.

Categories

(Bugzilla :: Administration, task)

task
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: sudhakar.yg, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0 (Beta/Release)
Build ID: 20130627160928

Steps to reproduce:

1. Downloaded the latest version of Bugzilla 4.4. & uncompressed (Primary reason to install this version is to enable the email alerts using gmail account.
2. Installed the necessary perl modules (Net-SMTP-SSL) as mentioned in http://lpsolit.wordpress.com/2012/11/09/using-gmail-as-smtp-server-from-bugzilla-to-send-email-notifications-is-supported-natively/
3. Run the  checksetup.pl (Following is the output)
# ./checksetup.pl 
* This is Bugzilla 4.4 on perl 5.14.2
* Running on Linux 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 04:06:34 UTC 2011

Checking perl modules...
Checking for               CGI.pm (v3.51)     ok: found v3.63 
Checking for           Digest-SHA (any)       ok: found v5.61 
Checking for             TimeDate (v2.23)     ok: found v2.24 
Checking for             DateTime (v0.28)     ok: found v0.78 
Checking for    DateTime-TimeZone (v0.71)     ok: found v1.56 
Checking for                  DBI (v1.614)    ok: found v1.616 
Checking for     Template-Toolkit (v2.22)     ok: found v2.24 
Checking for           Email-Send (v2.04)     ok: found v2.198 
Checking for           Email-MIME (v1.904)    ok: found v1.910 
Checking for                  URI (v1.37)     ok: found v1.59 
Checking for       List-MoreUtils (v0.32)     ok: found v0.33 
Checking for    Math-Random-ISAAC (v1.0.1)    ok: found v1.004 
Checking available perl DBD modules...
Checking for               DBD-Pg (v2.7.0)    ok: found v2.19.3 
Checking for            DBD-mysql (v4.001)    ok: found v4.020 
Checking for           DBD-SQLite (v1.29)     ok: found v1.37 
Checking for           DBD-Oracle (v1.19)     not found 

The following Perl modules are optional:
Checking for                   GD (v1.20)     ok: found v2.46 
Checking for                Chart (v2.1)      ok: found v2.4.6 
Checking for          Template-GD (any)       ok: found v1.56 
Checking for           GDTextUtil (any)       ok: found v0.86 
Checking for              GDGraph (any)       ok: found v1.44 
Checking for           MIME-tools (v5.406)    ok: found v5.503 
Checking for          libwww-perl (any)       ok: found v6.04 
Checking for             XML-Twig (any)       ok: found v3.42 
Checking for          PatchReader (v0.9.6)    ok: found v0.9.6 
Checking for            perl-ldap (any)       ok: found v0.44 
Checking for          Authen-SASL (any)       ok: found v2.15 
Checking for         Net-SMTP-SSL (v1.01)     ok: found v1.01 
Checking for           RadiusPerl (any)       ok: found v0.20 
Checking for            SOAP-Lite (v0.712)    ok: found v0.715 
Checking for             JSON-RPC (any)       ok: found v1.03 
Checking for              JSON-XS (v2.0)      ok: found v2.33 
Checking for           Test-Taint (any)       ok: found v1.06 
Checking for          HTML-Parser (v3.67)     ok: found v3.69 
Checking for        HTML-Scrubber (any)       ok: found v0.09 
Checking for               Encode (v2.21)     ok: found v2.42_01 
Checking for        Encode-Detect (any)       ok: found v1.01 
Checking for          Email-Reply (any)       ok: found v1.202 
Checking for HTML-FormatText-WithLinks (v0.13)     ok: found v0.14 
Checking for          TheSchwartz (any)       ok: found v1.10 
Checking for       Daemon-Generic (any)       ok: found v0.82 
Checking for             mod_perl (v1.999022) ok: found v2.000005 
Checking for     Apache-SizeLimit (v0.96)     ok: found v0.96 
Checking for        File-MimeInfo (any)       ok: found v0.16 
Checking for           IO-stringy (any)       ok: found v2.110 
Checking for          mod_headers (any)       not found 
Checking for          mod_expires (any)       not found 
Checking for              mod_env (any)       ok 
***********************************************************************
* APACHE MODULES                                                      *
***********************************************************************
* Normally, when Bugzilla is upgraded, all Bugzilla users have to     *
* clear their browser cache or Bugzilla will break. If you enable     *
* certain modules in your Apache configuration (usually called        *
* httpd.conf or apache2.conf) then your users will not have to clear  *
* their caches when you upgrade Bugzilla. The modules you need to     *
* enable are:                                                         *
*                                                                     *
*    mod_headers, mod_expires                                         *
*                                                                     *
***********************************************************************
Reading ./localconfig...

OPTIONAL NOTE: If you want to be able to use the 'difference between two
patches' feature of Bugzilla (which requires the PatchReader Perl module
as well), you should install patchutils from:

    http://cyberelk.net/tim/patchutils/

Checking for            DBD-mysql (v4.001)    ok: found v4.020 
Checking for                MySQL (v5.0.15)   ok: found v5.5.28-0ubuntu0.12.04.3 

Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Deriving regex group memberships...
checksetup.pl complete.



Actual results:

After this, edited the following parameters under Administration > Parameters > Email, 
mail_delivery_method = SMTP
mailfrom = my_email_address@gmail.com
smtpserver = smtp.gmail.com:465
smtp_username = my_email_address@gmail.com
smtp_password = my_gmail_password
smtp_ssl = on
smtp_debug = on
When I click the 'save changes' button, I get the following error in next page,

"The new value for smtp_ssl is invalid: SSL support is not available. Run checksetup.pl for more details."
Please press Back and try again. 


Expected results:

When run the checksetup.pl, I dont see any error pertaining to SMTP::SSL as mentioned above.
Page should have allowed me to set the SSL support for SMTP & Bugzilla should send out the mail alerts to users on changes / new bug creation.
I met the same problem.  And I can't connect to smtpserver.
This looks like a support question. Please see http://www.bugzilla.org/support for help.

If Net::SMTP::SSL is correctly installed, then Bugzilla has no reason to refuse to set smtp_ssl. To check if there is something wrong with a dependency of Net::SMTP::SSL, try this command from the shell:

  perl -MNet::SMTP::SSL -wE 'say $Net::SMTP::SSL::VERSION'

It should return "1.01". If it doesn't, then you know the installation of this module is broken (which is outside Bugzilla).
Assignee: general → administration
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Component: Bugzilla-General → Administration
Resolution: --- → INVALID
Ran the command mentioned   perl -MNet::SMTP::SSL -wE 'say $Net::SMTP::SSL::VERSION' & got the result as "1.01". 
So my installation seems to be ok. Also I have followed the steps as metioned in the support document. I have given above the details of my installation. 
What else could be the issue?
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Hi Bugzilla team, Awaiting your response.
Hi Sudhakar, please take a look at http://www.bugzilla.org/support/consulting.html if you need answer within six hours in your timezone. Thanks!
Per the discussion on the support mailing-list, the bug was due to some missing dependencies when installing the Net::SMTP::SSL package. This is a bug in the distro packages manager, not in Bugzilla.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.