sync_client Sieve from 2.4.20 to 3.2.2 issue

Marco <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hello,

  I have a replication issue from Cyrus IMAP 2.4.20 to 3.2.2 about sieve 
path.

Let suppose there is a user in Cyrus IMAP 2.4.20 with

# mbpath user/[email protected]
/maildata/example.com/maildata1/domain/C/example.com/S/user/gianni^ferromagnetic

and the Sieve is in:

/var/lib/imap/sieve/domain/C/example.com/S/gianni^ferromagnetic

when the sync_client replicates the user in the Cyrus IMAP 3.2.2 I see:

$ mbpath -a user/[email protected]
Archive: 
/sysarchivio/example.com/maildata1/domain/C/example.com/H/user/gianni^ferromagnetic
Data: 
/maildata/example.com/maildata1/domain/C/example.com/H/user/gianni^ferromagnetic
Meta: 
/metamaildata/example.com/maildata1/domain/C/example.com/H/user/gianni^ferromagnetic
Sieve: /var/spool/sieve/domain/C/example.com/H/gianni.ferromagnetic

So the hash path changes. Archive, data and meta path exists really as 
expected. But

/var/spool/sieve/domain/C/example.com/H/gianni.ferromagnetic

doesn't exist.

The sync_client create instead

/var/spool/sieve/domain/C/example.com/S/gianni.ferromagnetic

The "S" is the same hash result in master server. So it seems that for 
all data but sieve the new path is honored. For Sieve the new path "C" 
is reported by mbpath, but sync_client replicates the sieve scripts 
elsewhere.

Both master and replica have

fulldirhash: 1
hashimapspool: true
unixhierarchysep: yes

and the partition names are equals.



If I try to open a sieve connection I see:

$ telnet 0 4190
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
NO Fatal error: Error initializing actions
Connection closed by foreign host.

and the syslog says:
cyrus/sieve[31393]: can't use home directories

I think this is a consequence of the above issue, uhm...


Thank you very much

Cheers
Marco
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.