From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3479 invoked by alias); 17 Oct 2019 14:52:16 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 3409 invoked by uid 89); 17 Oct 2019 14:52:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=encrypted, password X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 17 Oct 2019 14:52:13 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7D0C8307D976; Thu, 17 Oct 2019 14:52:12 +0000 (UTC) Received: from localhost (unused-10-15-17-196.yyz.redhat.com [10.15.17.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4FD665D6C8; Thu, 17 Oct 2019 14:52:12 +0000 (UTC) From: Sergio Durigan Junior To: Simon Marchi Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: Gerrit emails References: <83eezbdewk.fsf@gnu.org> <727b01bf-d2f3-7ebd-0515-11a4263dd74c@simark.ca> Date: Thu, 17 Oct 2019 14:52:00 -0000 In-Reply-To: <727b01bf-d2f3-7ebd-0515-11a4263dd74c@simark.ca> (Simon Marchi's message of "Thu, 17 Oct 2019 10:22:04 -0400") Message-ID: <87tv87v2zo.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00569.txt.bz2 On Thursday, October 17 2019, Simon Marchi wrote: > On 2019-10-17 3:12 a.m., Eli Zaretskii wrote: >> Gerrit-generated emails I get from the list have the addressee headers >> set as follows: >> >> From: "Christian Biesinger (Code Review)" >> To: Christian Biesinger , gdb-patches@sourceware.org >> Cc: Tom de Vries , Simon Marchi >> Reply-To: cbiesinger@google.com, simon.marchi@polymtl.ca, tdevries@suse.de, cbiesinger@google.com, gdb-patches@sourceware.org >> >> (It could be that some of these are generated by the list server, not >> by Gerrit itself.) >> >> This causes Emacs's Rmail to produce duplicate addresses in the reply >> email: >> >> To: cbiesinger@google.com, simon.marchi@polymtl.ca, tdevries@suse.de, cbiesinger@google.com, gdb-patches@sourceware.org >> Cc: cbiesinger@google.com, gdb-patches@sourceware.org, tdevries@suse.de, simon.marchi@polymtl.ca >> >> And that forces me to manually edit the email headers of the response >> before sending, which is a nuisance. >> >> Can this be fixed not to produce duplicate addresses, please? >> >> TIA > > Hi Eli, > > Ok, so the addresses are duplicated between the "To:" and the "Reply-to:" fields. I've been thinking about these messages. I don't think it is benefitial to include the email addresses of all of the parties involved in the review process in the Reply-To field. Ideally, the Reply-To would only contain gerrit's email address, so that the person can reply to gerrit, and gerrit will manage the notifications accordingly. Our instance still doesn't process emails, but that's about to change (see below). > I am not sure what a client is expected to do in that case. There seems to be some > divergence between clients, for example Thunderbird doesn't duplicate the addresses > when I hit "Reply all". Perhaps Rmail can be modified to not put an address in CC > if it sees it's already in the To field? > > I did not find any setting in Gerrit to omit the "Reply-to" field of the sent messages, > so I fear it won't be possible to change it in the immediate. I can try to look > at modifying Gerrit from source, but that will take a bit of time. > > Another annoyance on my side is that when I hit "Reply all", it includes the address > of the sender, gerrit@gnutoolchain-gerrit.osci.io. However, that domain > (gnutoolchain-gerrit.osci.io) is not configured to forward mails, so I then receive > delivery failure notices. I think we need to work on that, ideally making Gerrit receive > and process the emails. I talked to OSCI and they will provide us a mailbox that we can use for gerrit. I'm just waiting for them to set it up and give me the password. Once we have it, I will modify our configuration file to use this mailbox, and gerrit says that if receivemail is enabled, the Reply-To address is set to the same value as the "From" field. Thanks, -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/