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 -