How to migrate sieve scripts and check sieve replica

Rudy Gevaert Rudy.Gevaert at UGent.be
Sat Mar 10 05:11:55 EST 2012


Hello Manel,


Quoting "Manel Gimeno Zaragozá" <magiza83 at hotmail.com>:

>
> Hello,
>
> How can I migrate sieve scripts from my old cyrus server (2.12.12)  
> to the new cyrus server (2.4.13)?
>
> Is there any tool to find them and migrate them? or just with an  
> rsync it's enough...

I don't know with 2.12.12 but are they byte compiled?  If they are not  
byte compiled you certainly will have to compile them after you have  
done the rsync. (sievec command, IIRC)

If they are byte compiled I think it should work, otherwise you will  
have to recompile them.  The script in text format is in the sieve dir.

> On the other hand, with cyrus replica they are automatically sync to  
> replica server, but, how can I check if everything is corretly  
> replicated?

I do this with a script that downloads the scripts from the master and  
compares them with the script on the replica.



-- 
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  Rudy Gevaert                             e-mail: Rudy.Gevaert at UGent.be
  Directie ICT, Afdeling Infrastructuur
  Groep Systemen                                      tel: +32 9 264 4750
  Universiteit Gent                                   fax: +32 9 264 4994
  Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



More information about the Info-cyrus mailing list