This seems to be a fairly common request so I've scratched my own itch and put up a patched version of Getmail on github that adds a configuration parameter "use_peek" to the imap and imapssl retrievers. This leaves the end user in control of whether or not to risk using body.peek against a potentially non-compliant imap server.
The patch set is trivial and based on a patch that was submitted for inclusion in the Freebsd getmail port. If an Ubuntu or Debian maintainer wanted to hoover up the patches and make them part of the official package my feelings certainly wouldn't be hurt. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/737206 Title: messages on IMAP server are marked as read after retrieving To manage notifications about this bug go to: https://bugs.launchpad.net/getmail4/+bug/737206/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs