Re: Update from cyrus-imapd 2.5 to 3.0
> In my "dhill" mailbox, I no longer see my folders and if I create a new > folder in that mailbox, let's say "Sent", it'll create it this way: > > [root@zappa Sent]# ls -atlr > total 20 > drwx--. 3 cyrus mail 4096 Jun 20 04:44 .. > -rw---. 1 cyrus mail 166 Jun 20 04:44 cyrus.header > -rw---. 1 cyrus mail 336 Jun 20 04:45 cyrus.annotations > drwx--. 2 cyrus mail 4096 Jun 20 04:45 . > -rw---. 1 cyrus mail 128 Jun 27 10:57 cyrus.index > [root@zappa Sent]# pwd > /var/spool/imap/s/Sent > > Instead of > /var/spool/imap/d/user/dhill/Sent ... You should check the 'fulldirhash' and 'hashimapspool' settings in imapd.conf. They influence it. Regards, Simon > Dave > > > > On 2017-06-27 12:20 PM, Jason L Tibbitts III wrote: >>> "DH" == David Hill writes: >> DH> Also, if a folder is created, it is created in >> DH> /var/spool/imap/[first_letter_of_folder]/Junk instead of >> DH> /var/spool/imap/d/user/dhill/Junk ... >> >> In your bug you indicated that things were being stored under >> /var/spool/[first letter]/ in the previous version. Here you say they >> were being stored under /var/spool/imap/first letter]/. Perhaps that's >> why my responses to you in the bugzilla ticket are so confused. >> >> Maybe it would be better if you could provide more explicit information >> in some way. Like, a directory listing or something. >> >> - J< > > > 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
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
> >> 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: Update from cyrus-imapd 2.5 to 3.0
In my "dhill" mailbox, I no longer see my folders and if I create a new folder in that mailbox, let's say "Sent", it'll create it this way: [root@zappa Sent]# ls -atlr total 20 drwx--. 3 cyrus mail 4096 Jun 20 04:44 .. -rw---. 1 cyrus mail 166 Jun 20 04:44 cyrus.header -rw---. 1 cyrus mail 336 Jun 20 04:45 cyrus.annotations drwx--. 2 cyrus mail 4096 Jun 20 04:45 . -rw---. 1 cyrus mail 128 Jun 27 10:57 cyrus.index [root@zappa Sent]# pwd /var/spool/imap/s/Sent Instead of /var/spool/imap/d/user/dhill/Sent ... Dave On 2017-06-27 12:20 PM, Jason L Tibbitts III wrote: "DH" == David Hill writes: DH> Also, if a folder is created, it is created in DH> /var/spool/imap/[first_letter_of_folder]/Junk instead of DH> /var/spool/imap/d/user/dhill/Junk ... In your bug you indicated that things were being stored under /var/spool/[first letter]/ in the previous version. Here you say they were being stored under /var/spool/imap/first letter]/. Perhaps that's why my responses to you in the bugzilla ticket are so confused. Maybe it would be better if you could provide more explicit information in some way. Like, a directory listing or something. - J< 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: Update from cyrus-imapd 2.5 to 3.0
Hello guys, I think I found the issue which was "unixhierarchysep" default setting change and the RPM update that would not warn me about that. I'm pretty sure I've tried and it didn't work but it might be a honest human mistake. Thank you very much, David Hill On 2017-06-27 12:20 PM, Jason L Tibbitts III wrote: "DH" == David Hill writes: DH> Also, if a folder is created, it is created in DH> /var/spool/imap/[first_letter_of_folder]/Junk instead of DH> /var/spool/imap/d/user/dhill/Junk ... In your bug you indicated that things were being stored under /var/spool/[first letter]/ in the previous version. Here you say they were being stored under /var/spool/imap/first letter]/. Perhaps that's why my responses to you in the bugzilla ticket are so confused. Maybe it would be better if you could provide more explicit information in some way. Like, a directory listing or something. - J< 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: Update from cyrus-imapd 2.5 to 3.0
> "DH" == David Hill writes: DH> Also, if a folder is created, it is created in DH> /var/spool/imap/[first_letter_of_folder]/Junk instead of DH> /var/spool/imap/d/user/dhill/Junk ... In your bug you indicated that things were being stored under /var/spool/[first letter]/ in the previous version. Here you say they were being stored under /var/spool/imap/first letter]/. Perhaps that's why my responses to you in the bugzilla ticket are so confused. Maybe it would be better if you could provide more explicit information in some way. Like, a directory listing or something. - J< 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
Update from cyrus-imapd 2.5 to 3.0
Hi guys, I've recently updated cyrus-imapd from 2.5 to 3.0 and for some reasons, all the INBOXes are lacking their mails and subfolders. Also, if a folder is created, it is created in /var/spool/imap/[first_letter_of_folder]/Junk instead of /var/spool/imap/d/user/dhill/Junk ... I've followed all the upgrade procedures from the website and opened a BZ with rawhide [1]. Is this a bug or am I missing something? Thank you very much, David Hill [1] https://bugzilla.redhat.com/show_bug.cgi?id=1463160 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
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