Complete.Org: Mailing Lists: Archives: offlineimap: November 2007:
Re: OfflineIMAP for backups
Home

Re: OfflineIMAP for backups

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: offlineimap@xxxxxxxxxxxx
Subject: Re: OfflineIMAP for backups
From: Raffi Khatchadourian <khatchad@xxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Nov 2007 13:23:34 -0500

On Wed 28.Nov'07 at 19:51:29 +0100, Mika Fischer wrote:
>I would like to create a local backup of an IMAP account. While
>OfflineIMAP can sync just fine I am a bit worried that an accidental
>deletion of one or more mails in the backup might destroy the originals
>as well.
>
>I have not found a way to restrict OfflineIMAP to a one-way sync. Is
>there a way? Or is there perhaps another tool which is better suited
>for backups?

For example, you can make a user called offlineimap. Then, have the
offlineimap user own the maildir directory which should have octal
permissions 755. Then, run offlineimap using the offlineimap user. That
way, only this user is allowed to modify the contents of the maildir
directory, therefore, the sever will never be modified due to any local
changes. How does that sound?



[Prev in Thread] Current Thread [Next in Thread]