Bom, andei falando sobre o assunto na lista porém não foi bem isto, e foi
exatamento o contrário. Conheço um script em perl que converte mbox para
mdir, acho que deve servir para seu caso. E caso não sirva, acho que com
poucas mudanças passe a servir... Procure por:

#!/usr/bin/perl -w
#
# $Id: mb2md.pl,v 1.26 2004/03/28 00:09:46 juri Exp $
#
# mb2md-3.20.pl      Converts Mbox mailboxes to Maildir format.
#
# Public domain.
#
# currently maintained by:
# Juri Haberland <[EMAIL PROTECTED]>
# initially wrote by:
# Robin Whittle
#
# This script's web abode is http://batleth.sapienti-sat.org/projects/mb2md/ .
# For a changelog see 
http://batleth.sapienti-sat.org/projects/mb2md/changelog.txt
#
# The Mbox -> Maildir inner loop is based on  qmail's script mbox2maildir, which
# was kludged by Ivan Kohler in 1997 from convertandcreate (public domain)
# by Russel Nelson.  Both these convert a single mailspool file.
#
# The qmail distribution has a maildir2mbox.c program.
#
# What is does:
# =============
#
# Reads a directory full of Mbox format mailboxes and creates a set of
# Maildir format mailboxes.  Some details of this are to suit Courier
# IMAP's naming conventions for Maildir mailboxes.
#
#   http://www.inter7.com/courierimap/
#
# This is intended to automate the conversion of the old
# /var/spool/mail/blah file - with one call of this script - and to
# convert one or more mailboxes in a specifed directory with separate
# calls with other command line arguments.

Sds,

--
Leonardo Pinto
listas#openlogic dot com br


On Thu, 2 Feb 2006 08:24:48 -0200, Faria wrote
> Pessoal,
> 
> Alguem tinha postado uma forma de converter e-mails no formato 
> Mailbox para eml, será que alguem poderia essa solução para mim ?
> 
> Att,
> 
> Rodrigo Faria Tavares
> e-mail : [EMAIL PROTECTED]
> Analista de Suporte Linux

---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a