General discussion on installation and configuration of SOGo

Text archives Help

Re: [SOGo] script to remove double (or more)

Chronological Thread 
  • From: Dominique < >
  • To:
  • Subject: Re: [SOGo] script to remove double (or more)
  • Date: Thu, 30 Jun 2011 09:40:11 +0200


Anyone please? The script looks promising but does not seem to be working properly for me?

Thanks for any help,


On 28/06/2011 16:38, Dominique wrote:
Hi Pascal,

Thanks for the answers.

I followed your tracks and installed CPAN. Since then I've got all my modules installed. No error anymore on that front.

I still have an 'unauthorized' error line 52 though.

I looked into your script and got lost between two variables... 'base' and 'url'. In the usage info line, it appears as '--base <base>' but in the detail it's '--url <base>'. To make it work I change the inputted command line for the '--url <base>' and that let me move a bit forward (up to line 52 in fact).

I printed all the inputted variable to verify that the program was collecting them correctly but no issue there. The error seems to be produced in this bit of code:

$d = new HTTP::DAV();

$d->credentials( -user=>$user, -pass =>$pass, -url => $url);

if (! $d->open( -url=> $url )) {
print " erreur : " . $d->message . "\n";

And since my programming skills do not include PERL - so far - I don't know how to move forward.

Thanks for the help,


On 27/06/2011 09:58, Pascal Bourdais wrote:
Le Sun, 26 Jun 2011 21:22:39 +0200,
Dominique< >
a écrit :


Great script idea, but I have a few questions:
1. what module to install in ubuntu 10.04 server to get the
data::ical::datetime module installed correctly ? No luck so far.
I'am on slackware for the scripts, so i use cpan.
I have been asked to install this on ubuntu, and i used cpan again.

2. does the url needs to be https? In my case it is a simple http, and
the script 'dies' at line 52 with an 'unauthorized' error. Since I am
using a working account, is there something else to look for ? Can the
https be change in the script for http only ?
No need to be https, and no reference to it in the script (except
Check user and password, I test with http and it's ok for me.
The module Net::SSLeay is needed for https to work.

3. what does the<# of days> refer to for the --doit variable?
Thank copy/paste :(
doit doesn't need anything else.



Archive powered by MHonArc 2.6.18.

Top of page