Re: how to update BDB
Hi, Andreas Hasenack -- info-cyrus (2005-01-21 23:03:54 -0200): I guess you will have to get rid of that lone log file. Perhaps this: - recover - checkpoint - dump database with BDB tool - remove log file - reload database with new db_load tool [...] My experience during the time when I had to upgrade from db 4.1.25 to 4.2.52 was that the log file was always in the way and I had to come up with a way to get rid of it. Yes, this works, even without dumping and loading. I wonder if I really need to run db_checkpoint and db_recover before removing the log file; for me it seems that's the same like just removing /var/imap/db/__db.* and /var/imap/db/log.* - isn't it? I guess I should definitely read the BDB docs again... Thanks for your help! Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ --- 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: how to update BDB
On Sat, Jan 22, 2005 at 11:33:14AM +0100, Jukka Salmi wrote: Yes, this works, even without dumping and loading. I wonder if I really need to run db_checkpoint and db_recover before removing the log file; for me it seems that's the same like just removing /var/imap/db/__db.* and /var/imap/db/log.* - isn't it? db_recover would also check your database to see if everything is right. It doesn't hurt I guess :) Regarding checkpoint, db_checkpoint would make sure that there are no pendind transactions stored in the log files. --- 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: how to update BDB
Andreas Hasenack -- info-cyrus (2005-01-22 10:07:53 -0200): On Sat, Jan 22, 2005 at 11:33:14AM +0100, Jukka Salmi wrote: Yes, this works, even without dumping and loading. I wonder if I really need to run db_checkpoint and db_recover before removing the log file; for me it seems that's the same like just removing /var/imap/db/__db.* and /var/imap/db/log.* - isn't it? db_recover would also check your database to see if everything is right. It doesn't hurt I guess :) Regarding checkpoint, db_checkpoint would make sure that there are no pendind transactions stored in the log files. I see. I guess I should really read the docs... ;-) Thanks again! Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ --- 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
Courier-IMAP maibox to cyrus-imap maildir
Hi, I just would like to know if there is a wav to convert courier-imap mailbox to Cyrus-imap maildir ? Thank you for your help Pascal -- FRANCE This message was sent using IMP, the Internet Messaging Program. --- 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: Make errors with Cyrus::IMAP
Hello! On Fri, Jan 21, 2005 at 11:05:02AM -0800, H. Scott Brown wrote: Hello, List, I have been having problems running cyradm, and obviously need to get this going to administer mailboxes (I am using virtual domains). What problems exactly? Can you give us any error messages? Perhaps there is an easier workaround. Meanwhile, my thoughts on your compilation problem: Based on a Google search which told me I needed to rebuild the stuff in $SOURCEDIR/perl/imap, I attempted to do so. Particulars: OS: Solaris 9 Cyrus-IMAP: 2.2.9 Perl: 5.8.5 SunOS 5.8, IMAP 2.2.10, Perl 5.6.1. Similar enough, I think. Output: perl Makefile.PL Note (probably harmless): No library found for -lssl Note (probably harmless): No library found for -lcrypto Writing Makefile for Cyrus::IMAP Mostly harmless? If you have OpenSSL installed anywhere (your LD_LIBRARY_PATH seems to indicate that you have) then this is an indication of problems to come and not harmless at all. (make runs deleted) I know nothing of what the first error means, other than it has something to do with ld.so.1, which, I am assuming (being very green) is a linking error to something. Correct. ld.so.1 is the run time linker. It fails to resolve (find an implementation of) fdatasync() which is referenced (used) by IMAP.so . The second, fdatasync, isn't this a Berkeley macro? I can't remember where it is, db.h? Here are a couple of environment variables: According to man, fdatasync() is an OS function that, roughly speaking, flushes I/O queues. It is contained in librt. I can verify that in my Cyrus IMAP build, the fdatasync symbol is provided by /usr/lib/librt.so.1 . Maybe there is just a -lrt missing in your link line. The (link time) linker would not complain in this case but ld.so would. Try forcing your linker to include librt: make LD_OPTIONS=-lrt This should not hurt anyting and you don't have to explain things to Perl. Try a make test. If the error persists then please send ldd outputs for your IMAP.so: ldd -s blib/arch/auto/Cyrus/IMAP/IMAP.so And one without LD_LIBRARY_PATH: LD_LIBRARY_PATH= ldd -s blib/arch/auto/Cyrus/IMAP/IMAP.so Perhaps this will give us some pointers. In my experience, LD_LIBRARY_PATH is evil and should be avoided. But getting rid of the beasty can be a major PITA. Sincerely, Ralph Rößner -- Ralph Rößner TU Darmstadt EMail: [EMAIL PROTECTED]FB Informatik --- 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
°ìÉϺ£Ò»ºÅͨ£¬ÉϺ£´«Õæͨ,¿í´ø°üÔµ绰,ÉϺ£Ð¡Áéͨ,Çëµ½ok01--ÄúµÄͨÐŹËÎÊ!
OK01VIP021-51096528http://ok01.ik8.com 8 50,mail VIP30/360/2400VIP ,,, A B C D8 voipnp 500 OK01 http://ok01.ik8.com http://grandee.cn.alibaba.com/ 0215109652802152786672,
Samething strange !
Hello, I noticed that when I use LDAP to authenticate the users to Cyrus-IMAP, the first time they log in to Cyrus-IMAP the couple login/passwd is written to /etc/sasldb2 I would like to know if it's normal ? Thank for your help Pascal -- FRANCE This message was sent using IMP, the Internet Messaging Program. --- 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