Package: getmail4
Version: 4.20.0-1
Severity: wishlist

Hi there,

I would like to back up mails stored in a GMail account automatically on a regular basis, while still using said GMail accout. Since I personally don't need to preserve the folder structure and don't want copies, I just use the "All Mail" folder.

Tools like offlineimap, imapsync and such (all in Debian) can't do this, since they propagate changes back and forth. So if I move a backup mail, it would be deleted in GMail and if I delete a mail in GMail, it would delete this same mail from my backup.

I tried Fetchmail, but it utterly fails, because it only downloads unread mails or all mails over and over every time it starts, because it doesn't keep it's own database.

In fact, Getmail seems to be the only tool useful for such a job. Unfortunately, Getmail will mark all mails as read, once it runs. So if I run it at night, all mails that arrive after I switched off the mail client will be marked as read when I turn the "normal" client back on.

This could be prevented if Getmail would use the "peek" option. In this [1] discussion, the author of Getmail indicated [2], that he won't implement it, because it doesn't work properly with all IMAP servers.

Because of that, someone created a fork [3], in which Getmail uses the peek option. But only optional. The default behaviour is to act like the standard Getmail.

This is exactly how I would like Getmail to work. Have an peek available as an option.

It would also be interesting to know exactly which servers and widely used IMAP services (AOL, GMail, etc.) don't work well with the "peek" option. Maybe have a list available, or even implement it directly in Getmail, so it will tell you when it thinks that the peek option is unsafe, because it is connecting to an incompatible imap server.

thx,

Malte

[1] http://comments.gmane.org/gmane.mail.getmail.user/3899
[2] http://permalink.gmane.org/gmane.mail.getmail.user/3915
[3] https://github.com/alyandon/getmail-peek



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to