Wednesday, January 28, 2009

Recontructing mailbox(Cyrus-imap)

If u lost ur mails and u got a back up of it then copy back up files to mailbox directory

eg for mail directory cd /var/spool/imap/r/user/rakesh

After moving backup files to mail box

Login as root
# su - cyrus
-bash-3.2$ cd /usr/lib/cyrus-imapd/
-bash-3.2$./reconstruct -r user/rakesh*

No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST