Sandro Tosi <[email protected]> writes:
>> reportbug(1) responds, after sending the report, with a message:
>>
>>    Bug report submitted to: "Debian Bug Tracking System" 
>> <[email protected]>
>>    Copies sent to:
>>      Debian Bug Tracking System <[email protected]>
>>      Jari Aalto <[email protected]>
>
> 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" <[email protected]>
>
> 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 <[email protected]>)        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" <[email protected]>

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:<[email protected]>
    RCPT TO:<[email protected]>
    From: Jari Aalto <[email protected]>
    To: [email protected]
    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: <[email protected]>
    X-Mailer: git-send-email 1.7.0

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

The received mail:

    Return-path: <[email protected]>
    Envelope-to: [email protected]
    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 <[email protected]>)
            id 1NrE0g-0001kk-W0
            for [email protected]; Mon, 15 Mar 2010 19:23:23 +0200
    From: Jari Aalto <[email protected]>
    To: [email protected]
    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: <[email protected]>
    X-Mailer: git-send-email 1.7.0
    X-SA-Exim-Connect-IP: 192.168.1.7
    X-SA-Exim-Mail-From: [email protected]
    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.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to