fetchmail-friends
[Top] [All Lists]

[fetchmail] Fetchmail hangs

2003-05-15 08:29:49
Hi,

I'm using postfix with fetchmail (output of option -V) :
"This is fetchmail release 5.9.13+POP2+RPA+NTLM+SDPS+SSL"

And I'm using it as a deamon started by rcfetchmail
with /etc/fetchmailrc like:
#
set postmaster "postmaster" ;
set daemon 100 ;
set no bouncemail ;
set no spambounce ;
set logfile /var/log/fetchmail ;
poll SERVER1 protocol POP3 : user USER1 there with password PW1 is LUSER1 here ; poll SERVER2 protocol POP3 : user USER2 there with password PW2 is LUSER1 here ;
#

The problem is that fetchmail hangs when one of the server is not responding any more.
This appears in /var/log/fetchmail:
fetchmail: sleeping at Wed, 14 May 2003 16:58:52 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:00:38 +0200 (CEST)
fetchmail: timeout after 300 seconds waiting for server SERVER2.
fetchmail: client/server synchronization error while fetching from SERVER2
fetchmail: Query status=7 (ERROR)
fetchmail: sleeping at Wed, 14 May 2003 17:07:22 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:09:08 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:10:54 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:12:41 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:17:37 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:19:23 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:21:10 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:22:56 +0200 (CEST)
fetchmail: timeout after 300 seconds waiting for server SERVER2.
fetchmail: client/server synchronization error while fetching from SERVER2
fetchmail: Query status=7 (ERROR)
fetchmail: sleeping at Wed, 14 May 2003 17:30:01 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:31:47 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:36:42 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:38:29 +0200 (CEST)
fetchmail: timeout after 300 seconds waiting for server SERVER2.
fetchmail: client/server synchronization error while fetching from SERVER2
fetchmail: Query status=7 (ERROR)
fetchmail: sleeping at Wed, 14 May 2003 17:45:33 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:47:20 +0200 (CEST)
fetchmail: sleeping at Wed, 14 May 2003 17:49:06 +0200 (CEST)

And after some days, I noticed this and I saw 4 connections established before I used "rcfetchmailrc restart". Looking in the log, it appeared ones the day before but fetchmail could still collect mails. ( After these 3 times of timeout, I didn't see any more incoming mail in the log. So, I don't know if it was still working.) Some of the TCP connections never go down.
How can I resolve this problem ?

Regards,
Miguel

_________________________________________________________________



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] Fetchmail hangs, Miguel Vanden Daele <=