After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 502721 - Local Delivery option only allows selection of a directory
Local Delivery option only allows selection of a directory
Status: RESOLVED DUPLICATE of bug 500018
Product: evolution
Classification: Applications
Component: Mailer
2.12.x (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-12-09 19:56 UTC by Worik Stanton
Modified: 2008-06-02 12:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Worik Stanton 2007-12-09 19:56:40 UTC
Please describe the problem:
Using "Local Delivery" to get mail from /var/spool/mail/<user>
When "Send/Receive" clicked get dialogue with error message 
"Could not open mail file /var/spool/mail: Is a directory"

Using edit preferences for the account the spool file is greyed out.  The file open dialogue is only allowing selection of directories 

Steps to reproduce:
1. Click Send/Receive
2. 
3. 


Actual results:
Get error

Expected results:
Mail loaded

Does this happen every time?
Yes

Other information:
Using Gutsy Gibbon
Comment 1 André Klapper 2007-12-09 20:52:09 UTC
this is definitely fixed in 2.12. please change the account type from "file" to "directory".

*** This bug has been marked as a duplicate of 352346 ***
Comment 2 Worik Stanton 2007-12-09 23:45:19 UTC
 Andre Klapper said... this is definitely fixed in 2.12. please change the account type from "file" to "directory".

Worik says:  What does that mean?  

I edit preferences
Edit my account
Click receiving email options
There are 5 local options.
None work.

So this is not fixed.



Comment 3 André Klapper 2007-12-10 00:08:16 UTC
you currently use the server type "standard unix mbox spool file" and have entered /var/spool/mail. /var/spool/mail is a directory and not a file. you could also use "standard unix mbox spool directory" to point to a directory.
Comment 4 Worik Stanton 2007-12-10 01:14:25 UTC
Andre says:  "standard unix mbox spool directory" to point to a directory.

Worik says:  But that does not import the mail from the spool directory (is that another bug?).
Comment 5 Jeffrey Stedfast 2007-12-10 01:37:30 UTC
that's not a bug ,that's the way it is meant to work
Comment 6 Worik Stanton 2007-12-10 05:33:12 UTC
Ok.  But trhe original bug remains, and it is not a duplicate of 352346

"When creating a Maildir account the file chooser button to select a location is
configured to select files and not directories, so I can't select my
/home/ross/Maildir directory and can never proceed to the next stage of the
wizard."

For my bug I have a spool directory where fetchmail puts my mail.  It already exists.

I have been using it for ages and ages with the "local delivery" option on evolution.  Then it just stoped working.

Now I am using evolution directly attached to my pop server.

I want to go back to local delivery for all sorts of reasons.

I can do any investigation you ask, but this is a bug, and at this point I see no reason to so it is a bug with anything other than evolutrion.

I can read the spool file with mutt, from reads the headers, I can read it with less....

Only evolution cannot read it.

cheers
Worik
Comment 7 André Klapper 2007-12-10 10:11:31 UTC
"When creating a Maildir account the file chooser button to select a location
is configured to select files and not directories,"

definitely not, i just tried here with a Maildir account.
Comment 8 Jeffrey Stedfast 2007-12-10 15:41:50 UTC
Andre: Worik is not trying to use Maildir as far as I understand, he's trying to use "Local Delivery" mbox.

That said... he is correct. In Evolution 2.12.1 (which is what I'm using), I cannot select a file in the "Local Delivery" configuration. I'm only able to select directories.
Comment 9 Worik Stanton 2007-12-10 21:00:41 UTC
Jeffrey: cannot select a file in the "Local Delivery" configuration. I'm only able to
select directories.

Worik:  Then a directory is not what the local delivery is looking for.  It needs a file.
Comment 10 Jeffrey Stedfast 2007-12-10 21:37:56 UTC
correct, it needs the user to give it an actual mbox file (except that the user is unable to do so because the file/dir-selection widget is set to directory mode by accident)
Comment 11 Scott 2008-01-09 18:07:58 UTC
(In reply to comment #10)
> correct, it needs the user to give it an actual mbox file (except that the user
> is unable to do so because the file/dir-selection widget is set to directory
> mode by accident)
> 

I can confirm that this was working until 2.12.  I updated to 2.12 and
the "local delivery" was working fine.  Then I went into preferences and
selected edit on that mail account.  I didn't change anything, just clicked
"OK" and then the error messages started ,

"Could not open mail file /var/spool/mail: Is a directory"

..I was going to see if I could edit where it is checking for the email, 
but I can't find the file where the email account info is stored.

Comment 12 Scott 2008-01-09 23:04:55 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > correct, it needs the user to give it an actual mbox file (except that the user
> > is unable to do so because the file/dir-selection widget is set to directory
> > mode by accident)
> > 
> 
> I can confirm that this was working until 2.12.  I updated to 2.12 and
> the "local delivery" was working fine.  Then I went into preferences and
> selected edit on that mail account.  I didn't change anything, just clicked
> "OK" and then the error messages started ,
> 
> "Could not open mail file /var/spool/mail: Is a directory"
> 
> ..I was going to see if I could edit where it is checking for the email, 
> but I can't find the file where the email account info is stored.
> 

I used the gconf-editor to add the mbox name to the /var/spool/mail path
and it works again.  

Comment 13 Milan Crha 2008-06-02 12:05:30 UTC
This has been fixed in bug #500018, thus marking as a duplicate.

*** This bug has been marked as a duplicate of 500018 ***