🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #265

Re: mbox format problem

#265
From: Uday Reddy
Date: Fri, 11 Feb 2011 23:41
26 lines
2541 bytes
On 2/11/2011 9:14 PM, José Manuel García-Patos wrote:

>
> So, my question is: Was there something I overlooked there, is it
> really a VM bug, or none of the above? Thanks in advance.

The VM code is in the function vm-find-leading-message-separator in the 
file vm-folder.el.  All that it looks for is "From " at the beginning of 
the line and some sequence of digits at the end of the line.  The RFC 
4155 is unfortunately very loose.  It doesn't guarantee the leading 
separator line to be a particular format.  So, VM can't assume too much 
about the format of the separator line.

It is common practice to put a ">" escape marker for any line that 
begins with "From" right after a blank line.  If you do that, then VM 
should be able to handle it fine.

Let me also suggest a simpler method to combine several single-message 
files into an mbox folder.  You can put them all into a directory, 
select all of them in a GUI and then drag-and-drop them into a new 
Thunderbird folder.  (You might need to rename the files to have a 
".eml" extension.  I am not sure.)  Then you can move the Thunderbird 
folder to somewhere else and VM will handle it fine.

Cheers,
Uday
Technical Details
Message-ID: <4D55C927.40404@cs.bham.ac.uk>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.astraweb.com!border3.a.newsrouter.astraweb.com!news.netcologne.de!newsfeed-hp3.netcologne.de!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
References: <8739nuxoil.fsf@cervantes.cervantes.es>

Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,681143edebf5735e
X-Google-NewGroupId: yes
X-Google-Attributes: gida16957f451,domainid0,public,usenet
X-Google-Language: ENGLISH,UTF8
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!news.astraweb.com!border3.a.newsrouter.astraweb.com!news.netcologne.de!newsfeed-hp3.netcologne.de!newsfeed101.telia.com!starscream.dk.telia.net!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Message-ID: <4D55C927.40404@cs.bham.ac.uk>
Date: Fri, 11 Feb 2011 23:41:27 +0000
From: Uday Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
Newsgroups: gnu.emacs.vm.bug
To: José Manuel García-Patos
 <jmgarciap@madrid.uned.es>
Subject: Re: mbox format problem
References: <8739nuxoil.fsf@cervantes.cervantes.es>
In-Reply-To: <8739nuxoil.fsf@cervantes.cervantes.es>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 29
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 92.232.137.113
X-Trace: news.sunsite.dk DXC=O@K_U\eo9aa2IM<A@7X1CmYSB=nbEKnkk71459N<J1He^H_C>[:W;BfUdS?DZIH?Ua6E]45i7E1PaiLQiXd?DWbgG[N=S<g]Z5l?>f;U[o=ZH`
X-Complaints-To: staff@sunsite.dk