There was an error sending mail from '......@gmail.com to '.......@gmail.com': Couldn't connect to smtp.gmail.com:465"

Hello Sir,

when I am trying to login using other account than Admin. Bugzilla 4.4.4 shows an error like that "There was an error sending mail from '......@gmail.com' to '.......@gmail.com': Couldn't connect to smtp.gmail.com:465".

Traceback:

 at Bugzilla/Mailer.pm line 174.
	Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 299
	Bugzilla::Token::Cancel(...) called at Bugzilla/Token.pm line 315
	Bugzilla::Token::DeletePasswordTokens(...) called at Bugzilla/Auth/Verify/DB.pm line 63
	Bugzilla::Auth::Verify::DB::check_credentials(...) called at Bugzilla/Auth/Verify/Stack.pm line 53
	Bugzilla::Auth::Verify::Stack::check_credentials(...) called at Bugzilla/Auth.pm line 57
	Bugzilla::Auth::login(...) called at Bugzilla.pm line 326
	Bugzilla::login(...) called at C:\bugzilla\index.cgi line 25



I also tried with other smtp server but still I am having same problem.
0
provider
6/17/2014 9:26:15 PM
mozilla.support.bugzilla 10111 articles. 0 followers. Post Follow

8 Replies
3806 Views

Similar Articles

[PageSpeed] 58

Hi,

On Tue, 2014-06-17 at 14:26 -0700, provider.vivacity@gmail.com wrote:
> when I am trying to login using other account than Admin. Bugzilla
> 4.4.4 shows an error like that "There was an error sending mail from
> '......@gmail.com' to '.......@gmail.com': Couldn't connect to
> smtp.gmail.com:465".

Did you really only "try to login", or did you actually login and
changed a bug report so Bugzilla tried to send bugmail notifications?
Do you imply sending via GMail works if you are logged in as admin?

When did this problem start? Did sending via GMail work before for this
installation?  Are the settings like described on
https://wiki.mozilla.org/Bugzilla:Windows_Gmail ?

andre
-- 
Andre Klapper  |  ak-47@gmx.net
http://blogs.gnome.org/aklapper/

0
Andre
6/18/2014 12:29:03 AM
On Wednesday, June 18, 2014 2:56:15 AM UTC+5:30, provider...@gmail.com wrote:
> Hello Sir,
> 
> 
> 
> when I am trying to login using other account than Admin. Bugzilla 4.4.4 shows an error like that "There was an error sending mail from '......@gmail.com' to '.......@gmail.com': Couldn't connect to smtp.gmail.com:465".
> 
> 
> 
> Traceback:
> 
> 
> 
>  at Bugzilla/Mailer.pm line 174.
> 
> 	Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 299
> 
> 	Bugzilla::Token::Cancel(...) called at Bugzilla/Token.pm line 315
> 
> 	Bugzilla::Token::DeletePasswordTokens(...) called at Bugzilla/Auth/Verify/DB.pm line 63
> 
> 	Bugzilla::Auth::Verify::DB::check_credentials(...) called at Bugzilla/Auth/Verify/Stack.pm line 53
> 
> 	Bugzilla::Auth::Verify::Stack::check_credentials(...) called at Bugzilla/Auth.pm line 57
> 
> 	Bugzilla::Auth::login(...) called at Bugzilla.pm line 326
> 
> 	Bugzilla::login(...) called at C:\bugzilla\index.cgi line 25
> 
> 
> 
> 
> 
> 
> 
> I also tried with other SMTP server but still I am having same problem.

I am facing that problem when I try to create new account. or when I try to impersonate the user by Administrator account.

It never works with gmail smtp server or local smtp server.
0
provider
6/20/2014 2:27:25 PM
Guten Tag provider.vivacity@gmail.com,
am Freitag, 20. Juni 2014 um 16:27 schrieben Sie:

> It never works with gmail smtp server or local smtp server.

Could be a problem with SELinux or AppArmor or a firewall.

http://selinuxproject.org/page/ApacheRecipes#Allow_the_Apache_HTTP_Server_t=
o_send_mail

Mit freundlichen Gr=FC=DFen,

Thorsten Sch=F6ning

--=20
Thorsten Sch=F6ning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=E4ftsf=FChrer: Andreas Muchow

0
Windows
6/20/2014 3:03:38 PM
On Wednesday, June 18, 2014 2:56:15 AM UTC+5:30, provider...@gmail.com wrote:
> Hello Sir,
> 
> 
> 
> when I am trying to login using other account than Admin. Bugzilla 4.4.4 shows an error like that "There was an error sending mail from '......@gmail.com' to '.......@gmail.com': Couldn't connect to smtp.gmail.com:465".
> 
> 
> 
> Traceback:
> 
> 
> 
>  at Bugzilla/Mailer.pm line 174.
> 
> 	Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 299
> 
> 	Bugzilla::Token::Cancel(...) called at Bugzilla/Token.pm line 315
> 
> 	Bugzilla::Token::DeletePasswordTokens(...) called at Bugzilla/Auth/Verify/DB.pm line 63
> 
> 	Bugzilla::Auth::Verify::DB::check_credentials(...) called at Bugzilla/Auth/Verify/Stack.pm line 53
> 
> 	Bugzilla::Auth::Verify::Stack::check_credentials(...) called at Bugzilla/Auth.pm line 57
> 
> 	Bugzilla::Auth::login(...) called at Bugzilla.pm line 326
> 
> 	Bugzilla::login(...) called at C:\bugzilla\index.cgi line 25
> 
> 
> 
> 
> 
> 
> 
> I also tried with other smtp server but still I am having same problem.

