Pardon me for reviving this thread - I'm not sure if this is the right place to put this - but I have something to report on this topic.
If your Zimbra server controls multiple domains and your users must log in using the @ portion of their e-mail address, this script does not work (They will get the error "Error: 403 permission denied: you do not have sufficient permissions").
Here's the fix:
- Remove from line 710 (the URL):
Code:
$username[0]:$password\@
- Add line 714:
Code:
$req->authorization_basic($user, $password);
which is after: Code:
my $req = HTTP::Request->new(GET => $req_string);
Enjoy.