Re: E-Mail Synchronisation

From: Rene Wagner (reenoo@gmx.de)
Date: Sat Dec 20 2003 - 22:09:29 CET


On Sat, 2003-12-20 at 21:55, Rene Wagner wrote:
> Auf dem Laptop wird fetchmail ja mit -k aufgerufen. Man sollte meinen,
> ein -F auf dem Desktop sollte die schon einmal heruntergeladenen Mails
> zuerst loeschen und nur neue herunterladen...
>
> Die Information ueber "seen messages" befinden sich aber nicht etwa auf
> dem POP3 Server, sondern fetchmail legt sie beim Aufruf mit -k in
> ~/.fetchids ab.

Ein bisschen RTFM spaeter... (fuers Archiv ;) )

Auszug aus fetchmail(1):

"...
The normal mode of fetchmail is to try to download only `new' messages,
leaving untouched (and undeleted) messages you have already read
directly on the server (or fetched with a previous fetchmail --keep).
But you may find that messages you've already read on the server are
being fetched (and deleted) even when you don't specify --all. There
are several reasons this can happen.
[...]
Under POP3, blame RFC1725. That version of the POP3 protocol specifi-
cation removed the LAST command, and some POP servers follow it (you
can verify this by invoking fetchmail -v to the mailserver and watching
the response to LAST early in the query). The fetchmail code tries to
compensate by using POP3's UID feature, storing the identifiers of mes-
sages seen in each session until the next session, in the .fetchids
file. But this doesn't track messages seen with other clients, or read
directly with a mailer on the host but not deleted afterward. A better
solution would be to switch to IMAP.
..."

Und tatsaechlich:
...
fetchmail: POP3> LAST
fetchmail: POP3< -ERR unknown command
...

Rene



This archive was generated by hypermail 2.1.7 : Sat Dec 20 2003 - 22:11:44 CET