From: Kai Harries <kai.harries@gmail.com>
To: Gaute Hope <eg@gaute.vetsj.com>,
David Bremner <david@tethera.net>,
notmuch@notmuchmail.org
Cc: Tomi Ollila <tomi.ollila@iki.fi>
Subject: Re: bounce/forward not working due to CR at line end
Date: Sun, 19 Nov 2017 16:33:25 +0100 [thread overview]
Message-ID: <87y3n2qo56.fsf@x230.kaiha.invalid> (raw)
In-Reply-To: <1511093997.jpdc65c7y5.astroid@strange.none>
Gaute Hope <eg@gaute.vetsj.com> 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
prev parent reply other threads:[~2017-11-19 15:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-09 20:34 bounce/forward not working due to CR at line end Kai Harries
2017-11-15 12:43 ` David Bremner
2017-11-15 21:08 ` Kai Harries
2017-11-15 21:48 ` David Bremner
2017-11-16 15:57 ` Tomi Ollila
2017-11-16 19:48 ` Kai Harries
2017-11-17 1:08 ` David Bremner
2017-11-17 18:16 ` Kai Harries
2017-11-18 15:30 ` David Bremner
2017-11-19 12:25 ` Gaute Hope
2017-11-19 15:33 ` Kai Harries [this message]
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
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y3n2qo56.fsf@x230.kaiha.invalid \
--to=kai.harries@gmail.com \
--cc=david@tethera.net \
--cc=eg@gaute.vetsj.com \
--cc=notmuch@notmuchmail.org \
--cc=tomi.ollila@iki.fi \
/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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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 read-only IMAP folder(s) and NNTP newsgroup(s).