RE: Cyradm - error with db_version. Tested on FC2
Hi 'KL'! I've read alot of messages regarding the error with cyrus-imapd cyradm command, and seldom any good replies. I've composed a quick workaround tested on Fedora Core 2. [ ... ] For me, an upgraded Fedora Core 2 installation also caused this error.. I finally found a solution from Victor here : http://asg.web.cmu.edu/archive/message.php?mailbox=archive.inf o-cyrusmsg=30493 This problem is because cyrus-imapd from fedora was not build agains the latest perl package from fedora... The easiest solution is to rebuild the srpm and the reinstall the cyrus-imapd-perl package... :-) Best, Oliver --- 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
IMAP-, Cyrus-BUG or Client-BUG???
Hi folks! One of my customers created a folder under her inbox - INBOX. entwurf, please note the space!!! She tried using that folder as she does usually, but Entourage crashed... OK, this happens very often - I know... :-) But it crashed again and again, if she tried using that folder... I gave myself the rights to use this folder using cyradm. And Outlook had the strange behaviour, that it downloaded the current message-list again and again. It didn't stop. Seams like and endless-loop for me Using Outlook it wasn't possible to create such a folder (it simply ignors leading spaces). But with Entourage it was! I believe it's a client problem (- Entourage), but I'm not sure. So if anybody out there knows the problem, please tell me. Thanks, Oliver
RE: Cyrus debugging
John Alton Tamplin wrote: Oliver Pitzeier wrote: Sorry, but I believe there are enough interessting parts in imapd and also in some lib/* file that could be logged for debugging reasons... Complaints about the code quality of Cyrus coming from someone who tries to pass an int where a char* is expected, whose patch results in returning random garbage from the comparison function, and who can't produce a stack backtrace from the problem seems a bit out of place. I'm sorry, I didn't want to _complain_. I just wanted to give feedback! And that I passed an int to syslog was really a mistake, but comes from programming too much Perl, where I normally do not need to think about types... I had an idea, you don't like it. That's OK. :-) Best regards, Oliver
Signaled to death by 11
Hi volks! I thankfull for ANY help! I'm currently debugging a signal 11 problem... I located it in getdatetime (imapd.c) and have to trace it down to the final killer line I'm working on an Compaq Alpha DS10... If anyone has similar problems, or if any developer can help me trace it down I'd be very thankfull. Version of cyrus-imapd 2.1.12. Best regards, Oliver
RE: Signaled to death by 11
[ ... ] I'm currently debugging a signal 11 problem... I located it in getdatetime (imapd.c) and have to trace it down to the final killer line I'm working on an Compaq Alpha DS10... If anyone has similar problems, or if any developer can help me trace it down I'd be very thankfull. Version of cyrus-imapd 2.1.12. I tracked it down to the function time_t mkgmtime(tmp) in lib/mkgmtime.c. At the moment dir = tmcomp(mytm, yourtmp); is invoked it dies... You can also said syslog(LOG_ERR, dir) and it will also die. So it seems for me, that it has something to do with dir, which is a register int... Any ideas? Best regards, Oliver
RE: Signaled to death by 11
[ ... ] I'm currently debugging a signal 11 problem... I located it in getdatetime (imapd.c) and have to trace it down to the final killer line I'm working on an Compaq Alpha DS10... If anyone has similar problems, or if any developer can help me trace it down I'd be very thankfull. Version of cyrus-imapd 2.1.12. [ ... ] OK. Kick my ass for this now... :-( I tried to copy some mails from one imap server to this new one (using Outlook XP and Outlook Express 6)... This is where the error occurs... BUT(!): I tried it now with Evolution; I copied the same mail. It works. No process dies... Copying mails between two imap-servers is normally no problem and works with all my servers, except this one... Any ideas? Best regards, Oliver
RE: Signaled to death by 11
Henrique de Moraes Holschuh wrote: [ ... ] I tried to copy some mails from one imap server to this new one (using Outlook XP and Outlook Express 6)... This is where the error occurs... It is still a real bug. Cyrus should be resilient to fucked up input data (as long as you are feeding it through lmtp or imap). If it is segfaulting, it means that outlook is feeding crap to Cyrus, and we are eating it raw (instead of complaining). That's what I expected... Unfortunately I don't have time to try to track it down right now :( I am using my Cyrus time to package 2.2, and fix the morgue stuff. Maybe one of the core developers :-) will do it. Hopefully... But theres is something that I still do not understand. Compaq Alpha DS10, RedHat 7.2, Cyrus 2.1.4: Working with every Client Compaq Alpha DS10, RedHat 7.2, Cyrus 2.1.12: Not working with Outlook 2000, XP, Express And the Problem occurs in mkgmtime.c, which has not been changed since 2000 (OK, in Cyrus 2.2 it has already; ONE line). Best regards, Oliver PS: I hope I can fix it for myselve and then send patches out to the world. :-)
RE: Defining Special Mailboxes like 'Inbox'
Scott Nickerson wrote: [ ... ] The question: Is there a way in Cyrus to create a folder 'SPAM' that cannot be deleted by the end user so we know it will be there if we set up a filtering rule to deliver to such a folder? Basically same sort of criteria the Inbox folder has. There is no way to guarantee this in 2.1 or earlier because the owner is always given enough implicit rights to get around it. In 2.2 there is an implicitrights option which can be used to limit these rights (eg, remove 'a') and then you can remove the user's 'c' right from the SPAM folder. Another posibility would be to run through all mailboxes and create the folder if it doesn't exist... About every hour... At some point the user will stop to deleting it... :-) If you use Sieve for delivering the SPAM-mails and the SPAM-folder doesn't exist, it will go to the Inbox... I think this is OK. Lg, Oliver
!HELP! :o)
Hi! First my specifications. I run RedHat with a Alpha-Machine and this is really nice. :o) But i'm having problems (good hardware is still not enough). I tryed to install the Cyrus IMAP 2.0.7 Server and what happend made me CRY! Believe it or not After downloading and building (configure, make, etc.) I try to "make install". Afterwards cyradm gave me the error that it "Can't locate Cyrus/IMAP/Shell.pm". I a newbie in this and I HAVE to install the IMAP Server Please help me - I would be very thankfull. Looking forward. Bye, Oliver