[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two questions on setting up an imap daemon for my home LAN



On Sat, 2002-07-06 at 14:57, Neal Lippman wrote:

> 	Understood. How to you do a full backup of your mail store? I didn't see a 
> backup type of utility in the cyrus docs, although there is a utility that 
> seems to export the database in a meta format, and another utility that can 
> import from that format. 

You can just backup using normal tar. If you ever need to restore the
backup, you'll probably have to run the reconstruct utility to rebuild
the meta databases. If you're talking about backup for archival
purposes, I would probably use some software that speaks IMAP to the
server, identifies the archival candidates, copies them from the imap
server into another location (probably in mbox format), then deletes the
message on the server. Implementation is left to the proverbial
reader...

> 	As a related question: Is there a reasonable mechanism for moving all of my 
> archived email into the cyrus message store? I was just going to try doing 
> this in KMail to see what happened...

That's the simplest way. 

But, if you know perl or another scripting language with IMAP support,
it's not hard to write a program that parses mbox and moves the messages
into an imap store using the Net::IMAP libraries. I did that in another
life, and it only took me a couple of hours.

-- 
Dave Carrigan
Seattle, WA, USA
dave@rudedog.org | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: