Summary: | Crash on broken Mail dir sym-link | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Martin Ellis <m.a.ellis> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Martin Ellis
2003-01-27 03:30:41 UTC
This seems to bee a problem with KMessageBox. In kmkernel.cpp in KMKernel::initFolders there are checks like if (the_inboxFolder->canAccess() != 0) { KMessageBox::sorry(0, i18n("You do not have read/write permission to your inbox folder.") ); exit(1); } These messageboxes lead to the crashes. kmail crashes also if you do a chmod 000 on any mailbox of outbox, sent-mail, trash, drafts, inbox or ~/Mail. If you comment out these five KMessageBox lines kmail doesnt crash but also doesnt start. And that's another problem! I have ~/Mail on a cfs on my laptop so it is only available if I really need it. But I have some IMAP accounts in kmail which I can't use without creating a dummy ~/Mail dir or mounting the cfs. regards, Christian Subject: Re: Crash on broken Mail dir sym-link Thanks for the analysis of the crash. I will fix it. But I can't fix the problem that KMail doesn't start since, even if you only want to use IMAP, KMail currently needs at least the outbox folder unless you don't want to send any messages. Subject: Re: New: Crash on broken Mail dir sym-link Thanks for your bug report. This bug has been fixed for KDE 3.1.1. I have a similar setup where I sym-link my mail folder to my network server, but I am finding that Kmail over writes my email with "no subject" and "Unknown" and doesn't send mail I get "Could noot move mail to sent-items, diskspace full or check permissions). I have over 4gb on that drive and I have checked permissions on the server and can read/write to the dir. |