From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 03D426DE0297 for ; Sun, 19 Nov 2017 07:33:30 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.12 X-Spam-Level: X-Spam-Status: No, score=-0.12 tagged_above=-999 required=5 tests=[AWL=0.191, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, 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 OjwtZiv1Goco for ; Sun, 19 Nov 2017 07:33:29 -0800 (PST) Received: from mail-wr0-f176.google.com (mail-wr0-f176.google.com [209.85.128.176]) by arlo.cworth.org (Postfix) with ESMTPS id B6A146DE0222 for ; Sun, 19 Nov 2017 07:33:28 -0800 (PST) Received: by mail-wr0-f176.google.com with SMTP id o14so5925734wrf.9 for ; Sun, 19 Nov 2017 07:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=0HRPxe9vNiZ1I9oW/T5M3CmJytohJ0jk63mSmG13JuU=; b=FCreZxWVwXdZ6rTqhBfLjBL9Z+VYdNHl/64pTXqpwAOsPUnnI/fBHrJ75Ow4wHiFSc KyLRttkVwxmnYsqBNYz+vNq/Pt4HkhEVw4wTAqu1A4WjTBr6M7ebAG5d46Ku9ycxMzp0 s3g9l/Gs5/WInkmvD8nzy1nJVShBV2PCznwYL4DkS7lD4lW0BViWmJCj6XBa27fuazLW 3OIC5vNb+uFweEOylx7cmJ4hxrYCsuQqNnJyaDkatutiDRYD+IzStm06z5vKKAylnomR 8WSE+CGaakogLSty2tS6eWN+pUNDn1trPrYQ4RoUbjh/rfGTVuoOW/HUQIxqkC9DcnOT ex6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=0HRPxe9vNiZ1I9oW/T5M3CmJytohJ0jk63mSmG13JuU=; b=BVdvnvNdaOaKUQ1NoEvZxNAtPnGL+8VBuzIGpRG6A/ch1HcQos4Vd/GfP0O6ypL3xY /1Ucl+TeZQSjrDJZv+50lPC6xm/rMx2YelZI89Vphh68KYJcoJ2Ag9+YB5PSLLegS7hY NEc29R2zkc7NQbbLZz/9sYHQsnW6kZ7u5/lonhiTN5MKvoBHniSw+TMZ7k4C4hYgg+yX VhXx2V5rDuaDfzES/mOgjf0XpvlxILxaO2SBYb2L7cOWOOiHQLEZRXspCnd+eAt4H9Fe l0hOrvqVJSzcykQqyCR94Jz+CDLCYXY3UEKUaGwA2CodKpZF5qHqXhV6WhUYvI65RYFi Wesw== X-Gm-Message-State: AJaThX4qdjprvRypNeltco1WzFbMcgEbCz5l5PL0UeP17d8uRm997tnd rfsoGlrot1k07uNqGGa5iE4= X-Google-Smtp-Source: AGs4zMYvv1UnwdZBMm89/NKGp25zCKqfiY5jiQhtB3KApFq8nlZ2Ax3clUkibGI6Bs3TkPA1wJzDSg== X-Received: by 10.223.185.79 with SMTP id b15mr9588767wrg.58.1511105606872; Sun, 19 Nov 2017 07:33:26 -0800 (PST) Received: from nix230 (port-92-196-120-71.dynamic.qsc.de. [92.196.120.71]) by smtp.gmail.com with ESMTPSA id f132sm202805wmf.17.2017.11.19.07.33.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 Nov 2017 07:33:26 -0800 (PST) From: Kai Harries To: Gaute Hope , David Bremner , notmuch@notmuchmail.org Cc: Tomi Ollila Subject: Re: bounce/forward not working due to CR at line end In-Reply-To: <1511093997.jpdc65c7y5.astroid@strange.none> References: <87d14ri436.fsf@x230.kaiha.invalid> <877euraf0e.fsf@tethera.net> <87fu9f45e1.fsf@x230.kaiha.invalid> <877eur5i33.fsf@tesseract.cs.unb.ca> <87shdeovhb.fsf@x230.kaiha.invalid> <877eup90f0.fsf@tethera.net> <87d14g22l4.fsf@x230.kaiha.invalid> <1511093997.jpdc65c7y5.astroid@strange.none> Date: Sun, 19 Nov 2017 16:33:25 +0100 Message-ID: <87y3n2qo56.fsf@x230.kaiha.invalid> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Sun, 19 Nov 2017 15:33:30 -0000 Gaute Hope writes: > Kai Harries writes on november 17, 2017 19:16: >> I am thinking about filing a ticket against gmailier because storing the >> emails with CRLF on a *nix is at least surprising. > > Hi, > > this was actually fixed in commit 71ce2b2 where line-endings are > converted to \n if that is the OS line seperator. I am not modifying the > file in any other way, but I think the DOS bomb should hopefully be set > correctly already if on Linux [0]. > > https://github.com/gauteh/gmailieer/blob/master/lieer/local.py#L326 > > GMail API supplies the content of the message base64 encoded (the whole > message not just any MIME parts) with CRLF line endings. > > Anyway, I realized I never made a release with that commit (I just did) > so unless you were running 'master' you would have been missing out on > that. Note that messages that were already downloaded before this change will not be converted by gmailieer, but you can do that youself. All gmailieer cares about is the file names. > > [0] https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8 > > - gaute Hi, many thanks. My issue is indeed solved with the new release. Kai