need help recovering from disk crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux