fetchmail-friends
[Top] [All Lists]

[fetchmail]Problem Report: UID List marks all messages as seen

2004-08-09 04:50:03
Hello list.

I am sorry that my first posting is a problem report but that's how it comes.

Bug Report:
When fetchlimit is set (to any number) in the first polling cycle this number of messages gets fetched and the daemon goes to sleep, Tthe UID list states correctly "=1" for the messages retreived, the rest are "=0". Next time the poll cycle is started, the UID list marks all messages in the list as seen "=1" and consequently skips all the messages on the server, retreived or not. The problem appears only "in daemon mode" after one cycle. If fetchmail is stopped and restarted instead of awakened, the problem does not appear but fetchmail retrieves n messages at a time as intended.

my fetchmailrc:

### global options
set logfile /var/log/fetchmail.log
set syslog
set postmaster postmaster(_at_)z-webfactory(_dot_)com
set no bouncemail
#set no spambounce
set no showdots
set invisible

defaults
protocol pop3 no dns no checkalias

poll pop.susters.at uidl
user "mylogin" pass "nothere" is "localuser" keep fetchlimit 1 mda "/usr/lib/courier/bin/maildrop"



The rest of my setup: OK, I'm following FAQ::G3 step by step:

The Problem appears under all circumstances, both OSes and Packages, and the compler listed below

1) Debian Woody & Sarge (testing)

2) gcc version 3.3.4 (Debian 1:3.3.4-3)
    also binary packages
    fetchmail_5.9.11-6.2_i386.deb  and
    fetchmail_6.2.5-9:i386.deb

3)+OK InterMail POP3 server ready.    and
    +OK Hello there. (=courier pop)

4) /usr/lib/courier/bin/maildrop

5) OPTIONS would be -f /etc/fetchmailrc -d 300 --syslog -i /var/mail/.fetchmail-UIDL-cache

6)
buildsurf:~# /etc/init.d/fetchmail debug-run
/etc/init.d/fetchmail: Initiating debug run of system-wide fetchmail service... /etc/init.d/fetchmail: script will be run in debug mode, all output to forced to /etc/init.d/fetchmail: stdout. This is not enough to debug failures that only
/etc/init.d/fetchmail: happen in daemon mode.
/etc/init.d/fetchmail: You might want to direct output to a file, and tail -f it.
/etc/init.d/fetchmail: Stopping the service...
Stopping mail retrieval agent: fetchmail.
/etc/init.d/fetchmail: exit status of service stop was: 0
/etc/init.d/fetchmail: RUNUSER is courier
/etc/init.d/fetchmail: OPTIONS would be -f /etc/fetchmailrc -d 300 --syslog -i /var/mail/.fetchmail-UIDL-cache /etc/init.d/fetchmail: Starting service in nodetach mode, hit ^C (SIGINT/intr) to finish run...
fetchmail: Old UID list from pop.susters.at: <empty>
fetchmail: Scratch list of UIDs: <empty>
fetchmail: starting fetchmail 6.2.0 daemon
fetchmail: 6.2.0 querying pop.susters.at (protocol POP3) at Mon Aug 9 13:31:11 2004: poll started
fetchmail: POP3< +OK Hello there.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Here's what I can do:
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< LOGIN-DELAY 10
fetchmail: POP3< PIPELINING
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Courier Mail Server
fetchmail: POP3< .
fetchmail: POP3> USER mylogin
fetchmail: POP3< +OK Password required.
fetchmail: POP3> PASS
fetchmail: POP3< +OK logged in.
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 47990
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 1091663532.1206_0.debisurf,S=3167
fetchmail: POP3< 2 1091733307.7740_0.debisurf,S=44078
fetchmail: POP3< .
fetchmail: 2 messages for mylogin at pop.susters.at (47990 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK POP3 clients that break here, they violate STD53.
fetchmail: POP3< 1 3255
fetchmail: POP3< 2 44735
fetchmail: POP3< .
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 3255 octets follow.
fetchmail: reading message mylogin(_at_)pop(_dot_)susters(_dot_)at:1 of 2 (3255 
octets)
fetchmail: About to rewrite Return-Path: <marketing(_at_)datenfarbe(_dot_)at>
Rewritten version is Return-Path: <marketing(_at_)datenfarbe(_dot_)at>

fetchmail: About to rewrite From: "datenfarbe rot GmbH" <marketing(_at_)datenfarbe(_dot_)at> Rewritten version is From: "datenfarbe rot GmbH" <marketing(_at_)datenfarbe(_dot_)at>

fetchmail: About to rewrite To: myaddress(_at_)mydoamin(_dot_)com
Rewritten version is To: myaddress(_at_)mydomain(_dot_)com

fetchmail: about to deliver with: /usr/lib/courier/bin/maildrop
#****************************.******************************.*********** **fetchmail: not flushed fetchmail: fetchlimit 1 reached; 1 messages left on server pop.susters.at account mylogin
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Bye-bye.
fetchmail: 6.2.0 querying pop.usters.at (protocol POP3) at Mon Aug 9 13:31:15 2004: poll completed fetchmail: New UID list from pop.susters.at: 1091663532.1206_0.debisurf,S=3167 = 1 1091733307.7740_0.debisurf,S=44078 = 0 <empty>
fetchmail: swapping UID lists
fetchmail: Query status=13 (MAXFETCH)
fetchmail: Writing fetchids file.

fetchmail: sleeping at Mon Aug  9 13:31:15 2004
fetchmail: awakened at Mon Aug  9 13:36:15 2004

fetchmail: 6.2.0 querying pop.susters.at (protocol POP3) at Mon Aug 9 13:36:15 2004: poll started
fetchmail: POP3< +OK Hello there.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Here's what I can do:
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< LOGIN-DELAY 10
fetchmail: POP3< PIPELINING
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Courier Mail Server
fetchmail: POP3< .
fetchmail: POP3> USER mylogin
fetchmail: POP3< +OK Password required.
fetchmail: POP3> PASS
fetchmail: POP3< +OK logged in.
fetchmail: selecting or re-polling default folder
fetchmail: POP3> STAT
fetchmail: POP3< +OK 2 47990
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 1091663532.1206_0.debisurf,S=3167
fetchmail: POP3< 2 1091733307.7740_0.debisurf,S=44078
fetchmail: POP3< .
fetchmail: 2 messages (2 seen) for mylogin at pop.susters.at (47990 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK POP3 clients that break here, they violate STD53.
fetchmail: POP3< 1 3255
fetchmail: POP3< 2 44735
fetchmail: POP3< .
fetchmail: skipping message mylogin(_at_)pop(_dot_)susters(_dot_)at:1 (3255 octets) not flushed fetchmail: skipping message mylogin(_at_)pop(_dot_)susters(_dot_)at:2 (44735 octets) not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Bye-bye.
fetchmail: 6.2.0 querying pop.susters.at (protocol POP3) at Mon Aug 9 13:36:19 2004: poll completed fetchmail: New UID list from pop.susters.at: 1091663532.1206_0.debisurf,S=3167 = 1 1091733307.7740_0.debisurf,S=44078 = 1 <empty>
fetchmail: swapping UID lists
fetchmail: Query status=1 (NOMAIL)
fetchmail: Writing fetchids file.
fetchmail: sleeping at Mon Aug  9 13:36:19 2004


These are two consecutive polling cycles. There were 2 messages in the remote inbox. The first cycle fetched the first, the second cycle skipped both (all for many messages).
Hope this report is comprehensive and concise enough.

michael einem



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]Problem Report: UID List marks all messages as seen, me(_at_)bauchladen(_dot_)at <=