Rajesh Saxena - 2002-06-02

I'm not familiar with perl so please excuse the newbie questions. I'm having some issues while trying to use websieve 0.61h on FreeBSD 4.6-RC2 (and 4.5-stable) with IMAP::Admin-1.6.1 and Cyrus-imapd 2.0.16

I got it up and running after reading the following posts..

But I noticed two things. First, when I create a sieve script (using websieve) it names the file 'default.script' in /var/imap/sieve/t/testuser , I have to manually create symlinks to 'default' in the user directories for the script to have any effect. I have this in my websieve.conf $defaultscript='default'; Is this a bug or known behaviour?

The second issue is that my /var/log/httpd-error.log keeps getting filled with the following entries each time I use websieve..

[Sat Jun  1 21:36:50 2002] websieve.pl: Use of uninitialized value at /usr/local/www/cgi-bin/websieve.pl
line 2400.

It says the same thing for these line numbers: 

139, 148, 224, 256, 583, 765, 1250, 1712, 1717, 2362, 2400

[Sun Jun  2 00:09:02 2002] websieve.pl: Odd number of elements in hash assignment at /usr/local/www/cgi-bin/websieve.pl line 136.

Is anyone else experiencing these problems? I haven't edited websieve.pl except for the changes mentioned in the previous post.