Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 1AD9E6DE014D for ; Sat, 23 Jul 2016 01:00:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.052 X-Spam-Level: X-Spam-Status: No, score=-0.052 tagged_above=-999 required=5 tests=[AWL=0.518, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rWqnhGUjk1kP for ; Sat, 23 Jul 2016 01:00:03 -0700 (PDT) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by arlo.cworth.org (Postfix) with ESMTPS id 690D36DE00C8 for ; Sat, 23 Jul 2016 01:00:03 -0700 (PDT) Received: by mail-wm0-f42.google.com with SMTP id q128so80057655wma.1 for ; Sat, 23 Jul 2016 01:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version; bh=tNMG8ZyO/Zpg07VNY/OW8sES/dcnTQiLZoxEGJWGCiM=; b=knkocRp68PyBaX8zuhOwPGe6gShHyPQvW7RmRdPRxWxhJyGiG0aPlVbLHjpsYVKQxz GTRZyklS39O+bIgdoFK7xJ0c55hA0WHOATtCG8TXcyE4qK2kZ+BRYsiyiU0PKbMd2O4h Ee1Oz65ENaFrPgLKFU+xUq2fukB8dFQKBKBrYJExSY/jwB7ko2X0Pr+svwSfMkCEAzvB 9zeXPp3Ip2j2CjN3hvu+aYJ3DP2+KZAuZyP+CqkrfDIcwPCo+KlQwMuVGUmkaOMU29hj ti65NA80xpekAKHd/Xv4/61rcc9KlEoY0GrsCi+FUDpDiabwdktP5wkAhzL5VtJPv9pY orgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=tNMG8ZyO/Zpg07VNY/OW8sES/dcnTQiLZoxEGJWGCiM=; b=TCuK0sC94vycLxWqJ+ds6VqtlffGJ9QWBP8YgyWfq4lHt7h2wtlKswU94xkXpem1Oq BX3Z0xB/VCcHVmdLx0kN2AgpQslWQGr6AltG8jAu7g+10F4kM5Doz1hw0pRv6K3rg1sx DfwxEKrmBtEei7eX4CmVc3C0OXpqjU2qW+i1RtO867tP0Jje3K4WXJlmWoFVUjszvruS +41Zb6q/2/G2anqI+g3Ju3xe79QWSfv8wQrGWZMKx5I+WWhxPFbm/HO7vff4JMobpE8t EjpqId8y3wkJ3kSFZc3Mk0T/O39S9RUESe+B4W13eA4ZxSiYH+Z3OrqO6bvwRqFrfdbF mI5Q== X-Gm-Message-State: AEkooutjdj4m9D6yza598G432jdMA+S4O6xBXR1WYIGlV2oqpkTs+nuGk3JzIEgbpPp7tA== X-Received: by 10.194.153.5 with SMTP id vc5mr5008600wjb.75.1469260800228; Sat, 23 Jul 2016 01:00:00 -0700 (PDT) Received: from localhost (94.196.250.227.threembb.co.uk. [94.196.250.227]) by smtp.gmail.com with ESMTPSA id w129sm16302784wmd.9.2016.07.23.00.59.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jul 2016 00:59:59 -0700 (PDT) From: Mark Walters To: matt@bubblegen.co.uk, notmuch@notmuchmail.org Subject: Re: Missing headers when forwarding html message as RFC822 In-Reply-To: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net> References: <5cd7f16b6435bf40b67862e29e1a516e.squirrel@webmail.plus.net> User-Agent: Notmuch/0.22+85~gc99193f (https://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Sat, 23 Jul 2016 08:59:57 +0100 Message-ID: <87k2gchjia.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2016 08:00:12 -0000 Hi I have tried several cases, including generating a message with just the two parts [ multipart/related ] [ text/html ] and forwarding that, and they all work for me. Can you provide a test message where it fails? Also what version of emacs are you running? I think all the rfc822 forwarding is handled by emacs/gnus message-mode Best wishes Mark On Fri, 22 Jul 2016, Matthew Lear wrote: > Hi, > > With notmuch built from very recent git (sha 3a45d29) it would seem that > when forwarding an HTML only message as RFC822, once received, the message > does not have any headers and notmuch-show merely displays 'Date: Thu, 01 > Jan 1970 00:00:00 +0000'. I've stripped my .emacs back to a bare minimum > configuration and the behaviour is the same. > > With a message (incidentally sent by MS Outlook) that contains the > following parts: > > [ multipart/related ] > [ text/html ] > > Once forwarded as RFC822 by notmuch and received, it is displayed by > notmuch-show as: > > [ message/rfc822 ] > Date: Thu, 01 Jan 1970 00:00:00 +0000 > > [ multipart/mixed ] > [ multipart/related ] > [ text/html ] > > While with a message that contains the following parts: > > [ multipart/mixed ] > [ text/plain ] > > Once forwarded as RFC822 by notmuch and received, it is displayed by > notmuch-show as: > > [ message/rfc822 ] > From: xxxx > Subject: xxxx > To: xxxx > Date: Fri, 15 Jul 2016 17:48:17 +0000 > > [ multipart/mixed ] > [ text/plain ] > > So the headers are missing in the first case. I'm sure this is a regression. > > Can anybody verify this? > Cheers, > -- Matt > > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch