[haiku-bugs] Re: [Haiku] #4495: MDR Silently Fails if default folders do not exist

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Apr 2010 14:06:48 -0000

#4495: MDR Silently Fails if default folders do not exist
---------------------------------+------------------------------------------
 Reporter:  Jason                |       Owner:  nobody   
     Type:  bug                  |      Status:  assigned 
 Priority:  low                  |   Milestone:  R1/alpha2
Component:  Servers/mail_server  |     Version:  R1/alpha1
 Keywords:                       |   Blockedby:           
 Platform:  All                  |    Blocking:           
---------------------------------+------------------------------------------
Changes (by stippi):

  * owner:  stippi => nobody
  * priority:  normal => low
  * status:  in-progress => assigned


Comment:

 I can't confirm the behavior described in the original report. Draft mails
 seem to be stored always, there is code which checks specifically for the
 return code for a missing draft directory and creates the directory if
 missing. Perhaps this has been added after the ticket was created.

 Creating the mail/out folder, or whatever other folder is configured for
 outgoing mail, was implemented as well. However, another bug apparently
 causes the configuration of the out folder not arriving at the place where
 sending the mail happens. I've added a fallback for this situation in
 r36490. Outgoing mails will now always be stored in ~/mail/out as a last
 resort.

 Another curious thing is that stock Haiku images seem to already contain
 mail/in, mail/out and mail/drafts. I haven't found the place where these
 folders are created. On top of that, Mail calls it "draft", note the
 missing ''s''. So after saving the first draft mail, the user will be left
 with mail/draft and an empty mail/drafts.

 I may or may not find the time to look deeper into this, however, the
 problem is now much less severe.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4495#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: