Gabriele,
In regards to Sieve Scripts, it's odd that that information is missing
from the upgrade page. Here's the restructured text from an older
version (I wrote this), 3.0.8:
* Sieve Scripts
Since defaults for options: ``unixhierarchysep:`` and
``altnamespace:`` have changed in :cyrusman:`imapd.conf(5)`, you
may very likely need to modify any sieve scripts already on your
system. Fear not, there's a tool for this task, called
:cyrusman:`translatesieve(8)`. This tool can handle situations
where either or both of these settings need change. Please consult
the man page for details.
Consider the following example, where the prior configuration was
already using ``altnamespace: on``, but was *not* using
``unixhierarchysep: on``::
# su cyrus -c "/usr/lib/cyrus/upgrade/translatesieve -a"
you are using /var/lib/imap/sieve as your sieve directory.
translating sievedir /var/lib/imap/sieve... converting separator
from '.' to '/'
not changing name space.
done
This section was removed by Ellie in 93d986b
<https://github.com/cyrusimap/cyrus-imapd/commit/93d986b430723e28148785cc29f86cd6452e9f44#diff-00019c5982b91154865f1cc989d700809cc3e9d72ffea98c9cbc318d7cf44484>
on 9 Feb. 2020. One wonders if this is no longer needed? Ellie?
I recommend checking the man page for 'translatesieve(8)'
Cheers,
-nic
On 1/2/21 3:28 AM, Gabriele Bulfon via Info wrote:
Thanks! I read the documentation.
My imapd.conf has "unixhierarchysep: 1" but it has not "fulldirhash"
nor "hashimapspool".
Do you think I can do an in place upgrade with just unixhierarchysep on?
Replicating is not an option at the moment...
Here's the entire imapd.conf:
lmtp_downcase_rcpt: 1
configdirectory: /sonicle/var/imap
partition-default: /sonicle/var/spool/imap
sievedir: /sonicle/var/sieve
admins: sonicle
sasl_pwcheck_method: saslauthd
allowplaintext: yes
sasl_mech_list: plain
tls_client_ca_file: /sonicle/ssl/certs/acme/fullchain.pem
tls_server_cert: /sonicle/ssl/certs/acme/cert.pem
tls_server_key: /sonicle/ssl/certs/acme/key.pem
altnamespace: yes
virtdomains: userid
unixhierarchysep: 1
duplicatesuppression: 0
sendmail: /sonicle/sbin/sendmail
sieve_utf8fileinto: 1
Also, the fifth section of the doc says 'Please also see "Sieve
Scripts," below.' but there's nothing about Sieve below.
What should I pay attention to for Sieve?
Gabriele
*Sonicle S.r.l. *: http://www.sonicle.com <http://www.sonicle.com/>
*Music: *http://www.gabrielebulfon.com <http://www.gabrielebulfon.com/>
*eXoplanets : *https://gabrielebulfon.bandcamp.com/album/exoplanets
<https://gabrielebulfon.bandcamp.com/album/exoplanets>
------------------------------------------------------------------------
*Da:* ellie timoney <[email protected]>
*A:* cyrus info <[email protected]>
*Data:* 30 dicembre 2020 23.14.46 CET
*Oggetto:* Re: Upgrading
Hi Gabriele,
Have you seen the upgrading documentation?
https://www.cyrusimap.org/imap/download/upgrade.html
<https://www.cyrusimap.org/imap/download/upgrade.html>
Cheers,
ellie
On Wed, 30 Dec 2020, at 7:59 PM, Gabriele Bulfon via Info wrote:
Hi, I'm starting to plan upgrade of some cyrus 2.5.11
installations to latest version 3, with the intent to user xapian.
Is there anything to be considered for such an upgrade? Will
it upgrade any db automatically without the need for a stop?
Any other consideration about xapian, considering I've been
using the buggy squatter until now.
Thanks!
Gabriele
*Sonicle S.r.l. *: http://www.sonicle.com
<http://www.sonicle.com/>
*Music: *http://www.gabrielebulfon.com
<http://www.gabrielebulfon.com/>
*eXoplanets :
*https://gabrielebulfon.bandcamp.com/album/exoplanets
<https://gabrielebulfon.bandcamp.com/album/exoplanets>
*Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions
<https://cyrus.topicbox.com/groups/info> + participants
<https://cyrus.topicbox.com/groups/info/members> + delivery options
<https://cyrus.topicbox.com/groups/info/subscription> Permalink
<https://cyrus.topicbox.com/groups/info/Tcbc0507916a2c822-Mab0e85fcf45a18ea4fa33a23>
--
Nic Bernstein [email protected]
https://www.nicbernstein.com
https://www.linkedin.com/in/nic-b-26577a178/
------------------------------------------
Cyrus: Info
Permalink:
https://cyrus.topicbox.com/groups/info/Tcbc0507916a2c822-M04b4507999e90cd6bfbb23e0
Delivery options: https://cyrus.topicbox.com/groups/info/subscription