From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 394020257792 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,d65b43b9517108fb X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.66.249.136 with SMTP id yu8mr2810560pac.38.1416687552018; Sat, 22 Nov 2014 12:19:12 -0800 (PST) X-BeenThere: supmua@googlegroups.com Received: by 10.140.94.209 with SMTP id g75ls1324631qge.75.gmail; Sat, 22 Nov 2014 12:19:11 -0800 (PST) X-Received: by 10.236.230.73 with SMTP id i69mr10938762yhq.27.1416687551769; Sat, 22 Nov 2014 12:19:11 -0800 (PST) Return-Path: Received: from mout.web.de (mout.web.de. [212.227.15.14]) by gmr-mx.google.com with ESMTPS id jq13si1134897pbb.1.2014.11.22.12.19.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Nov 2014 12:19:11 -0800 (PST) Received-SPF: pass (google.com: domain of ruthard.baudach@web.de designates 212.227.15.14 as permitted sender) client-ip=212.227.15.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ruthard.baudach@web.de designates 212.227.15.14 as permitted sender) smtp.mail=ruthard.baudach@web.de Received: from localhost ([94.217.198.144]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0LfEfA-1YGJHR3PYm-00orEc for ; Sat, 22 Nov 2014 21:19:09 +0100 From: Ruthard Baudach To: supmua Subject: Re: [sup] Bug in mbox.rb? In-reply-to: <1416505196-astroid-8-i6copfrsyz-3226@strange> References: <1416264666-sup-9223@ruthard-lappi> <1416387515-astroid-1-m2ak1advzy-2022@strange> <1416415410-sup-6292@ruthard-lappi> <1416505196-astroid-8-i6copfrsyz-3226@strange> Date: Fri, 21 Nov 2014 20:29:17 +0100 Message-Id: <1416597278-sup-4251@ruthard-lappi> User-Agent: Sup/0.20.0 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1416598160-901463-11047-4449-2-=" X-Provags-ID: V03:K0:Up2DGwsqgFpWp+vzNi8fveVhGOB9OJejKK6SUqrhp00NLhjj6TR +hYZQl8Xc7sG4C8T9GynXEOtMcgbu4HsnLW2IrCeosigBXCuUNFHdSsathpK5b9I750y2Q1 ffKReRkK3xO09Kw6Dwo6YTmVUui+aV4DjKhSQuP6m0T0eozMpD2sq/wbUds+98t7mWKfbct /j/n4dxVgykZ5CN9mauww== X-UI-Out-Filterresults: notjunk:1; --=-1416598160-901463-11047-4449-2-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >=3D=3D Ausz=C3=BCge aus der Nachricht von Gaute Hope vom 2014-11-20 18:= 48: > = > I am not sure this is a problem after all, as stated in qmails 'How a > message is read', message reading is stopped either at the next From > line or EOF. > = > The blank line does not play a huge role, but it is in effect added to > all messages except the last one (which is terminated by EOF anyway). You're right, as long as message reading is stopped by /From email ascdate\/ rather than /\nFrom email ascdate \n/. > = > You could do a f.puts as you suggest below in stead, but it would not > make much of a difference as far as I can see. > = > I think the mbox is valid as it is. Well, as there is no real authoritative specification, it is at least a valid sup mbox, isn't it? = > = > Now; mbox.rb does escape From lines in the body, but I cannot see how > they are un-escaped when reading. Does RMail::Parser.read unescape > these? Also, does mbox.rb skip the extra blank line or do messages get > an extra blank line after being re-read? probably not critical, but > tests should be run on this.. I used mbox for years, and never encountered any problems -- well, that's not true. sup sometimes had trouble to show messages several years old, they were still in the mbox and I can view them now after I converted the mbox to maildir (using python's mbox and maildir modules, I'm afraid). But that should be another issue, and I don't see any way nor need nor resources to address it. Let's close this issue. Regards, Ruthard --=-1416598160-901463-11047-4449-2-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUb5KQAAoJEA852hysWsbCZEIIAICNPYI3KAHhvkskKpU1Ikvc Gpr9mJV3+oPH0bfto/i71MCC6G91Abs2YXAm6rp62lwei9tRfqXZiPzV7d3xbA+f I6vyEv3bKPJlDwyFxnWeR9sTb98CBE4sE/ERGTleqZjiuDqAe7VqpnrYvhO5Cfbw mQfhsrl3iBvvwgcfMMnXsDABqyBljtSptbi5PpgftTVsuL7owUXS+8RIAmG2RTgE yu9TfcQUOt6HkIdzA6Ca75I5JfJoDgU27grNit8MkBBl8OGkCI6o8XH/nMENbz1R KhGChKQSI4G0VUVXfP9zlStQhipIBX1602Yz7zU01wmmLBG+FbeSOepSL7ktD/8= =Xf5G -----END PGP SIGNATURE----- --=-1416598160-901463-11047-4449-2-=--