Cyrus-Backup

2005-11-10 Thread Vladimir Dvorak
Hello all,

is there some good way how to elegantly backup cyrus mailboxes (sieve
inclusive)? My idea is to copy/rsync relevant cyrus directories to
another place.  
Does any good backup tool exist ? Or, how you backup your cyrus data ?

Thank you.

Vladimir


Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus-Backup

2005-11-10 Thread websrvr
I wrote one called mailbfr that is unix/Mac based (I'm told you can  
modify to work on most OS's with minor changes)


http://downloads.topicdesk.com/mailbfr/mailbfr.tgz

On Nov 10, 2005, at 05:24 , Vladimir Dvorak wrote:


Hello all,

is there some good way how to elegantly backup cyrus mailboxes (sieve
inclusive)? My idea is to copy/rsync relevant cyrus directories to
another place.
Does any good backup tool exist ? Or, how you backup your cyrus data ?

Thank you.

Vladimir


-- Dale

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: improving concurrency/performance (fwd)

2005-11-10 Thread Henrique de Moraes Holschuh
On Wed, 09 Nov 2005, Joshua Schmidlkofer wrote:
  Does this mean that those of us using XFS should run some testing as well?

Yes, XFS doesn't journal data in any way, AFAIK.  I don't know how one could
go about speeding up fsyncs() with it.

What I *do* know is that I don't trust spools to XFS, because anything not
fsync()'ed upon crash WILL be lost, but the metadata will likely be there
and it is a total bitch to find out what has been damaged.  You will have to
hunt the entire fs over for files containing while blocks of NULs.

-- 
  One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie. -- The Silicon Valley Tarot
  Henrique Holschuh

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus-Backup

2005-11-10 Thread Franz Skale
Hello !

Why not using rsnapshot.
I have an array used for backup with rsnapshot.
You can step back 1 hour with this elegant backup script which copies
only changed files.
The other ones are hard linked.
Or you use an backup imap server to which all your mails are delivered.


Rgds.

Franz

On Thu, 2005-11-10 at 06:16 -0500, websrvr wrote:
 I wrote one called mailbfr that is unix/Mac based (I'm told you can  
 modify to work on most OS's with minor changes)
 
 http://downloads.topicdesk.com/mailbfr/mailbfr.tgz
 
 On Nov 10, 2005, at 05:24 , Vladimir Dvorak wrote:
 
  Hello all,
 
  is there some good way how to elegantly backup cyrus mailboxes (sieve
  inclusive)? My idea is to copy/rsync relevant cyrus directories to
  another place.
  Does any good backup tool exist ? Or, how you backup your cyrus data ?
 
  Thank you.
 
  Vladimir
 
 -- Dale
 
 Cyrus Home Page: http://asg.web.cmu.edu/cyrus
 Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 
-- 
kind regards,   +43-664-8468643
Franz Skale +43-1-7189880-0
Systems Engineerwww.cubit.at
PGP KeyID   0xB294D39A
Key Fingerprint B508 8896 B83C B374 770D 80EF 3AD9 4A66 B294 D39A


signature.asc
Description: This is a digitally signed message part

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

RE: Cyrus-Backup

2005-11-10 Thread lkolchin
Hi,

I'll quote myself here, I wrote it some time ago on this list:

1) I'll make a dump of all mailboxes to the text file:

su - cyrus -c ctl_mboxlist -d  /var/lib/imap/mailboxlist.txt

And I can restore it with:

su - cyrus -c ctl_mboxlist -u  /var/lib/imap/mailboxlist.txt

2) I will make a regular backups (in my case with DSM client) of 
/var/spool/imap/ and /var/lib/imap/, without stopping cyrus, in this case I 
endanger myself in some data inconsistency and maybe some e-mails lost (which 
were in process while backup was running).
Please correct me on the above if there are some other dangers I'm not aware 
of???

3) In case of disaster I can just copy mail directly from the backup to the 
mail store directory (/var/spool/imap/user/%username%),
And run:
/usr/lib/cyrus/bin/reconstruct -rf user/username


4) All quotas (in /var/lib/imap/quota/%firstletter of username%/)will not be 
reconstructed, so I'll need to do it manually.

5) All subscription and seen info (in /var/lib/imap/user/%firstletter of 
username%/) will not be reconstructed, but I could restore it from the regular 
backup.


Regards,
Leon Kolchinsky 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Dvorak
Sent: Thursday, November 10, 2005 12:24 PM
To: info-cyrus@lists.andrew.cmu.edu
Subject: Cyrus-Backup

Hello all,

is there some good way how to elegantly backup cyrus mailboxes (sieve 
inclusive)? My idea is to copy/rsync relevant cyrus directories to another 
place.  
Does any good backup tool exist ? Or, how you backup your cyrus data ?

Thank you.

Vladimir


Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: 
http://cyruswiki.andrew.cmu.edu List Archives/Info: 
http://asg.web.cmu.edu/cyrus/mailing-list.html

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


frequent DBERROR problems with the db directory

2005-11-10 Thread Ramprasad




hi all,
 I have a imap server running cyrus 2.1.3 running on fedora core 1 
I frequently get errors like this ( sometimes even thrice a day ) 

Nov 10 12:19:04 yy lmtpd[6258]: DBERROR: opening /var/imap/mailboxes.db: Cannot allocate memory
Nov 10 12:19:04 yy lmtpd[6258]: DBERROR: opening /var/imap/mailboxes.db: cyrusdb error
Nov 10 12:19:04 yy lmtpd[6258]: FATAL: can't read mailboxes file
Nov 10 12:19:04 yy lmtpd[6258]: DBERROR db4: Database handles open during environment close

I remove all files from /var/imap/db and restart cyrus and things start working fine
Can I solve this permanently , without having to upgrade the cyrus server

Thanks
Ram




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: Cyrus-Backup

2005-11-10 Thread Martin Müller

Hi!

I would like to download your tool, to try it out. But I got
The requested URL /mailbfr/mailbfr.tgz was not found on this server.

have you removed the file?

Best regards, Martin


websrvr schrieb:
I wrote one called mailbfr that is unix/Mac based (I'm told you can 
modify to work on most OS's with minor changes)


http://downloads.topicdesk.com/mailbfr/mailbfr.tgz

On Nov 10, 2005, at 05:24 , Vladimir Dvorak wrote:


Hello all,

is there some good way how to elegantly backup cyrus mailboxes (sieve
inclusive)? My idea is to copy/rsync relevant cyrus directories to
another place.
Does any good backup tool exist ? Or, how you backup your cyrus data ?

Thank you.

Vladimir


-- Dale

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html



Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: Cyrus-Backup

2005-11-10 Thread websrvr

A typo

http://downloads.topicdesk.com/mailbfr/mailbfr.tar.gz

-- Dale

On Nov 10, 2005, at 10:24 , Martin Müller wrote:


Hi!

I would like to download your tool, to try it out. But I got
The requested URL /mailbfr/mailbfr.tgz was not found on this server.

have you removed the file?

Best regards, Martin


websrvr schrieb:

I wrote one called mailbfr that is unix/Mac based (I'm told you  
can modify to work on most OS's with minor changes)


http://downloads.topicdesk.com/mailbfr/mailbfr.tgz

On Nov 10, 2005, at 05:24 , Vladimir Dvorak wrote:



Hello all,

is there some good way how to elegantly backup cyrus mailboxes  
(sieve

inclusive)? My idea is to copy/rsync relevant cyrus directories to
another place.
Does any good backup tool exist ? Or, how you backup your cyrus  
data ?


Thank you.

Vladimir



-- Dale

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html





Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


FYI: Cyrus nntpd and slrn

2005-11-10 Thread Lars Kellogg-Stedman
Hey folks,

Just posting this in case someone runs into the same problem that I
did.  Slrn 0.9.8.1 is unable to post to a Cyrus nntp server -- slrn
likes to add a trailing space to commands, so it sends POST  instead
of POST, and Cyrus nntpd rejects the command.

I've sent the (attached) patch to the slrn authors, but I'm including
it here in case somebody else would like to get slrn working with
Cyrus.

Cheers,

-- Lars


slrn-lks-rfc.patch
Description: Binary data

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html