Upgrade murder cluster from 3.2 to 3.8 : No sieve scripts for shared mailboxes on 3.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have started the upgrade of my murder infrastructure and I face several problems.

Context :
- 30 backends in self made cyrus 3.2.6 (Debian packages with last patches).
           - Several frontend in cyrus 3.2
           - one mupdate in 3.2

Cyrus Imapd docs : « Generally accepted wisdom when upgrading a Murder configuration is to upgrade all your back end servers first. This can be done one at a time. Upgrade your mupdate master and front ends last. »

and

« If you're familiar with replication, and your current installation is 2.4 or newer, you can set up your existing installation to replicate data to a new 3.8 installation and failover to the new installation when you're ready. »

All backends are replicated to 3.8.1-1~bpo12 Debian package backported to Bookworm.

3 replicated backends in 3.8 version are now in production.

Last one of 3 problems :

3) In 3.8 serie (3.8.1-1~bpo12 and 3.8.3) timsieved doesn't recognize cyrus admin :

$ sieveshell --user=admin --auth=admin localhost

cyrus-backend-dev-02 cyrus/sieve[3055684]: error in actions_setuser()
cyrus-backend-dev-02 cyrus/sieve[3055684]: Falling back to using legacy cyrus-backend-dev-02 cyrus/sieve[3055684]: IOERROR: failed to create user.mailadmin.#sieve (Permission denied)

Tested with admins: admin and sieve_admins: admin

And syncserver can't sync global sieve scripts :

On the 3.2.12 source backend :
root@cyrus-backend-dev-01:~$ sieveshell --user=mailadmin --auth=mailadmin localhost
connecting to localhost
Please enter your password:
put /tmp/nospam.script nospam
quit
root@cyrus-backend-dev-01:~$ ls -l /etc/sieve/global/
total 8
-rw------- 1 cyrus mail 104 Jun 13 10:49 nospam.bc
-rw------- 1 cyrus mail  60 Jun 13 10:49 nospam.script

On the replicated backend :
cyrus-backend-dev-02 cyrus/imap[3055675]: login: cyrus-backend-dev-01.vm.u-picardie.fr [10.0.132.53] admin DIGEST-MD5 User logged in SESSIONID=<cyrus-1718268415-3055675-1-14817036882056057084> cyrus-backend-dev-02 cyrus/syncserver[3055727]: login: cyrus-backend-dev-01.vm.u-picardie.fr [10.0.132.53] admin DIGEST-MD5 User logged in cyrus-backend-dev-02 cyrus/syncserver[3055727]: Falling back to using legacy location for admin.seen cyrus-backend-dev-02 cyrus/syncserver[3055727]: Falling back to using legacy location for admin.sub cyrus-backend-dev-02 cyrus/syncserver[3055727]: Falling back to using legacy location for admin.dav

Last test with 3.2.12 source and 3.8.3 replicant.

On my 2.6 cluster these global sieve scripts are used by shared maiboxes.
On the 2.8 backends, Even once copied in /etc/global/sieve and compiled they are not used.

Maybe I should create and use #sieve folders for my shared mailboxes ? How should I do that ?

Is there a way to ask syncserver to do it ?

How should I access this script with sieveshell ?

Just tested :
localhost> cm shared-mailbox.#sieve
doesn't set the "mbtype": "f" other #sieve mailboxes have.

Sincerly,
              Jean Charles Delépine
--
Service systèmes et réseaux - DISI

Université de Picardie Jules Verne
5, rue du moulin neuf - 80000 Amiens


--
Service systèmes et réseaux - DISI

Université de Picardie Jules Verne
5, rue du moulin neuf - 80000 Amiens


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T4ad08358d78d323a-Mdb235ab9dce43928ce2caf52
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]
  Powered by Linux