I have installed bugzilla on Window server 2008 R2 and smtp server works  fine on that system. I can login with administrator and other accounts but not able but mail is not working with Bugzilla. 
0
provider
6/20/2014 7:34:20 PM
On Wednesday, June 18, 2014 2:56:15 AM UTC+5:30, provider...@gmail.com wrote:
> Hello Sir,
> 
> 
> 
> when I am trying to login using other account than Admin. Bugzilla 4.4.4 shows an error like that "There was an error sending mail from '......@gmail.com' to '.......@gmail.com': Couldn't connect to smtp.gmail.com:465".
> 
> 
> 
> Traceback:
> 
> 
> 
>  at Bugzilla/Mailer.pm line 174.
> 
> 	Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 299
> 
> 	Bugzilla::Token::Cancel(...) called at Bugzilla/Token.pm line 315
> 
> 	Bugzilla::Token::DeletePasswordTokens(...) called at Bugzilla/Auth/Verify/DB.pm line 63
> 
> 	Bugzilla::Auth::Verify::DB::check_credentials(...) called at Bugzilla/Auth/Verify/Stack.pm line 53
> 
> 	Bugzilla::Auth::Verify::Stack::check_credentials(...) called at Bugzilla/Auth.pm line 57
> 
> 	Bugzilla::Auth::login(...) called at Bugzilla.pm line 326
> 
> 	Bugzilla::login(...) called at C:\bugzilla\index.cgi line 25
> 
> 
> 
> 
> 
> 
> 
> I also tried with other smtp server but still I am having same problem.




I have installed bugzilla on Window server 2008 R2 and smtp server works  fine on that system. I can login with administrator and other accounts but not able but mail is not working with Bugzilla.
0
provider
6/20/2014 8:37:54 PM
Guten Tag provider.vivacity@gmail.com,
am Freitag, 20. Juni 2014 um 22:37 schrieben Sie:

> I have installed bugzilla on Window server 2008 R2 and smtp server
> works  fine on that system. I can login with administrator and other
> accounts but not able but mail is not working with Bugzilla.

That doesn't help much, your error message looks like some network
related problem, so you have to investigate that further on your own.
There can still be issues with a firewall or such, regardless if smtp
is another service on the same machine and working from external or
internal or whatsoever. You web server could still be not allowed to
communicate with the local smtp server or any other one on the net.

Besides that, things like problems with DNS name resolution or routing
could be a problem, too. You could e.g. try to use smtp.gmail.com
using telnet from your system running Bugzilla to see if the
destination mail server is usable at all and such.

http://www.simplescripts.de/smtp-check-port-25-telnet-command.htm

Mit freundlichen Gr=FC=DFen,

Thorsten Sch=F6ning

--=20
Thorsten Sch=F6ning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=E4ftsf=FChrer: Andreas Muchow

0
Windows
6/21/2014 8:06:41 AM
I disabled my server firewall and tested but Still It was not working.

I googled and found some Perl modules are support for Email in Bugzilla.
When I do checksetup.pl some of perl module(TheSchwartz,Daemon-Generic and =
template-GD,mode_perl and Apache-SizeLimit) are showing uninstalled But I t=
hey are deprecated in Perl 5.16 or window 2008 64 bit does not support thes=
e, So I installed newer version of these module but still they are showing =
uninstall.

I think It may be the issue of email fail.

How Can I install them so they will show installed when I do checksetup.pl =
?
0
provider
6/21/2014 10:32:12 PM
Guten Tag provider.vivacity@gmail.com,
am Sonntag, 22. Juni 2014 um 00:32 schrieben Sie:

> I think It may be the issue of email fail.

It is not, those modules are optional, but the ability to send mails
is a Bugzilla core function and your error message indicates a network
problem. Bugzilla already tries to reach smtp.gmail.com, but simply
can't, it already tries to do the proper thing and fails on doing so.
If some needed modules would be missed, Bugzilla wouldn't get that
far.

> TheSchwartz, Daemon-Generic

Those modules are only for sending mails in the background, they are
not needed to send mails in general, it's just about performance.

> template-GD

Is used for images like dependencies of Bugs and has nothing to do
with emails at all.

> mode_perl

mod_perl is again just about performance, to remove the overhead of
recompiling perl applications on each request.

> Apache-SizeLimit

This is only used in combination with mod_perl to limit the amount of
RAM mod_perl uses for requests.

Mit freundlichen Gr=FC=DFen,

Thorsten Sch=F6ning

--=20
Thorsten Sch=F6ning       E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=E4ftsf=FChrer: Andreas Muchow

0
Windows
6/22/2014 8:47:04 AM
Reply:

Web resources about - There was an error sending mail from '......@gmail.com to '.......@gmail.com': Couldn't connect to smtp.gmail.com:465" - mozilla.support.bugzilla

Resources last updated: 1/23/2016 8:28:33 AM