Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

608 views
Skip to first unread message

provider...@gmail.com

unread,
Jun 17, 2014, 5:26:15 PM6/17/14
to
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.

Andre Klapper

unread,
Jun 17, 2014, 8:29:03 PM6/17/14
to provider...@gmail.com, support-...@lists.mozilla.org
Hi,

On Tue, 2014-06-17 at 14:26 -0700, provider...@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...@gmx.net
http://blogs.gnome.org/aklapper/

provider...@gmail.com

unread,
Jun 20, 2014, 10:27:25 AM6/20/14
to
> 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.

Thorsten Schöning

unread,
Jun 20, 2014, 11:03:38 AM6/20/14
to support-...@lists.mozilla.org
Guten Tag provider...@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_to_send_mail

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning E-Mail:Thorsten....@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äftsführer: Andreas Muchow

provider...@gmail.com

unread,
Jun 20, 2014, 3:34:20 PM6/20/14
to
On Wednesday, June 18, 2014 2:56:15 AM UTC+5:30, provider...@gmail.com wrote:
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.

provider...@gmail.com

unread,
Jun 20, 2014, 4:37:54 PM6/20/14
to
On Wednesday, June 18, 2014 2:56:15 AM UTC+5:30, provider...@gmail.com wrote:

Thorsten Schöning

unread,
Jun 21, 2014, 4:06:41 AM6/21/14
to support-...@lists.mozilla.org
Guten Tag provider...@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

provider...@gmail.com

unread,
Jun 21, 2014, 6:32:12 PM6/21/14
to
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 they are deprecated in Perl 5.16 or window 2008 64 bit does not support these, 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 ?

Thorsten Schöning

unread,
Jun 22, 2014, 4:47:04 AM6/22/14
to support-...@lists.mozilla.org
Guten Tag provider...@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.
0 new messages