The Message-ID extraction from the cover letter fails because the message generator uses 'Message-Id' while the extraction uses 'Message-ID'. formail did not care, but the extraction sed magic cares. As a consequence threading of the mails is broken.
Use 'Message-ID' consistently all over the place. Fixes: 1d659bebaf3d ("quilt/mail: Remove procmail dependency") Signed-off-by: Thomas Gleixner <t...@linutronix.de> --- quilt/mail.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/quilt/mail.in +++ b/quilt/mail.in @@ -504,7 +504,7 @@ fi introduction="$(gen_tempfile)" ( cat <<-EOF - Message-Id: <$(msgid)> + Message-ID: <$(msgid)> User-Agent: quilt/@VERSION@ Date: $(date --rfc-822) From: ${opt_from:-$opt_sender} @@ -628,7 +628,7 @@ for patch in "${patches[@]}"; do # Make pipes fail if any of their commands fail (requires bash 3): set -o pipefail - ( ( echo "Message-Id: <$(msgid)>" + ( ( echo "Message-ID: <$(msgid)>" awk ' /^$/ { exit } tolower($0) !~ /^(message-id|references|in-reply-to):/ \ _______________________________________________ Quilt-dev mailing list Quilt-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/quilt-dev