From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.systemreboot.net (mugam.systemreboot.net [139.59.75.54]) by localhost (mpop-1.4.5) with POP3 for ; Tue, 17 Sep 2019 09:50:12 +0530 Return-path: Envelope-to: arunisaac@systemreboot.net Delivery-date: Tue, 17 Sep 2019 02:25:24 +0530 Received: from [212.71.252.8] (helo=mira.cbaines.net) by systemreboot.net with esmtp (Exim 4.92.1) (envelope-from ) id 1i9y1s-0005pN-JU; Tue, 17 Sep 2019 02:25:24 +0530 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id B4F82173E7; Mon, 16 Sep 2019 21:55:22 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0c8ed168; Mon, 16 Sep 2019 20:55:21 +0000 (UTC) References: <87woe91zv4.fsf@cbaines.net> User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: Arun Isaac Cc: guile-email@systemreboot.net Subject: Re: [guile-email] decoding-error crash In-reply-to: Date: Mon, 16 Sep 2019 21:55:19 +0100 Message-ID: <87sgow0xmw.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Arun Isaac writes: >>> From: ludo@gnu.org (Ludovic Court=C3=A8s) > > On the other hand, I just realized that this is a non-standard Emacs > message mode parens style address described at > https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Headers.ht= ml > . guile-email aims to support these non-standard addresses. So, I think > we can relax the requirement that email headers be strictly ASCII. I'll > push a fix and let you know. Great, thanks. In terms of where this message came from, I'm using getmail [1] to recieve the messages, then using the external MTA delivery config to pass the message off to a Guile script. I was processing the messages as strings, but I'm switching to using bytevectors. I believe this issue happens with strings and bytevectors. I've checked my mailserver, and the file corresponding to the sample email provided doesn't look to have a pure ASCII from header (in the terminal, I see a ? instead of =C3=A8, so I'm not sure what's going on there). Also, you can find examples (included the provided sample) in this mbox file [2]. 1: http://pyropus.ca/software/getmail/ 2: https://lists.gnu.org/archive/mbox/guix-commits/2019-08 Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl1/9rdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcuYRAAog3OKR/Ty4iwQ5AKGzVi3c1o8t3mBmyEV72Ew3/W2oYYSUy/29nK1jVP /T7HHLuXYKzb8WI73W5xbmdXEDAuZOimhq9wtjYTU6hmxVRWR9FTt/AylEG6ZGS3 QxffroqKtKdElIBdRTgnRwhWkyvKJsOVKyCSWo/XYjuWYUMgV8/mymBsRPqau6Hf SvlBIn0NWuztCEyBK36jCPFic0Z8WVUGDeVjsGbxSdcxkVrjiLZTTD6IZKIR0xiR Oqjyv5x7a4+ZCm2r1/k1SaotRYlpGT5O1d1cV6hrMPyZa+/AN97Iii5oz60aHHwX tqycd1J4tpC9iCPrk1jTLpn01fpQ6OcV2Jk0xalr5CaH7E/u8e36wNNtcWIskFob HlAoq/0dhl5AABHDMXJouk2Edzl+T4ohTj+ku2RsG2aedB2NOjzKQeSY33TtAerS fDKk9vnQNfa5v3ueHokXbYcJ/wkvlowcg0w/+bwV16m6a4/cD8zjvEi9GH9+bqrG X4h7TzoxGu7rpsnXX7Jn7RMbUFyO1pajvVbWATdzTEtFkL6dB03SDEkwbt8+0W73 SFrbYgxjk5st56BnRTeSJEG41Mae2PEdL3VDJgLdRXL9UuriW2CB2qrrFsuJDwUp D2sr2cZSwVpW7FttPaUXGPR3r8AH/odxgNOrG0e+8OppmRJRgDY= =7NSn -----END PGP SIGNATURE----- --=-=-=--