Re: URGENT Mailboxes.db
Really thanks to Edward Rudd. With this script I could successfully create a standard mailboxes file from the users directories, but still when creating the mailboxes.db using ctl_mboxlist -u < mailboxes, it converts just 1 record with just 1 folder inside it. I´ve tried ctl_cyrusdb -r also, but no success. Details: cyrus-sasl-2.1.10: ./configure --disable-krb4 --enable-login --enable-plain --enable-anon -- enable-digest --enable-cram with-dbpath=/rede/newmail/etc/sasldb2 cyrus-imapd-2.1.11: ./configure --disable-krb4 --disable-gssapi --enable-login --with- sasldir=/usr/lib/sasl2 --with-dbdir=/usr/local/BerkeleyDB.4.1 --with-mboxlist- db=skiplist --with-duplicate-db=db3_nosync --with-seen-db=skiplist --with-subs- db=flat --with-tls
Re: URGENT Mailboxes.db
Attached is a script (bash using sed) that should parse through the IMAP spool directory tree and create the text version of the mailboxes file.. then you have to use ctl_mboxlist to import it into the mailboxes.db file. You'll have to edit the script and change the path of where your spool directory resides... This was written expecting the hashed spool directory option off. Hope this helps.. Wander wrote: Hi, After a conversion from cyrus-imapd-1.6.24 and cyrus-sasl-1.5.27 to cyrus-imapd- 2.1.11 and cyrus-sasl-2.1.10, I´ve followed the docs and the ctl_mboxlust -u < mailboxes, converts just 1 record with just 1 folder inside it. I´m stucked with all the users stoped. Please any light? Tanks Wander ---- Wanderley O. Mendes Software Specialist [EMAIL PROTECTED] Phone: +55-12-560-8432 Fax: +55-12-560-8435 INPE/CPTEC - Cachoeira Paulista - São Paulo - Brazil ---- #!/bin/sh TAB=`echo -e \\\t` cd /var/spool/imap/user find . -type d | grep ./ | sed -e "s/\.\///" | sed -e "s/\//\./g" | sed -e "s/\([a-z]*\)\(.*\)/user\.\1\2${TAB}default${TAB}\1${TAB}lrswipcda${TAB}cyrus${TAB}lrswipcda${TAB}/" cd -
URGENT Mailboxes.db
Hi, After a conversion from cyrus-imapd-1.6.24 and cyrus-sasl-1.5.27 to cyrus-imapd- 2.1.11 and cyrus-sasl-2.1.10, I´ve followed the docs and the ctl_mboxlust -u < mailboxes, converts just 1 record with just 1 folder inside it. I´m stucked with all the users stoped. Please any light? Tanks Wander ---- Wanderley O. Mendes Software Specialist [EMAIL PROTECTED] Phone: +55-12-560-8432 Fax: +55-12-560-8435 INPE/CPTEC - Cachoeira Paulista - São Paulo - Brazil ----