offlineimap sync

Thomas Kahle tomka at gentoo.org
Tue Dec 11 19:33:47 GMT 2012


On 17:46 Mon 10 Dec 2012, Tim D wrote:
> Hello.
> 
> Given that `offlineimap' does a sync with the mailserver: in case the
> mails from my Gmail account get deleted and because that change will
> sync to my local maildir also, does that mean that I will lose all my
> emails?

Why do they 'get deleted' on the server?  Do you delete them?  Isn't the
philosophy of Gmail to never delete e-mail, but archive it and make it
searchable?  Offlineimap syncs the server and a local directory, so that
the e-mail gets deleted locally is a feature, not a bug.

> If yes, what is the solution to this? 

There is no problem to solve.

> Should I use `fetchmail' to make backups of my account periodically
> while use `offlineimap' for day-to-day use?

It seems contradictory to me that you want to both delete e-mail and
keep it, but you could of course backup the local copy of the maildir
somewhere before you delete it there or on the server.

Cheers,
Thomas

> 
> -- 
> timd
> 
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
> 
> OfflineIMAP homepage: http://software.complete.org/offlineimap

-- 
Thomas Kahle
http://dev.gentoo.org/~tomka/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20121211/c7e2f717/attachment-0001.sig>


More information about the OfflineIMAP-project mailing list