From: Matthias A. <mat...@gm...> - 2016-12-19 18:30:53
|
Am 19.12.2016 um 02:57 schrieb Rick Harris: > Also since switching to --uidl, fetchmail no longer marks the messages > on the remote server as being read. > Is there a way to tell fetchmail to mark the messages it downloads as > read on the remote server using --uidl? Yes, there is (since 6.3.9), but it's undocumented. You can set an environment variable named FETCHMAIL_POP3_FORCE_RETR (it only needs to exist even if empty, or can have any value), which forces fetchmail to use the "RETR msgno" command, whereas with UIDL, fetchmail would normally use "TOP msgno" with a huge number of lines to list from the top. Note though that the POP3 protocol itself does not specify a notion of seen vs. unseen messages, so whatever the server does is implementation- and operator-defined as far as fetchmail is concerned. HTH. Cheers, Matthias |