Lance Hoffmeyer wrote:

>I wrote a script that moves and renames folders and the beginning of each month.
>The problem is that when I print the new names out they appear as 
>
>Listserv.Info-Cyrus.2002-January 
>
>but when the program actually runs the names come out as
>
>Listserv.Info-Cyrus.2002-0
>
>as ideas?
>
This is odd.  I ran the script only one minor change (other then 
uncommenting and putting in my cyrus connection info) with cyrus 2.0.16 
and IMAP::Admin 1.6.1 and it worked just fine.

my $err = $imap->rename($listt, $listt.$date);

I changed this line to

my $err = $imap->rename($listt, $listt.".".$date);

because the first time I ran it I got

Listserv.Info-Cyrus2002-January

instead of

Listserv.Info-Cyrus.2002-January

What version of cyrus and what version of IMAP::Admin are you using?


Eric


Reply via email to