cyrus on iscsi
Hi, Is someone running a cyrus instance on iscsi? And is your instance big/ heavy loaded? Thanks in advance, Rudy -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Rudy Gevaert [EMAIL PROTECTED] tel:+32 9 264 4734 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office Groep SystemenSystems group Universiteit Gent Ghent University Krijgslaan 281, gebouw S9, 9000 Gent, Belgie www.UGent.be -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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
confused about quota -f
Hi all, I had to restore a users mailbox from backup which went well. After running reconstruct on the users mailbox I did a quota -f. That fixed this particular users quota but screwed another ones, used quota was at about 1/6 of actual. After several attempts with "reconstruct" and "quota -f" on this new problem that changed nothing, I finally did a "quota -f user/username" and that fixed it. Now, the docs says: "Running quota with both the -f option and mailbox-prefix arguments is not recommended." which is why I avoided it until nothing else helped. And now I seriously wonder *why* it says so. What is the problem here? Anyone? --per 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
Re: Deleted cyrus.* files
On Thu, 21 Feb 2008, David Flegl wrote: > 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. > > I've tried this: > 1] > $cyradm --user [EMAIL PROTECTED] localhost > localhost>reconstruct -r user/bad.user > reconstruct: System I/O Error > localhost>dm user/bad.user > > 2] > localhost>sam user/[EMAIL PROTECTED] [EMAIL PROTECTED] all > setaclmailbox: [EMAIL PROTECTED]: 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. It sounds like you already fixed this, but the solution is very similar to my steps for recovering a mailbox from backups. All you need to do is create an empty cyrus.header file, then run reconstruct and quota, like so: touch cyrus.header chown cyrus:mail cyrus.header chmod 600 cyrus.header su cyrus -c '/usr/local/cyrus/bin/reconstruct -x -f user.username' su cyrus -c '/usr/local/cyrus/bin/quota -f user.username' Andy 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
Re: Abusing the sync protocol for fun and profit.
On Thu, 21 Feb 2008 09:20:34 -0600, "Dan White" <[EMAIL PROTECTED]> said: > Bron Gondwana wrote: > > Attached are three perl modules, > > > > Cyrus/SyncClient.pm > > Cyrus/ImapReplica.pm > > Mail/IMAPTalk.pm > > > > I'm including this copy of Mail::IMAPTalk because without it, the clever > > 'literal' stuff doesn't work properly. I'll prod Rob to clean it up and > > re-package it and push it to CPAN so I can depend on that version and > > have things all be happier. > > Thanks Bron, > > This works great for me. I'm able to synchronize between my old > 2.1.17 server, with a perdition proxy frontend end, to my newer > 2.3.10 server. Excellent, that's what I like to hear :) > I had a hiccup in the SyncClient.pm module during DIGEST-MD5 > authentication. > > I changed to PLAIN, using the following changes, to get it working: Wow, that wouldn't work for us at all. I did have to put -p 1 on the syncserver command line in cyrus.conf before it would let me authenticate at all, and nothing but DIGEST-MD5 worked for me. Also, Authen::SASL::Cyrus worked fine, but then the connnection was encrypted and I had to try and pipe all the IO through it as well, which I couldn't be bothered with making pipe nicely. > [diff] Thanks for that. I probably should make it try both in order or something funky like that. Maybe an "auth_digestmd5" and an "auth_plain" function which are tried in that order. Bron. -- Bron Gondwana [EMAIL PROTECTED] 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
Automated user move script
All, A while back on the list, I saw someone mention that they had created a script that runs off cron, and automatically moves users between partitions when they get close to full. I've currently got a script that will move users between partitions, but you must feed it users to move. In a effort to get this functionality working sooner, I was wondering if anyone has built something like already, and would like to share it. Otherwise, when I get some free time I will add on to my script to do this functionality. If anyone would like the script I've written already, I'm glad to provide that to make your life easier. Currently, it will move a user from any partition to any partition on the same server. You can provide it a list of users (you must generate), and it will handle them easily. Please feel free to email me, and I can provide it. Thanks! David Gottschalk UTS Infrastructure Technology Services [EMAIL PROTECTED] This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). 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
Re: GUID change to SHA1
On Thu, Feb 21, 2008 at 05:11:48PM +0100, Martin Schweizer wrote: > Hello > > I use FreeBSD 6.3 and cyrus 2.3.11. Below is the manual for the change. > > Upgrading from 2.3.9 > > * The method used for generating Globally Unique IDentifiers used > for replication has been changed to be the SHA1 >hash of the messages. If you wish to upgrade the existing GUIDs > in particular mailbox(es) or the entire server, >perform the following steps in the listed order. Note that is > is NOT REQUIRED that existing GUIDs be upgraded. > 1. Zero GUIDs on the replica (reconstruct -g) > 2. Regenerate GUIDs on the master (reconstruct -G) > 3. Regenerate GUIDs on the replica (reconstruct -G) > > Which is the master and which is the replica? Server 1 or Server 2? > [...] > Server 1: > syncclient cmd="/usr/local/cyrus/bin/sync_client -r" Master > Server 2: > syncservercmd="/usr/local/cyrus/bin/sync_server" listen="csync" > prefork=0 Replica Enjoy, Bron. 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
Re: Deleted cyrus.* files
On Thu, Feb 21, 2008 at 11:26:49AM +0100, David Flegl wrote: > Hi, > > > try reconstruct from command line. > > 1. login as cyrus. > > 2. /usr/local/cyrus/bin/reconstruct -r user/bad.user > > Thank's for a reply. I've tried but no effect. Reconstruct said: > $>/usr/local/cyrus/bin/reconstruct -r user/[EMAIL PROTECTED] > domain.cz!user.bad^user: Mailbox has an invalid format > > and when I've tried this (without domain): > $>/usr/local/cyrus/bin/reconstruct -r user/bad.user > $> > Command has no response. And no log information. Try this: /usr/local/cyrus/bin/reconstruct -rf domain.cz\!user/bad.user Reconstruct uses the "internal" mailbox format, which is domain.name\!user/username rather than user/[EMAIL PROTECTED] Regards, Bron. 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
Re: virtual domain quota
On Thu, 21 Feb 2008, Milen Dimov wrote: > Hi, > > I use Cyrus IMAPd 2.3.11 with virtual domain support. Is it possible to > set per domain email quota? I don't think so... Every quota has a quota root, and where would the quota root be for the entire domain? Mailboxes like: user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] don't have a unique mailbox hierarchy that is separate from: user/[EMAIL PROTECTED] user/[EMAIL PROTECTED] Quotas are applied at a quota root and "count" all mailboxes below that quota root. I don't see where a per-domain quota can be rooted. Andy 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
virtual domain quota
Hi, I use Cyrus IMAPd 2.3.11 with virtual domain support. Is it possible to set per domain email quota? Thank you, Milen 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
GUID change to SHA1
Hello I use FreeBSD 6.3 and cyrus 2.3.11. Below is the manual for the change. Upgrading from 2.3.9 * The method used for generating Globally Unique IDentifiers used for replication has been changed to be the SHA1 hash of the messages. If you wish to upgrade the existing GUIDs in particular mailbox(es) or the entire server, perform the following steps in the listed order. Note that is is NOT REQUIRED that existing GUIDs be upgraded. 1. Zero GUIDs on the replica (reconstruct -g) 2. Regenerate GUIDs on the master (reconstruct -G) 3. Regenerate GUIDs on the replica (reconstruct -G) Which is the master and which is the replica? Server 1 or Server 2? Here are my two cyrus.conf Server 1: START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" syncclient cmd="/usr/local/cyrus/bin/sync_client -r" # this is only necessary if using idled for IMAP IDLE # idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=0 provide_uuid=1 # imaps cmd="imapd -s" listen="imaps" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 # pop3s cmd="pop3d -s" listen="pop3s" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 # syncservercmd="/usr/local/cyrus/bin/sync_server" listen="csync" # syncclient cmd="/usr/local/cyrus/bin/sync_client -r" # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=0 # nntpscmd="nntpd -s" listen="nntps" prefork=0 # at least one LMTP is required for delivery lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1 } [snip] Server 2: # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE # idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=0 provide_uuid=2 pop3 cmd="pop3d" listen="pop3" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 syncservercmd="/usr/local/cyrus/bin/sync_server" listen="csync" prefork=0 # at least one LMTP is required for delivery lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/usr/imap/var/imap/socket/lmtp" prefork=0 } [snip] Regards, -- Martin Schweizer [EMAIL PROTECTED] Tel.: +41 32 512 48 54 (VoIP) Fax: +1 619 3300587 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
Re: Abusing the sync protocol for fun and profit.
Bron Gondwana wrote: > Attached are three perl modules, > > Cyrus/SyncClient.pm > Cyrus/ImapReplica.pm > Mail/IMAPTalk.pm > > I'm including this copy of Mail::IMAPTalk because without it, the clever > 'literal' stuff doesn't work properly. I'll prod Rob to clean it up and > re-package it and push it to CPAN so I can depend on that version and > have things all be happier. Thanks Bron, This works great for me. I'm able to synchronize between my old 2.1.17 server, with a perdition proxy frontend end, to my newer 2.3.10 server. I had a hiccup in the SyncClient.pm module during DIGEST-MD5 authentication. I changed to PLAIN, using the following changes, to get it working: 42c42 < my $mech = 'DIGEST-MD5'; --- > my $mech = 'PLAIN'; 65c65 < for (1..2) { --- > for (1..1) { 69c69,72 < $io->print(MIME::Base64::encode_base64($res, '') . "\r\n"); --- > my $encoded_response = MIME::Base64::encode_base64($res, ''); > if (! $encoded_response eq '') { > $io->print($encoded_response . "\r\n"); > } - Dan White 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
Re: Deleted cyrus.* files
David Flegl wrote: > Hi, > > > try reconstruct from command line. > > 1. login as cyrus. > > 2. /usr/local/cyrus/bin/reconstruct -r user/bad.user > > Thank's for a reply. I've tried but no effect. Reconstruct said: > $>/usr/local/cyrus/bin/reconstruct -r user/[EMAIL PROTECTED] > domain.cz!user.bad^user: Mailbox has an invalid format > > and when I've tried this (without domain): > $>/usr/local/cyrus/bin/reconstruct -r user/bad.user > $> > Command has no response. And no log information. read /usr/local/cyrus/man/man8/reconstruct.8.gz and try to experiment with -p and -f. If it doesn't help, you can try to combine it with dump mboxlist, remove user account from dump, restore mboxlist (ctl_mboxlist(8)) and run reconstruct again or create user/account from cyradm. Don't forget backup user mailbox before experiments! WBR Dmitriy 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
Re: Deleted cyrus.* files
David Flegl wrote: > 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. > > I've tried this: > 1] > $cyradm --user [EMAIL PROTECTED] localhost > localhost>reconstruct -r user/bad.user > reconstruct: System I/O Error > localhost>dm user/bad.user > > 2] > localhost>sam user/[EMAIL PROTECTED] [EMAIL PROTECTED] all > setaclmailbox: [EMAIL PROTECTED]: lrswipcda: System I/O Error > > 3] > logged as cyrus user to system: > $>ctl_cyrusdb -r try reconstruct from command line. 1. login as cyrus. 2. /usr/local/cyrus/bin/reconstruct -r user/bad.user WBR. Dmitriy 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
Re: Deleted cyrus.* files
That's it!! :-) > Isn't that what 'reconstruct -f' is supposed to do? thank's a lot. This parameter helped me. First time (last night) I've tried this: $>reconstruct -rf user/[EMAIL PROTECTED] and it was not helped me. It seems because of -r parameter. But I'm not sure. NOW I'M READY. Thank you all guys. -- D.Flegl 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
Re: Deleted cyrus.* files
>> 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. Isn't that what 'reconstruct -f' is supposed to do? I just tried it out with a test mailbox and it re-created the cyrus.* files just fine. I'm using version 2.3.11. -- Toomas Aas 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
Re: Deleted cyrus.* files
--On 21 February 2008 09:02:57 +0100 David Flegl <[EMAIL PROTECTED]> wrote: > 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. > > I've tried this: > 1] > $cyradm --user [EMAIL PROTECTED] localhost > localhost>reconstruct -r user/bad.user > reconstruct: System I/O Error > localhost>dm user/bad.user "reconstruct" is not a cyradm command. It's a separate binary, which you run directly from the shell. > 2] > localhost>sam user/[EMAIL PROTECTED] [EMAIL PROTECTED] all > setaclmailbox: [EMAIL PROTECTED]: 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 [EMAIL PROTECTED] [EMAIL PROTECTED] > 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 -- Ian Eiloart IT Services, University of Sussex x3148 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
Re: Deleted cyrus.* files
Hi, > try reconstruct from command line. > 1. login as cyrus. > 2. /usr/local/cyrus/bin/reconstruct -r user/bad.user Thank's for a reply. I've tried but no effect. Reconstruct said: $>/usr/local/cyrus/bin/reconstruct -r user/[EMAIL PROTECTED] domain.cz!user.bad^user: Mailbox has an invalid format and when I've tried this (without domain): $>/usr/local/cyrus/bin/reconstruct -r user/bad.user $> Command has no response. And no log information. > > WBR. > Dmitriy > > 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 > > 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
Re: Endgame: Cyrus big install at UC Davis
On Tue, 19 Feb 2008 12:50:09 -0800, "Vincent Fox" <[EMAIL PROTECTED]> said: > So for those of you who recall back that far. > > UC Davis switched to Cyrus and as soon as fall quarter started > and students started hitting our servers hard, they collapsed. > Load would go up to what SEEMED to be (for a 32-core T2000) > a moderate value of 5+ and then performance would fall off a cliff. > People would be getting timed out, overall it was REALLY bad > here for several days, lots of pressure > > We are running Solaris10 u4 and using a ZFS pool for the mail store. Have you read this? http://blogs.sun.com/roch/entry/when_to_and_not_to I was forwarded there via: http://rlwinm.blogspot.com/2007/10/my-parity-iz-pastede-on-yay.html which I got to via a slashdot comment pointed out on a mailing list, etc, etc. Anyway, it looks quite interesting. Thankfully our only use of ZFS at the moment is the backup machine where each user's backup consists of just two files (a sqlite DB and a .tar.gz). I've already posted to this list at length about how it works (very well, thankyou very much) and the nice side effect that it detects file corruption automatically by recalculating the GUID by doing a sha1 on the file as it goes into the tar, so it can find any underlying issues in the cyrus spools. Actually, every so often I'm tempted to turn the sqlite database back into a flat file and gzip that as well - it would cost a bit more to read, but the IO would _all_ be streaming then, and we have plenty of memory. We can still just append the changes. Bron. -- Bron Gondwana [EMAIL PROTECTED] 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
Re: Deleted cyrus.* files
Hi, > 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. ^-- I've tried this with cyrus.* files from another & also new created mailbox. But it's still doesn't work. Also I've tried to copy cyrus.* from subfolder as Trash, or Sent subdirectory of the broken mailbox. This subfolders are still correct. Only inbox is broken. With web-intergface I see this subfolders correctly. > > Simon > >> I've tried this: >> 1] >> $cyradm --user [EMAIL PROTECTED] localhost >> localhost>reconstruct -r user/bad.user >> reconstruct: System I/O Error >> localhost>dm user/bad.user >> >> 2] >> localhost>sam user/[EMAIL PROTECTED] [EMAIL PROTECTED] all >> setaclmailbox: [EMAIL PROTECTED]: 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 [EMAIL PROTECTED] [EMAIL PROTECTED] >> 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 >> > > > > 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
Re: Deleted cyrus.* files
> 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 [EMAIL PROTECTED] localhost > localhost>reconstruct -r user/bad.user > reconstruct: System I/O Error > localhost>dm user/bad.user > > 2] > localhost>sam user/[EMAIL PROTECTED] [EMAIL PROTECTED] all > setaclmailbox: [EMAIL PROTECTED]: 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 [EMAIL PROTECTED] [EMAIL PROTECTED] > 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 > 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
Deleted cyrus.* files
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. I've tried this: 1] $cyradm --user [EMAIL PROTECTED] localhost localhost>reconstruct -r user/bad.user reconstruct: System I/O Error localhost>dm user/bad.user 2] localhost>sam user/[EMAIL PROTECTED] [EMAIL PROTECTED] all setaclmailbox: [EMAIL PROTECTED]: 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 [EMAIL PROTECTED] [EMAIL PROTECTED] 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