IMAPClient.pm reset by peer

Rudy Gevaert Rudy.Gevaert at UGent.be
Thu Jan 10 05:39:36 EST 2008


Hi,

I'm trying to write a script that uses the IMAPClient perl library.

When I issue e.g.
  $master->fetch("1:60","(FLAGS BODY[HEADER.FIELDS (DATE FROM 
SUBJECT)])") or die "Master Could not fetch: $@\n";

I see this (imap debug on the perl side):
Sending: 4 FETCH 1:60 (FLAGS BODY[HEADER.FIELDS (DATE FROM SUBJECT)])

Sent 62 bytes
Master Could not fetch: Error while reading data from server: Resource 
temporarily unavailable

Looking on the cyrus side I see:

* 60 FETCH (FLAGS (\Seen Old) BODY[HEADER.FIELDS (DATE FROM SUBJECT)] {102}
Subject: Unrecognized pattern!
Date: Thu, 13 Dec 2007 10:42:27 +0100
From: rudy.gevaert at ugent.be

)
4 OK Completed (0.000 sec)
 >1199961562>* BYE Connection reset by peer

Running that command via imtest works like a charm.  So I guess I must 
be doing something wrong on the perl side.

I know that isn't is a perl mailinglist, but I wouldn't know where to ask.

Thanks in advance,

Rudy

-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


More information about the Info-cyrus mailing list