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

There was an error sending mail from 'bugzilla-daemon' to 'xxx@xyz.com': no sender

1,304 views
Skip to first unread message

kmug...@gmail.com

unread,
May 9, 2016, 5:25:12 AM5/9/16
to
Env: Debian/Jessi-8.4/exim4
Bugzilla-5.0.2 with bugzilla-4.0.2 data
bugzilla admin passwd was lost

I moved to new machine with old bugzilla data.
It seems like OK. But I forgot admin passwd.
Now, I am trying to recovery admin passwd by email.
However, bugzilla failed to send a passwd recovery mail.

It said
==================================
There was an error sending mail from 'bugzilla-daemon' to 'x...@xyz.com': no sender

Traceback:

at Bugzilla/Mailer.pm line 117.
Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Token.pm line 169
Bugzilla::Token::IssuePasswordToken(...) called at /var/www/html/bugzilla/token.cgi line 137
main::requestChangePassword(...) called at /var/www/html/bugzilla/token.cgi line 73
======================================

The exim4 has local mail only config. And it works.
But there is no exim4 log for bugzilla.


So what should I do?

Andre Klapper

unread,
May 9, 2016, 5:42:18 AM5/9/16
to support-...@lists.mozilla.org
On Mon, 2016-05-09 at 02:25 -0700, kmug...@gmail.com wrote:
> Env: Debian/Jessi-8.4/exim4
>      Bugzilla-5.0.2 with bugzilla-4.0.2 data
>      bugzilla admin passwd was lost
>
>  I moved to new machine with old bugzilla data.
>  It seems like OK. But I forgot admin passwd.

If you have shell access you can use checksetup.pl:
https://www.bugzilla.org/docs/4.4/en/html/api/checksetup.html

>  Now, I am trying to recovery admin passwd by email.
>  However, bugzilla failed to send a passwd recovery mail.
>
> There was an error sending mail from 'bugzilla-daemon' to 'x...@xyz.co
> m': no sender

What is the value of the 'mailfrom' parameter in the admin interface?

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


kmug...@gmail.com

unread,
May 9, 2016, 5:47:38 AM5/9/16
to
Because I forgot admin password. Therefore I can not access admin panel by ordinary method.
According to my understanding, checksetup.pl's passwd recovery method is based on mail delivery.

I can modify database value by phpmyadmin.

Thorsten Schöning

unread,
May 9, 2016, 6:26:03 AM5/9/16
to support-...@lists.mozilla.org
Guten Tag kmug...@gmail.com,
am Montag, 9. Mai 2016 um 11:25 schrieben Sie:

> I moved to new machine with old bugzilla data.
> It seems like OK. But I forgot admin passwd.

checksetup.pl --help, recognize make-admin and reset-password.

> There was an error sending mail from 'bugzilla-daemon' to 'x...@xyz.com': no sender

This has been reported before and is a misconfiguration either of your
MTA like Postfix or your Bugzilla installation. Edit data/params.json
"mailfrom" to be a proper mail address your MTA accepts.

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

kmug...@gmail.com

unread,
May 9, 2016, 11:47:16 AM5/9/16
to
I modified mailfrom of data/params.json, from bugzilla-daemon to bugzill...@xyz.com. and the recovery mail was delivered.

However, using that token, bugzilla responded as follows.

The token you submitted does not exist, has expired, or has been canceled.

By the way, my browser is Iceweasel(Debian version Firefox).

kmug...@gmail.com

unread,
May 10, 2016, 3:41:35 AM5/10/16
to
By using ./checksetup.pl --reset-password=x...@xyz.xom, I was able to get into my bugzilla.

Still why bugzilla's 'Forgot Password' does not work, is unsolved mystery.

Anyway, thank you for your help.
0 new messages