Received: from eggs.gnu.org ([208.118.235.92]:48314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlHDR-0006Gr-8p for qemu-devel@nongnu.org; Sun, 01 Jul 2012 06:17:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SlHDP-0006vq-8n for qemu-devel@nongnu.org; Sun, 01 Jul 2012 06:17:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SlHDP-0006va-15 for qemu-devel@nongnu.org; Sun, 01 Jul 2012 06:17:15 -0400 From: Juan Quintela In-Reply-To: <4FEF3843.1000907@weilnetz.de> (Stefan Weil's message of "Sat, 30 Jun 2012 19:32:51 +0200") References: <39651e275488caec46861cb5b11ba1c7961a429c.1340910651.git.quintela@redhat.com> <4FEF3843.1000907@weilnetz.de> Date: Sun, 01 Jul 2012 12:16:49 +0200 Message-ID: <87sjdbu6pa.fsf@elfo.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] Bad mail header? Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: owasserm@redhat.com, qemu-devel@nongnu.org Stefan Weil wrote: > Am 28.06.2012 21:21, schrieb Juan Quintela: >> This would make easier to add more operations in the next patches. >> >> Signed-off-by: Juan Quintela >> --- >> savevm.c | 54 +++++++++++++++++++++++++----------------------------- >> vmstate.h | 7 +++++++ >> 2 files changed, 32 insertions(+), 29 deletions(-) >> > > > Hi Juan, Hi stefan > > this mail and the other mails from this patch series trigger > an alert in my mail filter: Just before we start, I just hate email (TM) :-(. > X-Amavis-Alert: BAD HEADER SECTION Duplicate header field: "References" I am looking, at the patches generated by "gfpm" alias just have one of each. Looking into my INBOX. You are right, I also have duplicate In-Reply-To and Reference fields. No clue if the problem is with git or mailer. If it makes any difference, this is git: (trasno *)$ rpm -qa git git-1.7.10.4-1.fc17.x86_64 > The following extract from the mail header shows that there is really > a duplication of the fields "In-Reply-To" and "References": > > From: Juan Quintela > To: qemu-devel@nongnu.org > Date: Thu, 28 Jun 2012 21:21:59 +0200 > Message-Id: > <39651e275488caec46861cb5b11ba1c7961a429c.1340910651.git.quintela@redhat.com> > In-Reply-To: > References: > In-Reply-To: > References: > X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 > X-detected-operating-system: by eggs.gnu.org: Genre and OS details not > recognized. > X-Received-From: 209.132.183.28 > Cc: owasserm@redhat.com > Subject: [Qemu-devel] [PATCH 01/12] savevm: Use a struct to pass all > handlers > > This is not a new issue, and there are lots of other mail senders which > also send mails with duplications. I noticed that recently and would like > to understand how it happens. Maybe some tool (git-send-email?) which is > used for sending mails is buggy. > > Do you remember how you created the patch mails? alias gfpm='/usr/bin/git format-patch --signoff --find-renames --thread--cover-letter alias gsend-qemu='/usr/bin/git send-email --smtp-server=smtp.corp.redhat.com --bcc=quintela@redhat.com --from="Juan Quintela " --suppress-cc=self --to=qemu-devel@nongnu.org' cd $QEMU_DIR gfpm master -o /tmp/folder/ gsend-qemu /tmp/folder/*patch I have always send the emails this way (this is why I have the alias). > Which mailer did you use? Command line, redhat server is zimbra (I think it has postfix underneath, but I would not trust my memory so much). > Do you also see the duplication in your local copy of that mail? As said, the generated file with git-format-patch, only have one header field of each, but the mail that I receive have it duplicated. > Do other users also see the duplicate lines in the full mail header? > > Or is this a bug in my MTA? I also see them, just that I don't get the warning from my mailer. Anyone has any clue? I think that the commands that I use are the "normal" way to send multi-patches series? And what is more, nobody complained in the past. > Regards, Later, Juan.