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

Bugizilla 4.4.8 : There was an error sending mail from 'bugzilla-daemon@xxx.xxx.x.xxx' to 'mail-id@domain': Couldn't authenticate 'mail-id@gmail.com:...'

945 views
Skip to first unread message

isidelhi....@gmail.com

unread,
Nov 5, 2015, 5:03:36 AM11/5/15
to
Dear All,

I had configured Bugizilla 4.4.8 almost 8 months back for our internal purpose and was working fine all these days.

Today morning it started giving the following error when I try to login as administrator.

-----ERROR-----------------------------------------------

An unexpected error occurred. This could be a temporary problem, or some code is behaving incorrectly. If this problem persists, please email this page to mail-d@domain with details of what you were doing at the time this message appeared.

URL: http://192.168.0.138/complaints/index.cgi

There was an error sending mail from 'bugzill...@192.168.0.138' to 'mail-id@domain': Couldn't authenticate 'mai...@gmail.com:...'
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 /srv/www/htdocs/complaints/index.cgi line 25

-------------------------------------------------------------
But it allows the normal user to login but after filling in the details when the complaint is submitted, it gives the following error.


An unexpected error occurred. This could be a temporary problem, or some code is behaving incorrectly. If this problem persists, please email this page to vin...@isid.ac.in with details of what you were doing at the time this message appeared.

URL: http://192.168.0.138/complaints/post_bug.cgi

There was an error sending mail from 'bugzill...@192.168.0.138' to 'ra...@isid.ac.in': Couldn't authenticate 'isidelhi....@gmail.com:...'
Traceback:

at Bugzilla/Mailer.pm line 174.
Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/BugMail.pm line 354
Bugzilla::BugMail::sendMail(...) called at Bugzilla/BugMail.pm line 248
Bugzilla::BugMail::Send(...) called at /srv/www/htdocs/complaints/post_bug.cgi line 209


Could someone please help me to fix this issue.

Thanking you in advance

Vinayan

isidelhi....@gmail.com

unread,
Nov 5, 2015, 5:09:25 AM11/5/15
to
Forgot to mention that I am using SUSE 13.2.

Thorsten Schöning

unread,
Nov 5, 2015, 6:09:11 AM11/5/15
to support-...@lists.mozilla.org
Guten Tag isidelhi....@gmail.com,
am Donnerstag, 5. November 2015 um 11:03 schrieben Sie:

> There was an error sending mail from
> 'bugzill...@192.168.0.138' to 'mail-id@domain': Couldn't
> authenticate 'mai...@gmail.com:...'

This error message is pretty clear, the login credentials for your
configured mail server have changed and you either need to revert
them or change the config in the admin UI of Bugzilla as well.

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

praful Tajane

unread,
Nov 5, 2015, 9:15:20 AM11/5/15
to isidelhi....@gmail.com, support-...@lists.mozilla.org
Hello,

I think that issue occurs because of your selinux is preventing to send
mail or check your sendmail service is running or not.
> _______________________________________________
> support-bugzilla mailing list
> support-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/support-bugzilla
> PLEASE put support-...@lists.mozilla.org in the To: field when you
> reply.
>

isidelhi....@gmail.com

unread,
Nov 5, 2015, 11:17:33 PM11/5/15
to
Thank you Mr. Thorsten Schöning,

I have not changed changed the password for the gmail id that I use to send mails to users. I can still log on to that gmail id with the password.

When I started getting the error, I realised it could be something to do with sending mails using google smtp server. Since bugzilla is not allowing the admin user to login, I am not able to change the mail_delivery_method to none or other mail related details.

Is there a way manually change mail_delivery_method to "Test" or "None"?

Regards

Vinayan

Vinayan

unread,
Nov 6, 2015, 12:17:08 AM11/6/15
to
Dear Mr. praful Tajane,

Thank you very much for you help.

I tried turning selinux/firewall off. When admin try to login or ordinary user try to submit a complaint, it still give the error.

I do not use a local MTA. I use gmail smtp server to send mails. Everything worked well for 8 months and suddenly started giving this problem.


Regards

Vinayan

Thorsten Schöning

unread,
Nov 6, 2015, 2:25:45 AM11/6/15
to support-...@lists.mozilla.org
Guten Tag isidelhi....@gmail.com,
am Freitag, 6. November 2015 um 05:17 schrieben Sie:

> I have not changed changed the password for the gmail id that I use
> to send mails to users. I can still log on to that gmail id with the password.

Then you have changed something other on the server hosting your
Bugzilla recently, good candidates are changes in installed packages
regarding OpenSSL or Perl in general, because communication with GMail
is encrypted and if I remember correctly uses some hashing scheme to
authenticate. If none of the needed schemes is available now for any
reason, authentication will fail as well.

> Is there a way manually change mail_delivery_method to "Test" or "None"?

Change the data/params file in your Bugzilla installation directory
with a text editor, but beware that it it Perl code, so keep the
syntax! Additionally you can activate SMTP debug that way.

praful Tajane

unread,
Nov 6, 2015, 11:14:07 AM11/6/15
to Vinayan, support-...@lists.mozilla.org
Hello,

kindly share the apache log and error screen shots.
Also send domain and smtp port which you have used.
Please send screen shot of email setting page.

Thanks,

On Fri, Nov 6, 2015 at 10:47 AM, Vinayan <isidelhi....@gmail.com>
wrote:

Thorsten Schöning

unread,
Nov 6, 2015, 11:34:58 AM11/6/15
to support-...@lists.mozilla.org
Guten Tag praful Tajane,
am Freitag, 6. November 2015 um 06:24 schrieben Sie:

> kindly share the apache log and error screen shots.
> Also send domain and smtp port which you have used.
> Please send screen shot of email setting page.

This list removes most but very small attachments, in case of size, so
don't attach them, but post logs as inline text and if you need to
provide larger files use some public file hoster. Screenshots are a
bad idea anyways, because one can't search in them easily, so always
prefer some textual content.

isidelhi....@gmail.com

unread,
Nov 9, 2015, 3:38:53 AM11/9/15
to
Thank you very much all for your response.

I figured out that it was due to gmail security issue and solved it adjusting the security level in gmail.

Thank you once again.

Regards

Vinayan
0 new messages