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@xxxxxxxx ) 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@xxxxxxxx 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 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html