Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-12 Thread Stefan G. Weichinger
So far I am happy with the migration ... works fine! Are there any obvious parameters to change or get rid of after such a big leap (2.2.x to 2.4.x) ? I hesitate to post all my conf-files as I have one for imapd/lmtpd/popd/timsieved/cyrus Stefan Cyrus Home Page:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Reinaldo de Carvalho
On Wed, Feb 29, 2012 at 2:25 PM, Stefan G. Weichinger li...@xunil.at wrote: Wouldn't that mean that I overwrite stuff with older files? rsync -av   without --delete, correct? Don't forget -H to keep hard links from single instance store. Else destination disk usage will increase. --

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Stefan G. Weichinger
Am 06.03.2012 15:06, schrieb Reinaldo de Carvalho: On Wed, Feb 29, 2012 at 2:25 PM, Stefan G. Weichinger li...@xunil.at wrote: Wouldn't that mean that I overwrite stuff with older files? rsync -av without --delete, correct? Don't forget -H to keep hard links from single instance

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Patrick Boutilier
On 03/06/2012 11:43 AM, Stefan G. Weichinger wrote: Am 06.03.2012 15:06, schrieb Reinaldo de Carvalho: On Wed, Feb 29, 2012 at 2:25 PM, Stefan G. Weichingerli...@xunil.at wrote: Wouldn't that mean that I overwrite stuff with older files? rsync -av without --delete, correct? Don't

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Adam Tauno Williams
On Tue, 2012-03-06 at 16:43 +0100, Stefan G. Weichinger wrote: Am 06.03.2012 15:06, schrieb Reinaldo de Carvalho: On Wed, Feb 29, 2012 at 2:25 PM, Stefan G. Weichinger li...@xunil.at wrote: Wouldn't that mean that I overwrite stuff with older files? rsync -av without --delete,

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Stefan G. Weichinger
Am 06.03.2012 16:44, schrieb Adam Tauno Williams: Yes, singeinstancestore uses hard links to keep a copy of the same message in multiple mailboxes. ah, ok so I should start over syncing completely? Or does adding -H to my commands and re-running also do the trick? Thanks, Stefan

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Stefan G. Weichinger
Am 06.03.2012 16:44, schrieb Adam Tauno Williams: On Tue, 2012-03-06 at 16:43 +0100, Stefan G. Weichinger wrote: Am 06.03.2012 15:06, schrieb Reinaldo de Carvalho: On Wed, Feb 29, 2012 at 2:25 PM, Stefan G. Weichinger li...@xunil.at wrote: Wouldn't that mean that I overwrite stuff with older

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-06 Thread Stefan G. Weichinger
Am 06.03.2012 20:01, schrieb Stefan G. Weichinger: Only issue: the SEEN-flags didn't quite come over correctly, at least for my accounts (does it correspond w/ the client?). I assume my users will have to live with it. period. System is up and users access mailboxes already, so ... As

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-05 Thread Stefan G. Weichinger
Am 02.03.2012 20:53, schrieb Stefan G. Weichinger: But: web-cyradm does not open/use cyradm somehow. Stuff is created in the DB, but there are no mailboxes created. The conf.php looks fine but there is no login to cyradm logged at all. solved. my fault. typo Cyrus Home Page:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-05 Thread Stefan G. Weichinger
Am 2012-03-01 10:49, schrieb Nikos Gatsis: A good tutorial is here: http://cynici.wordpress.com/2010/12/06/how-to-migrate-32-bit-cyrus-imapd-mailboxes-to-64-bit/ I test it and my new mailserver works fine after 10 min of migration. I am near to switching servers now, and I just tested the

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-02 Thread Stefan G. Weichinger
Am 01.03.2012 22:27, schrieb Stefan G. Weichinger: Am 2012-03-01 22:22, schrieb Stefan G. Weichinger: Just add my email-user to imapd.conf, as admin? Yeah, works! Great. Although I only get normal user-rights so far ... hmmm ... More tomorrow ... oh slowly slowly After setting a UNIX-pw

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
squatter stops working as it hits an index of a user with a trailing space in its name. seems like a typo ... within web-cyradm I don't see that user. Should I remove it with cyradm? May I simply delete its files/indexes? thx, S Cyrus Home Page: http://www.cyrusimap.org/ List

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Nikos Gatsis
On 29/2/2012 7:48 ??, Patrick Boutilier wrote: On 02/29/2012 01:25 PM, Stefan G. Weichinger wrote: Am 29.02.2012 18:06, schrieb Adam Tauno Williams: netstat --listen --tcp --numeric --program Somewhere along the line some distributions changed the SIEVE port. Solved already, thanks.

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 01.03.2012 10:49, schrieb Nikos Gatsis: A good tutorial is here: http://cynici.wordpress.com/2010/12/06/how-to-migrate-32-bit-cyrus-imapd-mailboxes-to-64-bit/ I test it and my new mailserver works fine after 10 min of migration. wow, looks promising. Cleans up things as well, correct?

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Nikos Gatsis
On 1/3/2012 11:57 πμ, Stefan G. Weichinger wrote: Am 01.03.2012 10:49, schrieb Nikos Gatsis: A good tutorial is here: http://cynici.wordpress.com/2010/12/06/how-to-migrate-32-bit-cyrus-imapd-mailboxes-to-64-bit/ I test it and my new mailserver works fine after 10 min of migration. wow, looks

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 01.03.2012 11:01, schrieb Nikos Gatsis: Yup! I migrate from fedora 8 to fedora 16, I cant recall the cyrus versions, without problem. I love cyrus, never had I problem! I saw no problems yesterday with only copying stuff over. But cleaning up things and somehow regenerating structures

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 01.03.2012 11:11, schrieb Stefan G. Weichinger: Am 01.03.2012 11:01, schrieb Nikos Gatsis: Yup! I migrate from fedora 8 to fedora 16, I cant recall the cyrus versions, without problem. I love cyrus, never had I problem! I saw no problems yesterday with only copying stuff over. But

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Nikos Gatsis
On 1/3/2012 12:50 μμ, Stefan G. Weichinger wrote: Am 01.03.2012 11:11, schrieb Stefan G. Weichinger: Am 01.03.2012 11:01, schrieb Nikos Gatsis: Yup! I migrate from fedora 8 to fedora 16, I cant recall the cyrus versions, without problem. I love cyrus, never had I problem! I saw no problems

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
more info: saslauthd -a pam ... # cat smtpd.conf mech_list: PLAIN LOGIN pwcheck_method: auxprop auxprop_plugin: sasldb log_level: 3 reset pw for the user with saslpasswd2, no change # sasldblistusers2 cy...@matrix.lichtfels.com: userPassword Mar 1 12:05:06 postler imap[28843]: starttls:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 01.03.2012 12:06, schrieb Nikos Gatsis: There is a package named cyrus-imapd-sasl something. Have you installed it? dev-libs/cyrus-sasl sure. otherwise I wouldn't have saslauthd, I assume. Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Adam Tauno Williams
On Thu, 2012-03-01 at 12:21 +0100, Stefan G. Weichinger wrote: Am 01.03.2012 12:06, schrieb Nikos Gatsis: There is a package named cyrus-imapd-sasl something. Have you installed it? dev-libs/cyrus-sasl sure. otherwise I wouldn't have saslauthd, I assume. No, there is a split. On CentOS6

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 01.03.2012 12:12, schrieb Stefan G. Weichinger: The pam.d-file imap contains only the 2 pam_mysql-lines ... I assume it has to do with the pam-file. It should somehow read sasldb as well. I am not sure which way to go with all this sasldb/saslauthd stuff. For SMTP-Auth things work, it

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Patrick Boutilier
On 03/01/2012 07:53 AM, Stefan G. Weichinger wrote: Am 01.03.2012 12:12, schrieb Stefan G. Weichinger: The pam.d-file imap contains only the 2 pam_mysql-lines ... I assume it has to do with the pam-file. It should somehow read sasldb as well. I am not sure which way to go with all this

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 2012-03-01 14:12, schrieb Patrick Boutilier: On 03/01/2012 07:53 AM, Stefan G. Weichinger wrote: Am 01.03.2012 12:12, schrieb Stefan G. Weichinger: The pam.d-file imap contains only the 2 pam_mysql-lines ... I assume it has to do with the pam-file. It should somehow read sasldb as well.

