[Reportbug-maint] Bug#573205: Fwd: Bug#573205: reportbug: Incorrect EMAIL and NAME in sent bug reports

Jari Aalto jari.aalto at cante.net
Mon Mar 15 18:03:43 UTC 2010


Sandro Tosi <morph at debian.org> writes:
>> reportbug(1) responds, after sending the report, with a message:
>>
>>    Bug report submitted to: "Debian Bug Tracking System" <submit at bugs.debian.org>
>>    Copies sent to:
>>      Debian Bug Tracking System <submit at bugs.debian.org>
>>      Jari Aalto <jari.aalto at cante.net>
>
> so reportbug correctly recognized DEBFULLNAME and EMAIL

Yes, that listing is all ok and expected.

>> But looking at the bug reports in the BTS, this is not the NAME or
>> EMAIL that was used:
>>
>>    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573197
>>
>> I'm not sure where reportbug(1) takes the values for the "From:"
>> field. In BTS it reads:
>>
>>   From: "jari" <jaalto at jondo.cante.net>
>
> are you send it thru a MTA on your machine?

Yes. Standard Exim4.

> could that it's that one replacing the sender information? can you
> test? That seems confirmed by your email headers:
>
> Received: from [192.168.1.7] (helo=jondo.cante.net)     by picasso.cante.net
>  with smtp (Exim 4.71)  (envelope-from <jaalto at jondo.cante.net>)        id
>  1Np4Eh-0002zW-QZ; Tue, 09 Mar 2010 20:32:56 +0200
> Received: by jondo.cante.net (sSMTP sendmail emulation); Tue,
>  09 Mar 2010 20:32:55 +0200
> From: "jari" <jaalto at jondo.cante.net>

The MTA doesn't rewrite the values.

Compare from outpur of "git send-email", which connects to the MTA similarly:

    [...clip...]
    OK. Log says:
    Server: smtp
    MAIL FROM:<jari.aalto at cante.net>
    RCPT TO:<jaalto at cante.net>
    From: Jari Aalto <jari.aalto at cante.net>
    To: jaalto at cante.net
    Subject: [PATCH] Change double quotes to single quotes in message. This helps selecting the text inside quotes by using mouse double-click action.
    Date: Mon, 15 Mar 2010 19:23:22 +0200
    Message-Id: <1268673802-27051-1-git-send-email-jari.aalto at cante.net>
    X-Mailer: git-send-email 1.7.0

    Result: 250 OK id=1NrE0g-0001kk-W0

The received mail:

    Return-path: <jari.aalto at cante.net>
    Envelope-to: jaalto at cante.net
    Delivery-date: Mon, 15 Mar 2010 19:34:36 +0200
    Received: from mx2.cante.net ([192.168.1.7] helo=jondo.cante.net)
            by picasso.cante.net with esmtp (Exim 4.71)
            (envelope-from <jari.aalto at cante.net>)
            id 1NrE0g-0001kk-W0
            for jaalto at cante.net; Mon, 15 Mar 2010 19:23:23 +0200
    From: Jari Aalto <jari.aalto at cante.net>
    To: jaalto at cante.net
    Subject: [PATCH] Change double quotes to single quotes in message. This helps selecting the text inside quotes by using mouse double-click action.
    Date: Mon, 15 Mar 2010 19:23:22 +0200
    Message-Id: <1268673802-27051-1-git-send-email-jari.aalto at cante.net>
    X-Mailer: git-send-email 1.7.0
    X-SA-Exim-Connect-IP: 192.168.1.7
    X-SA-Exim-Mail-From: jari.aalto at cante.net
    X-SA-Exim-Scanned: No (on picasso.cante.net); SAEximRunCond expanded to
    false

So I suspect there is somthing with reportbug(1) and MTA handshake.

Is there away to activate debug for reportbug(1)?

> are you sending your report with 'gnus' maybe?

No. reportbug(1) invokes editor "emacs". The messag is editd, saved,
editor is exited. reportbug(1) sends the email.[1]

Jari

[1] For the BTS control messages I use Gnus + TinyDebian. For reporting
bugs, I use command line reportbug(1) interface.





More information about the Reportbug-maint mailing list