Re: About upgrade and building without caldav/carddav server

2017-06-29 Thread Egoitz Aurrekoetxea

Thanks a lot mates :)


You have helped me a lot :) :)


Cheers!


El 28/6/17 a las 17:16, Hajimu UMEMOTO escribió:

Hi,


On Wed, 28 Jun 2017 16:41:48 +0200
Egoitz Aurrekoetxea  said:

egoitz> Yes I'll build Cyrus IMAP as we run FreeBSD.

The cyrus-imapd30 ports has HTTP option but off by default.  So, the
cyrus-imapd30 package is built without caldav/carddav server.

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  u...@freebsd.org
http://www.mahoroba.org/~ume/



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

Re: About upgrade and building without caldav/carddav server

2017-06-28 Thread Hajimu UMEMOTO
Hi,

> On Wed, 28 Jun 2017 16:41:48 +0200
> Egoitz Aurrekoetxea  said:

egoitz> Yes I'll build Cyrus IMAP as we run FreeBSD.

The cyrus-imapd30 ports has HTTP option but off by default.  So, the
cyrus-imapd30 package is built without caldav/carddav server.

Sincerely,

--
Hajimu UMEMOTO
u...@mahoroba.org  u...@freebsd.org
http://www.mahoroba.org/~ume/

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


Re: About upgrade and building without caldav/carddav server

2017-06-28 Thread Egoitz Aurrekoetxea

Thanks a lot Nic!!!


Yes I'll build Cyrus IMAP as we run FreeBSD. Extremely helpful too your 
notes mate :) :) I just hoped to know if it was possible :) and you have 
give notes of incredibly huge useful


info...


Thanks a lot mates... I can say the same... please ask me if you needed 
whatever it can be and if I know, please ask it and I'll be totally 
pleasant of answering :) :) :)



Have fun mates :) :)

El 28/6/17 a las 2:36, Nic Bernstein escribió:

Egoitz,
Some important notes on this upgrade.  Firstly, I have followed this 
path for a client, and it does work.  Secondly, you should read not 
just the Upgrade document to which Nicola has linked (below) but also 
read the release notes for all intermediary versions.


You can find those here:
https://www.cyrusimap.org/imap/download/release-notes/index.html

It's always best practice to read intermediary release notes, as 
changes made in one version (i.e. 2.4.0) may not be mentioned in a 
later version's release notes.


For example, the release notes for 2.4.0 contain this note:

  * All databases are now default skiplist, and ctl_cyrusdb will
automatically convert database type on startup.

