From: Andrea Arcangeli <aarcange@redhat.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: send-email garbled header with trailing doublequote in email
Date: Wed, 2 Nov 2016 23:29:01 +0100 [thread overview]
Message-ID: <20161102222901.GK4611@redhat.com> (raw)
In-Reply-To: <20161102220437.5ewzezxs2nasyouv@sigill.intra.peff.net>
On Wed, Nov 02, 2016 at 06:04:37PM -0400, Jeff King wrote:
> Nope, it looks exactly as --dry-run reports it.
My sendmail is postfix 3.1.0.
> To see exactly what is being sent out, try:
>
> -- >8 --
>
> cat >/tmp/foo <<\EOF
> #!/bin/sh
> echo "args: $*"
> sed 's/^/stdin: /'
> EOF
>
> chmod +x /tmp/foo
>
> git send-email --smtp-server=/tmp/foo --to=whatever
>
> -- 8< --
Right it's the same as --dry-run:
stdin: To: "what ever" " <.....>
There's not my hostname and not removed space. If I add more addresses
they also go in the second line with a leading space and they're not cut.
So this must be postfix then that out of the blue decided to garble it
in a strange way while parsing the input... The removal of all
whitespaces s/what ever/whatever/ especially I've no idea how it
decided to do so.
Can you reproduce with postfix as sendmail at least? If you can
reproduce also see what happens if you add another --to.
next prev parent reply other threads:[~2016-11-02 22:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-02 20:27 send-email garbled header with trailing doublequote in email Andrea Arcangeli
2016-11-02 21:11 ` Jeff King
2016-11-02 21:38 ` Andrea Arcangeli
2016-11-02 22:04 ` Jeff King
2016-11-02 22:29 ` Andrea Arcangeli [this message]
2016-11-03 14:18 ` Jeff King
2016-11-03 14:33 ` demerphq
2016-11-04 0:03 ` Andrea Arcangeli
2016-11-04 0:11 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161102222901.GK4611@redhat.com \
--to=aarcange@redhat.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).