Bug 166206

Summary: Local mailbox account does not work
Product: [Applications] kmail Reporter: George Kiagiadakis <mail>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: HI    
Version: 1.9.52   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description George Kiagiadakis 2008-07-10 11:08:28 UTC
Version:           1.9.52 (KDE 4.0.84) (using Devel)
Installed from:    Compiled sources
Compiler:          gcc version 4.3.1 (Debian 4.3.1-2) 
OS:                Linux

I am trying to add a local mailbox account in kmail but it doesn't work.

First, there is a usability issue on the add local mailbox dialog (settings->configure->accounts->receiving->add->local mailbox). The widget used to select the local mbox file is a QComboBox (why?) with no options available for selecting and there is a "choose" button on the right side, which allows me to choose /var/mail/$USER as an mbox file, but it makes no difference when I return to this dialog (the QComboBox is still empty). I believe a KUrlRequester would be much more appropriate here...

Second, even if we suppose that the "choose" button actually instructs kmail to use the mbox file selected, it doesn't work. Kmail never picks up those mails.
Comment 1 Thomas McGuire 2008-07-10 12:36:30 UTC
The first issue is already solved, see bug 166148.

As for the not working part: I guess nobody has tried that yet, at least I've never used it, guess I need to look into that.
Comment 2 George Kiagiadakis 2008-07-10 14:02:53 UTC
Ah, it seems that the second issue is inexistent. If I manually enter Location=/var/mail/$USER in kmailrc as stated in bug 166148, the account works fine. You just have to make sure that the Location is saved in kmailrc, but I guess your patch does the trick. I will try a newer revision later and let you know.
Comment 3 George Kiagiadakis 2008-07-11 17:42:51 UTC
Indeed, it works in revision 830960. I am marking this as resolved.