fetchmail-friends
[Top] [All Lists]

[fetchmail]fetchmail only skipping seen messages when there are no unseen ones on imap

2005-03-05 08:25:11
Hello,

fetchmail does not skip seen messages on my imap server:

fetchmail: starting fetchmail 6.2.5 daemon
fetchmail: 5 messages for m6877766-1 at imap.1und1.de.
fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:1 of 5 (1565 header octets) fetchmail: (924 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:2 of 5 (1303 header octets) fetchmail: (7 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:3 of 5 (1279 header octets) fetchmail: (2150 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:4 of 5 (1077 header octets) fetchmail: (2876 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:5 of 5 (1288 header octets) fetchmail: (7 body octets) fetchmail: not flushed
fetchmail: sleeping at Fri Mar  4 19:06:47 2005

It is strange everything works as soon as I manually remove the 'seen' flag of one or more messages using Mulberry:

fetchmail: awakened at Fri Mar  4 19:07:17 2005
fetchmail: 5 messages (4 seen) for m6877766-1 at imap.1und1.de.
fetchmail: skipping message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:1 not 
flushed
fetchmail: skipping message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:2 not 
flushed
fetchmail: skipping message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:3 not 
flushed
fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:4 of 5 (1077 header octets) fetchmail: (2876 body octets) fetchmail: not flushed
fetchmail: skipping message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:5 not 
flushed
fetchmail: sleeping at Fri Mar  4 19:07:24 2005

After the next run, when fetchmail has flagged message #4 'seen', same behavior as before:

fetchmail: awakened at Fri Mar  4 19:07:54 2005
fetchmail: 5 messages for m6877766-1 at imap.1und1.de.
fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:1 of 5 (1565 header octets) fetchmail: (924 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:2 of 5 (1303 header octets) fetchmail: (7 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:3 of 5 (1279 header octets) fetchmail: (2150 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:4 of 5 (1077 header octets) fetchmail: (2876 body octets) fetchmail: not flushed fetchmail: reading message m6877766-1(_at_)imap(_dot_)1und1(_dot_)de:5 of 5 (1288 header octets) fetchmail: (7 body octets) fetchmail: not flushed
fetchmail: sleeping at Fri Mar  4 19:08:21 2005

System:   Debian Sarge

Package:   Plain Deb

Imap-Server:

S: * OK IMAP server ready H mimap4
C: C01 CAPABILITY
S: * CAPABILITY ACL CHILDREN ID IDLE IMAP4 IMAP4rev1 LITERAL+ LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE UIDPLUS QUOTA STARTTLS AUTH=PLAIN AUTH=LOGIN
S: C01 OK CAPABILITY completed
C: A01 AUTHENTICATE PLAIN
S: +

cat /etc/fetchmailrc:

set daemon 30
set logfile /var/log/fetchmail.log
poll imap.1und1.de protocol imap
      username "abcdefg"
      password "hijklmn"
      no rewrite
      keep
      mda /usr/bin/procmail;