That's a really good thing, but if you previously set your database 
types to something other than the default, then they will not be 
converted (maybe you didn't do so, but your packages may have).  As 
the Upgrade document notes, in that case you should convert your DB 
formats to a default /before/ you copy them to the new server, using 
cvt_cyrusdb (for example):


cvt_cyrusdb //mailboxes.db berkeley /tmp/new-mailboxes.db skiplist

Another big note is that with 3.0.X, the Squat full-text indexing 
engine may be replaced with Xapian.  Check your packaging or build for 
that.  If it is, you'll need to rebuild your indexes before people can 
use them.


Similarly, the main Cyrus index scheme has changed between 2.3 and 
2.4, and then again with 2.5 and 3.0.  You can upgrade from 2.3 to 
3.0, and it does so very nicely, but while a 3.0 server can read the 
older index formats, you won't get the best behavior or performance.  
Run the command 'reconstruct -V max' either just like that (upgrade 
all mailbox's indices) or within a script which walks through your 
user list.


Lastly, please get yourself logged in to #cyrus on IRC so you can get 
support while you're working.  Try a dry run with just a couple of 
users or mailboxes, to see what you might face, and don't be afraid to 
ask for help.  I've been working with Cyrus for twenty years, and I 
still ask for help all the time (just ask the folks on this list!). :-)


Cheers,
-nic

On 06/27/2017 06:36 PM, Nicola Nye wrote:




By the way, when upgrading from a 2.3.1X server... can you directly 
install a 3.0 in the server and should it work?. Is it recommended 
to perhaps go thought the 2.5 version, reconvert


databases to suit it's needs (the 2.5 needs) and later pass to 3.0?.



I have no experience with upgrading from 2.3 to 3.0, so can't help 
you with that.


When writing the Upgrade documentation 
(https://www.cyrusimap.org/imap/download/upgrade.html) we did discuss 
whether you had to go through intermediate versions on the way to 
3.0, and the answer is a 'no'! You should be able to go from 2.3 to 
3.0 in one hit.


As always, make sure you have backups of your data before you begin 
the upgrade.


Let us know how it goes!

Nicola




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


--
Nic bernstein...@onlight.com
Onlight Inc.www.onlight.com
6525 W Bluemound Rd., Ste 24  v. 414.272.4477
Milwaukee, Wisconsin  53213-4073  f. 414.290.0335



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

Re: About upgrade and building without caldav/carddav server

2017-06-28 Thread Egoitz Aurrekoetxea

Thanks a lot Nicola!!!


Very useful information


El 28/6/17 a las 1:36, Nicola Nye escribió:




By the way, when upgrading from a 2.3.1X server... can you directly 
install a 3.0 in the server and should it work?. Is it recommended 
to perhaps go thought the 2.5 version, reconvert


databases to suit it's needs (the 2.5 needs) and later pass to 3.0?.



I have no experience with upgrading from 2.3 to 3.0, so can't help 
you with that.


When writing the Upgrade documentation 
(https://www.cyrusimap.org/imap/download/upgrade.html) we did discuss 
whether you had to go through intermediate versions on the way to 3.0, 
and the answer is a 'no'! You should be able to go from 2.3 to 3.0 in 
one hit.


As always, make sure you have backups of your data before you begin 
the upgrade.


Let us know how it goes!

Nicola




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



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

Re: About upgrade and building without caldav/carddav server

2017-06-28 Thread Egoitz Aurrekoetxea

Thanks a lot for all Robert!!


El 27/6/17 a las 10:44, Robert Stepanek escribió:

Hi,

On Fri, Jun 23, 2017, at 14:57, Egoitz Aurrekoetxea wrote:


Is it possible to build Cyrus IMAP 3.0 without Caldav/Carddav 
server?. I say this because we have been using Davical from some time 
now, have all development and all done for it. Can it be build 
without it?.




Caldav/Carddav is only built into Cyrus if you pass the --enable-http 
flag to the configure script. Even if HTTP support is built in, Cyrus 
won't claim any HTTP/HTTPS standard port, as long as the 'http' 
service is not enabled in the SERVICES section of cyrus.conf (note 
that '#' character at the start of the line):


# httpcmd="httpd" listen="http" prefork=0

If you want to use some of Cyrus HTTP services on a non-standard port, 
change the 'listen' parameter to whatever port you prefer. Make sure 
the HTTP services you want from Cyrus are enabled in the 'httpmodules' 
parameter in imapd.conf.


By the way, when upgrading from a 2.3.1X server... can you directly 
install a 3.0 in the server and should it work?. Is it recommended to 
perhaps go thought the 2.5 version, reconvert


databases to suit it's needs (the 2.5 needs) and later pass to 3.0?.



I have no experience with upgrading from 2.3 to 3.0, so can't help you 
with that.


Cheers,
Robert



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



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

Re: About upgrade and building without caldav/carddav server

2017-06-27 Thread Nic Bernstein

Egoitz,
Some important notes on this upgrade.  Firstly, I have followed this 
path for a client, and it does work.  Secondly, you should read not just 
the Upgrade document to which Nicola has linked (below) but also read 
the release notes for all intermediary versions.


You can find those here:
https://www.cyrusimap.org/imap/download/release-notes/index.html

It's always best practice to read intermediary release notes, as changes 
made in one version (i.e. 2.4.0) may not be mentioned in a later 
version's release notes.


For example, the release notes for 2.4.0 contain this note:

 * All databases are now default skiplist, and ctl_cyrusdb will
   automatically convert database type on startup.

That's a really good thing, but if you previously set your database 
types to something other than the default, then they will not be 
converted (maybe you didn't do so, but your packages may have).  As the 
Upgrade document notes, in that case you should convert your DB formats 
to a default /before/ you copy them to the new server, using cvt_cyrusdb 
(for example):


   cvt_cyrusdb //mailboxes.db berkeley /tmp/new-mailboxes.db skiplist

Another big note is that with 3.0.X, the Squat full-text indexing engine 
may be replaced with Xapian.  Check your packaging or build for that.  
If it is, you'll need to rebuild your indexes before people can use them.


Similarly, the main Cyrus index scheme has changed between 2.3 and 2.4, 
and then again with 2.5 and 3.0.  You can upgrade from 2.3 to 3.0, and 
it does so very nicely, but while a 3.0 server can read the older index 
formats, you won't get the best behavior or performance.  Run the 
command 'reconstruct -V max' either just like that (upgrade all 
mailbox's indices) or within a script which walks through your user list.


Lastly, please get yourself logged in to #cyrus on IRC so you can get 
support while you're working.  Try a dry run with just a couple of users 
or mailboxes, to see what you might face, and don't be afraid to ask for 
help.  I've been working with Cyrus for twenty years, and I still ask 
for help all the time (just ask the folks on this list!). :-)


Cheers,
-nic

On 06/27/2017 06:36 PM, Nicola Nye wrote:




By the way, when upgrading from a 2.3.1X server... can you directly 
install a 3.0 in the server and should it work?. Is it recommended 
to perhaps go thought the 2.5 version, reconvert


databases to suit it's needs (the 2.5 needs) and later pass to 3.0?.



I have no experience with upgrading from 2.3 to 3.0, so can't help 
you with that.


When writing the Upgrade documentation 
(https://www.cyrusimap.org/imap/download/upgrade.html) we did discuss 
whether you had to go through intermediate versions on the way to 3.0, 
and the answer is a 'no'! You should be able to go from 2.3 to 3.0 in 
one hit.


As always, make sure you have backups of your data before you begin 
the upgrade.


Let us know how it goes!

Nicola




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


--
Nic Bernstein n...@onlight.com
Onlight Inc.  www.onlight.com
6525 W Bluemound Rd., Ste 24  v. 414.272.4477
Milwaukee, Wisconsin  53213-4073  f. 414.290.0335


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

Re: About upgrade and building without caldav/carddav server

2017-06-27 Thread Nicola Nye

> 
>> By the way, when upgrading from a 2.3.1X server... can you directly
>> install a 3.0 in the server and should it work?. Is it recommended to
>> perhaps go thought the 2.5 version, reconvert>> databases to suit it's needs 
>> (the 2.5 needs) and later pass to 3.0?.> 
> I have no experience with upgrading from 2.3 to 3.0, so can't help you
> with that.
When writing the Upgrade documentation
(https://www.cyrusimap.org/imap/download/upgrade.html) we did discuss
whether you had to go through intermediate versions on the way to
3.0, and the answer is a 'no'! You should be able to go from 2.3 to
3.0 in one hit.
As always, make sure you have backups of your data before you begin
the upgrade.
Let us know how it goes!

Nicola


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

Re: About upgrade and building without caldav/carddav server

2017-06-27 Thread Robert Stepanek
Hi,

On Fri, Jun 23, 2017, at 14:57, Egoitz Aurrekoetxea wrote:
> Is it possible to build Cyrus IMAP 3.0 without Caldav/Carddav server?.
> I say this because we have been using Davical from some time now, have
> all development and all done for it. Can it be build without it?.
Caldav/Carddav is only built into Cyrus if you pass the --enable-http
flag to the configure script. Even if HTTP support is built in, Cyrus
won't claim any HTTP/HTTPS standard port, as long as the 'http' service
is not enabled in the SERVICES section of cyrus.conf (note that '#'
character at the start of the line):
# httpcmd="httpd" listen="http" prefork=0

If you want to use some of Cyrus HTTP services on a non-standard port,
change the 'listen' parameter to whatever port you prefer. Make sure the
HTTP services you want from Cyrus are enabled in the 'httpmodules'
parameter in imapd.conf.
> By the way, when upgrading from a 2.3.1X server... can you directly
> install a 3.0 in the server and should it work?. Is it recommended to
> perhaps go thought the 2.5 version, reconvert> databases to suit it's needs 
> (the 2.5 needs) and later pass to 3.0?.
I have no experience with upgrading from 2.3 to 3.0, so can't help you
with that.
Cheers,
Robert

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

Re: About upgrade and building without caldav/carddav server

2017-06-27 Thread Egoitz Aurrekoetxea

Good morning!


Could anyone know :) something about it? :)


Thanks a lot mates,



El 23/6/17 a las 14:57, Egoitz Aurrekoetxea escribió:


Good morning,


Is it possible to build Cyrus IMAP 3.0 without Caldav/Carddav server?. 
I say this because we have been using Davical from some time now, have 
all development and all done for it. Can it be build


without it?. By the way, when upgrading from a 2.3.1X server... can 
you directly install a 3.0 in the server and should it work?. Is it 
recommended to perhaps go thought the 2.5 version, reconvert


databases to suit it's needs (the 2.5 needs) and later pass to 3.0?.


Thanks a lot mates,

Best regards,

--


sarenet
*Egoitz Aurrekoetxea*
Departamento de sistemas
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia)
ego...@sarenet.es 
www.sarenet.es 

Antes de imprimir este correo electrónico piense si es necesario hacerlo.



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



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