I have a perl script that creates users in my system. One task is to create some default sieve filters for a cyrus imap server.
Since quite some time it returns the error
Code:
Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Net/Sieve.pm line 222, <STDIN> line 1.
The call that seems to cause the error is
Code:
...
$sieve = new Net::Sieve(server => $IMAP_SERVER_NAME,
user => $username,
debug => 1,
password => $password);
...
The variables $IMAP_SERVER_NAME, $username and $password are initialized and set to values. I checked this by printing them.
Can you give me hints on either how to fix this problem or find another way to create default sieve scripts automatically?
Code:
$ cat /etc/issue && uname -r
Red Hat Enterprise Linux Server release 5.10 (Tikanga)
Kernel \r on an \m
2.6.18-371.4.1.el5xen