Re: Questions around moving from 2.2.12 to 2.4.12

2012-03-01 Thread Stefan G. Weichinger
Am 2012-03-01 22:22, schrieb Stefan G. Weichinger: Just add my email-user to imapd.conf, as admin? Yeah, works! Great. Although I only get normal user-rights so far ... hmmm ... More tomorrow ... Stefan Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Adam Tauno Williams
On Wed, 2012-02-29 at 11:36 +0100, Stefan G. Weichinger wrote: Hello, cyrus-imap-users (and -devs?), I subscribed to this list today because I am searching for some information around upgrading/migrating my cyrus-imap-server Unfortunately I waited very long, hopefully not too lo ... The old

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Bron Gondwana
On Wed, Feb 29, 2012, at 06:37 AM, Adam Tauno Williams wrote: My goal is to migrate things over to a newer server running gentoo linux, the maintained version of cyrus-imapd there is 2.4.12 (the older 2.2.13 from a separate gentoo-overlay didn't compile for me). Moving the mysql-DB

RE: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Manel Gimeno Zaragozá
Hello, I'm doing almost same migration, from old cyrus (2.2.12) to new version (2.4.13) and I'm using imapsync utility in Centos6 to copy all data. After some reading and attempts I have a fast sync method to copy the data from old server to new one. Regards. Manel Gimeno Zaragoza

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 12:37, schrieb Adam Tauno Williams: On Wed, 2012-02-29 at 11:36 +0100, Stefan G. Weichinger wrote: their passwords are stored encrypted (so the imapsync-approach is problematic). Why? Create a 'master account'. Just add a pam_allow sufficient prior to the pam_passdb/pam_unix

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 12:47, schrieb Bron Gondwana: Make sure you get /var/imap or wherever the DB files are stored as well, /var/spool/imap is just the emails - you want to keep the indexes! Afai understand this would mean these 3 dirs: configdirectory: /var/lib/imap partition-default:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 13:17, schrieb Stefan G. Weichinger: Am 29.02.2012 12:47, schrieb Bron Gondwana: Your biggest risk is berkeley DB files. If you are using berkeley, either convert to skiplist first, or dump and restore. sigh ... I don't even *know* if I use berkeley. addon: I assume to use

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Adam Tauno Williams
On Wed, 2012-02-29 at 13:17 +0100, Stefan G. Weichinger wrote: Am 29.02.2012 12:47, schrieb Bron Gondwana: Make sure you get /var/imap or wherever the DB files are stored as well, /var/spool/imap is just the emails - you want to keep the indexes! Afai understand this would mean these 3

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 13:38, schrieb Adam Tauno Williams: On Wed, 2012-02-29 at 13:17 +0100, Stefan G. Weichinger wrote: Am 29.02.2012 12:47, schrieb Bron Gondwana: Make sure you get /var/imap or wherever the DB files are stored as well, /var/spool/imap is just the emails - you want to keep the

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 13:53, schrieb Stefan G. Weichinger: Does it matter: new server has one subdir per character: a b c d ... while old server has: auser1 auser2 auser5 ... ? sorry for the noise, mixed up config- and datadir ... Cyrus Home Page: http://www.cyrusimap.org/

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 13:53, schrieb Stefan G. Weichinger: only *.db ? copied the db-files aside and tried to convert. unfortunately I get stuck. pls see and advise: # file *.db annotations.db: Apple QuickTime movie (modified) deliver.db: Berkeley DB (Btree, version 9, native byte-order)

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Eric Luyten
On Wed, February 29, 2012 3:22 pm, Stefan G. Weichinger wrote: Am 29.02.2012 13:53, schrieb Stefan G. Weichinger: only *.db ? copied the db-files aside and tried to convert. unfortunately I get stuck. pls see and advise: # file *.db annotations.db: Apple QuickTime movie (modified)

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 15:32, schrieb Eric Luyten: Use the absolute pathnames of the DB files. Same result: # su cyrus -c /usr/lib/cyrus/bin/cvt_cyrusdb /tmp/cytest/deliver.db berkeley /tmp/cytest/delnew.db skiplist Usage: /usr/lib/cyrus/bin/cvt_cyrusdb [-C altconfig] old db old db backend new db new

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 15:35, schrieb Stefan G. Weichinger: Am 29.02.2012 15:32, schrieb Eric Luyten: Use the absolute pathnames of the DB files. Same result: # su cyrus -c /usr/lib/cyrus/bin/cvt_cyrusdb /tmp/cytest/deliver.db berkeley /tmp/cytest/delnew.db skiplist Usage:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 15:53, schrieb Stefan G. Weichinger: If these four dbs are all I have to look at, I assume I could stop cyrus, replace deliver.db and try starting over? I am nearly there and it makes me happy! cyrus 2.4.12 runs with the slightly adapted config from the older server, it indexed

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Reinaldo de Carvalho
Migration from imap will grow used space because will ignore single instance store (hard links) and should be avoided. []'s Reinaldo Em 29/02/2012, às 08:48, Manel Gimeno Zaragozá magiz...@hotmail.com escreveu: Hello, I'm doing almost same migration, from old cyrus (2.2.12) to new

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Adam Tauno Williams
On Wed, 2012-02-29 at 16:45 +0100, Stefan G. Weichinger wrote: Am 29.02.2012 15:53, schrieb Stefan G. Weichinger: If these four dbs are all I have to look at, I assume I could stop cyrus, replace deliver.db and try starting over? I am nearly there and it makes me happy! cyrus 2.4.12 runs

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 18:06, schrieb Adam Tauno Williams: netstat --listen --tcp --numeric --program Somewhere along the line some distributions changed the SIEVE port. Solved already, thanks. missing pam.d entry. imaps[18096]: IOERROR: opening /var/imap/user_deny.db: No such file or directory

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Patrick Boutilier
On 02/29/2012 01:25 PM, Stefan G. Weichinger wrote: Am 29.02.2012 18:06, schrieb Adam Tauno Williams: netstat --listen --tcp --numeric --program Somewhere along the line some distributions changed the SIEVE port. Solved already, thanks. missing pam.d entry. imaps[18096]: IOERROR:

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 17:39, schrieb Reinaldo de Carvalho: Migration from imap will grow used space because will ignore single instance store (hard links) and should be avoided. I accept that just to get to the new hardware asap. I don't have that much data so it doesn't matter that much right now.

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 18:48, schrieb Patrick Boutilier: rsync will only sync over newer files and files that have changed. I would use --delete as you don't want mails that have been deleted on the live server to remain on the new server. Yes, sure, will do. And I would have to convert the

Re: Questions around moving from 2.2.12 to 2.4.12

2012-02-29 Thread Stefan G. Weichinger
Am 29.02.2012 20:55, schrieb Stefan G. Weichinger: Is some encryption my problem? pam_mysql package on new server has (gentoo-style) USEflags openssl sasl ssl sounds promising ... yep, that was it. way shorter than writing this mail ... ;-) Cyrus Home Page: