need help recovering from disk crash

dlang at diginsite.com dlang at diginsite.com
Tue Sep 25 02:37:11 EDT 2007


I lost my OS drive on my home server, the mail partition was on a raid array 
and survived, I have some of the rest of the config info, but it looks like I 
lost the configdir contents (the directories are still there, but the files are 
missing) I may be able to recover some stuff from lost+found if I can get hints 
on what to search for.

now, to make things more interesting, the old system was running gentoo and has 
cyrus 2.3.recent on it

the new system is ubuntu with 2.2.something on it (I couldn't get a recent 
gentoo installer to run reliably on this hardware)

can I make this work or should I compile 2.3.9?

with reconstruct -m now working how can I recover the mailbox?

the good news is that I only have 3 users on the system (with about 3G of mail 
in several hundred folders betwen us) so manual fixes may be practical

the config files were saved, and are:

#cat imapd.conf |grep -v "^#" |grep "^[a-z]"
configdirectory:        /var/imap
partition-default:      /movies/imap
sievedir:               /var/imap/sieve
virtdomains:            yes
admins:                 cyrus
hashimapspool:          yes
allowanonymouslogin:    no
allowplaintext:         yes
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_mech_list: PLAIN


# cat cyrus.conf |grep -v "^ *#" |grep "[a-z]"
   recover       cmd="ctl_cyrusdb -r"
   idled         cmd="idled"
   imap          cmd="imapd" listen="imap2" prefork=0
   pop3          cmd="pop3d" listen="pop-3" prefork=0
   imaps         cmd="imapd -s" listen="imaps" prefork=0
   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
   sieve         cmd="timsieved" listen="sieve" prefork=0
   lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
   checkpoint    cmd="ctl_cyrusdb -c" period=30
   delprune      cmd="ctl_deliver -E 3" period=1440
   tlsprune      cmd="tls_prune" period=1440
root at asgard:/etc# cat cyrus.conf |grep -v "^ *#" |grep "[a-z{}]"
START {
   recover       cmd="ctl_cyrusdb -r"
   idled         cmd="idled"
}
SERVICES {
   imap          cmd="imapd" listen="imap2" prefork=0
   pop3          cmd="pop3d" listen="pop-3" prefork=0
   imaps         cmd="imapd -s" listen="imaps" prefork=0
   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
   sieve         cmd="timsieved" listen="sieve" prefork=0
   lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
}
EVENTS {
   checkpoint    cmd="ctl_cyrusdb -c" period=30
   delprune      cmd="ctl_deliver -E 3" period=1440
   tlsprune      cmd="tls_prune" period=1440
}

David Lang


More information about the Info-cyrus mailing list