Handling Undeliverable mail messages

Brennan Ashton bashton at brennanashton.com
Sun Aug 2 07:43:20 UTC 2009


On Sat, Aug 1, 2009 at 10:35 PM, Domsch, Matt<Matt_Domsch at dell.com> wrote:
> 1) typo "Mistmatch" in the subject line of these messages:
>  Subject: Undeliverable: Fedora Account System and Bugzilla Mistmatch
>
> 2) an insane number of these messages are being sent each day.  There
>   must be a better way to handle this.
>
> -Matt
>
> ----- Forwarded message from System Administrator <postmaster at Dell.com> -----
>
> Delivered-To: admin at fedoraproject.org
> Auto-Submitted: auto-generated (failure)
> Subject: Undeliverable: Fedora Account System and Bugzilla Mistmatch
> Date: Sat, 1 Aug 2009 22:10:21 -0500
> Thread-Topic: Fedora Account System and Bugzilla Mistmatch
> From: System Administrator <postmaster at Dell.com>
> To: "Domsch, Matt" <Matt_Domsch at Dell.com>
>
> Your message
>
>  To:      bkonrath at redhat.com; bkonrath at redhat.com
>  Subject: Fedora Account System and Bugzilla Mistmatch
>  Sent:    Sat, 1 Aug 2009 22:10:07 -0500
>
> did not reach the following recipient(s):
>
> bkonrath at redhat.com on Sat, 1 Aug 2009 22:10:12 -0500
>    The e-mail account does not exist at the organization this message
> was sent to.  Check the e-mail address, or contact the recipient
> directly to find out the correct address.
>    < mx2.util.phx.redhat.com #5.1.1 SMTP; 550 5.1.1
> <bkonrath at int-mx1.corp.redhat.com>... User unknown>
>
> Reporting-MTA: dns; ausx3mps307.aus.amer.dell.com
>
> Final-Recipient: RFC822; bkonrath at redhat.com
> Action: failed
> Status: 5.1.1
> X-Supplementary-Info: < mx2.util.phx.redhat.com #5.1.1 SMTP; 550 5.1.1 <bkonrath at int-mx1.corp.redhat.com>... User unknown>
> X-Display-Name: bkonrath at redhat.com
>
> Subject: Fedora Account System and Bugzilla Mistmatch
> Date: Sat, 1 Aug 2009 22:10:07 -0500
> Thread-Topic: Fedora Account System and Bugzilla Mistmatch
> From: admin at fedoraproject.org
> To: bkonrath at redhat.com, bkonrath at redhat.com
>
>   Hello Ben Konrath,
>
>   As a Fedora packager, we grant you permissions to make changes to bugs in
>   bugzilla to all Fedora bugs.  This lets you work together with other
>   Fedora
>   developers in an easier fashion.  However, to enable this functionality,
>   we
>   need to have your bugzilla email address stored in the Fedora Account
>   System.
>   At the moment you have:
>
>       bkonrath at redhat.com
>
>   which bugzilla is telling us is not an account in bugzilla.  If you could
>   please set up an account in bugzilla with this address or change your
>   email
>   address on your Fedora Account to match an existing bugzilla account this
>   would
>   let us go forward.
>
>   Note: this message is being generated by an automated script.  You'll
>   continue
>   getting this message until the problem is resolved.  Sorry for the
>   inconvenience.
>
>   Thank you,
>   The Fedora Account System
>   admin at fedoraproject.org
>
>
> ----- End forwarded message -----
>
> --
> Matt Domsch
> Technology Strategist, Dell Office of the CTO
> linux.dell.com & www.dell.com/linux
>
> _______________________________________________
> Fedora-infrastructure-list mailing list
> Fedora-infrastructure-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
>

This might be slightly off the topic, but I think it relates to the
reported issue in the bounced email.  I have been noticing that when I
run this script:

from bugzilla import Bugzilla
from fedora.client import AccountSystem

url = 'https://bugzilla.redhat.com/xmlrpc.cgi'
fasUsername =  #replace with real values
fasPassword =  #replace with real values
bz = Bugzilla(url=url)
fas = AccountSystem(username=fasUsername,password=fasPassword)
emails = [elem['bugzilla_email'] for elem in
fas.people_by_groupname('triagers')]
triagers = []
for email in emails:
    try:
        name = triagers.append(bz._proxy.User.get({'names':[email],'include_fields':['real_name']}))
    except:
        print email + " not found"

That somehow some people have bug privileges in FAS and in there BZ
account but the two can no longer be connected.


Thanks,
Brennan Ashton




More information about the Fedora-infrastructure-list mailing list