Version: 3.1.0 (using KDE KDE 3.0.99) Installed from: Unlisted Binary Package OS: Linux On my system, Mail is a sym-link to a directory elsewhere (actually within a Samba mount on another machine). KMail will crash unhelpfully on startup when said mount is not actually mounted, and hence sym-link is broken. Expected behaviour (for me) would be to inform user that mail dir is inaccessible, rather than try to create a new Mail dir in the empty mount point. Yeah, pedantic, sorry. It's a stupid set up, and isn't _that_ big a deal :o)
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.