Eu instalei o bugzilla 4.0. Está funcionando, no entanto, não consigo usar o recurso para enviar com SMTP com autenticação.
De acordo com as notas de versão , se você instalar: Authen :: SASL, o SMTP :: TLS deve estar disponível no menu suspenso de e-mail.
executando ./checksetup --check-modules:
Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.52
Checking for Digest-SHA (any) ok: found v5.47
Checking for TimeDate (v2.21) ok: found v2.23
Checking for DateTime (v0.28) ok: found v0.70
Checking for DateTime-TimeZone (v0.71) ok: found v1.38
Checking for DBI (v1.41) ok: found v1.609
Checking for Template-Toolkit (v2.22) ok: found v2.22
Checking for Email-Send (v2.00) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.910
Checking for URI (any) ok: found v1.52
Checking for List-MoreUtils (v0.22) ok: found v0.33
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.012
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.39
Checking for Chart (v2.1) ok: found v2.4.1
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 XML-Twig (any) ok: found v3.32
Checking for MIME-tools (v5.406) ok: found v5.502
Checking for libwww-perl (any) ok: found v5.834
Checking for PatchReader (v0.9.4) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.43
Checking for Authen-SASL (any) ok: found v2.15
Checking for RadiusPerl (any) ok: found v0.20
Checking for SOAP-Lite (v0.712) ok: found v0.714
Checking for JSON-RPC (any) ok: found v0.96
Checking for JSON-XS (v2.0) ok: found v2.32
Checking for Test-Taint (any) ok: found v1.04
Checking for HTML-Parser (v3.40) ok: found v3.64
Checking for HTML-Scrubber (any) ok: found v0.09
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.10
Checking for Daemon-Generic (any) ok: found v0.81
Checking for mod_perl (v1.999022) ok: found v2.000004
Checking for Apache-SizeLimit (v0.93) ok: found v0.95
Checking for Math-Random-Secure (v0.05) ok: found v0.06
WARNING: We could not check the configuration of Apache. This sometimes
happens when you are not running checksetup.pl as root. To see the
problem we ran into, run: /usr/sbin/apache2 -t -D DUMP_MODULES
o módulo está instalado
Checking for Authen-SASL (any) ok: found v2.15
No entanto, no e-mail Parâmetros- > - não vejo SMTP: TLS disponível.
Eu também instalei o seguinte:
sudo apt-get install libnet-ssleay-perl
sudo apt-get install libcrypt-ssleay-perl
e também:
CPAN: install Net::SMTP::TLS
Eu não acho que qualquer mudança de código seja necessária para que isso funcione, mas quem sabe.
De acordo com o link do Q / A
Eu adicionei a linha
use Email::Send::SMTP::TLS;
para o arquivo Mailer.pm.
Isso causou um problema
Erro de software:
> Can't locate Email/Send/SMTP/TLS.pm in @INC (@INC contains: .
> lib/i686-linux-gnu-thread-multi lib /etc/perl
> /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
> /usr/local/lib/site_perl) at Bugzilla/Mailer.pm line 48. BEGIN
> failed--compilation aborted at Bugzilla/Mailer.pm line 48. Compilation
> failed in require at Bugzilla/Auth.pm line 35. BEGIN
> failed--compilation aborted at Bugzilla/Auth.pm line 35. Compilation
> failed in require at Bugzilla.pm line 40. BEGIN failed--compilation
> aborted at Bugzilla.pm line 40. Compilation failed in require at
> /var/www/bugzilla/editparams.cgi line 28. BEGIN failed--compilation
> aborted at /var/www/bugzilla/editparams.cgi line 28. For help, please
> send mail to the webmaster (webmaster@localhost), giving this error
> message and the time and date of the error.
Por favor, informe.
* para notar que ontem eu tive a sensação de que eu não tenho o Bugzilla 4.0 instalado :-) de qualquer maneira, eu verifiquei, e é 4.