From owner-freebsd-chat@FreeBSD.ORG Sat Apr 29 15:54:08 2006 Return-Path: X-Original-To: freebsd-chat@freebsd.org Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5D0D16A415 for ; Sat, 29 Apr 2006 15:54:08 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from mail07.powweb.com (mail07.powweb.com [66.152.97.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6251643D6D for ; Sat, 29 Apr 2006 15:54:03 +0000 (GMT) (envelope-from vvelox@vvelox.net) Received: from vixen42.vulpes (24-119-225-24.cpe.cableone.net [24.119.225.24]) by mail07.powweb.com (Postfix) with ESMTP id DC61914E16F for ; Sat, 29 Apr 2006 08:54:02 -0700 (PDT) Date: Sat, 29 Apr 2006 10:56:04 -0500 From: "Z.C.B." To: freebsd-chat@freebsd.org Message-ID: <20060429105604.6cc82966@vixen42.vulpes> In-Reply-To: <200604272227.09721.soralx@cydem.org> References: <200604270217.43493.soralx@cydem.org> <20060427184157.1e9bd094@vixen42.vulpes> <200604272227.09721.soralx@cydem.org> X-Mailer: Sylpheed-Claws 2.1.1 (GTK+ 2.8.17; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: KMail to mbox X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 15:54:11 -0000 On Thu, 27 Apr 2006 22:27:09 -0700 soralx@cydem.org wrote: > > > > Anyone got an idea how to convert KMail's ~/Mail/* to standard > > > mboxes? > > It is most likely using either MH or Maildir. I honestly suggest > > leaving it as that and forgeting about the evilness that is mbox, > > but if you want to, there are a few ports in the ports tree that > > should be useful. > > The complication is that the filthy KMail saves message flags in > some 'index' files (instead of in message headers). All I want to > do really is to convert these into any standard format, such as > mbox (what's evil about it, BTW?) for use with some normal mail > client (Sylpheed probably). Message flags? What do you mean by this? As in if it has been read or not? If that is the case, there is no actual method outside of maildir for this. In maildir a message is new if it has is in the new directory. Upon reading it should be moved to the cur directory. Sylpheed and sylpheed-claws uses MH. Mbox is fine till it starts getting large. It is easily corrupted. It requires locking and the like. More than one program can not safely access it. MH solves these a bit, but maildir fixes them completely. MH has every message in a single folder and numbered. Maildir has each one named in a manner to remove collision and uses three directories. These are tmp, cur, and new. The message is writen to tmp at first. Then it is moved to new. Upon reading it is moved to cur. You may not notice how nice maildir till you admin your first mail server. This is especially true if you have dialup customers and are using sendmail. If you are using webmail you are even more screwed with mbox.