Deleted cyrus.* files

Simon Matter simon.matter at invoca.ch
Thu Feb 21 04:18:19 EST 2008


> Hi all,
> I've a big broblem with my one mailbox. May someone help me, please?.
>
> User has got more then 3.500 messages in his mailbox and asked me to
> remove them directly without web-interface (SquirrelMail).
>
> I've unfortunattelly removed all file include cyrus.header, cyrus.index
> & cyrus.cache. And now I'm not able neither reconstruct nor delete
> mailbox.

Outch.

As a quick and dirty idea, couldn't you simply copy the cyrus.* files over
from another mailbox and then reconstruct? I think that should work.

Simon

>
> I've tried this:
> 1]
> $cyradm --user cyrusadm at domain.cz localhost
> localhost>reconstruct -r user/bad.user
> reconstruct: System I/O Error
> localhost>dm user/bad.user
>
> 2]
> localhost>sam user/bad.user at domain.cz cyrusadm at domain.cz all
> setaclmailbox: cyrusadm at domain.cz: lrswipcda: System I/O Error
>
> 3]
> logged as cyrus user to system:
> $>ctl_cyrusdb -r
>
> It's historical system FreeBSD 4.11R, cyrus-imapd-2.2.13_2,
> cyrus-sasl-2.1.22.
>
> Thank's a lot for any help.
> D.Flegl
>
>
> ---->imapd.conf dump<---
> # DOMAINS
> virtdomains: on
> defaultdomain: domain.net
>
> # DIRECTORIES
> configdirectory: /var/imap
> partition-default: /var/spool/imap
>
> # SECURITY
> admins: cyrusadm cyrusadm at domain.cz cyrusadm at domain.com
> lmtp_admins: cyruslmtp
> allowanonymouslogin: no
> allowplaintext: yes
> sasl_passwd_check: auxprop
> sasl_mech_list: plain login
>
> # OTHERS
> postmaster: postmaster
> unixhierarchysep: yes
> username_tolower: yes
> lmtp_downcase_rcpt: 1
> --->END<----
> ----
> 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
>




More information about the Info-cyrus mailing list