30 May
2003
30 May
'03
11:29 p.m.
On 30 May 2003, Timo Sirainen wrote:
It still does a few unnecessary things every time mailbox is opened (ie. at every APPEND command). I think I shouldn't try to mkdir() the cur, new and tmp dirs immediately. Those could be more easily created if/when stat() fails while syncing.
Shouldn't the maildir only be created in response to a CREATE command. It certainly shouldn't be as the result of an APPEND:
If the destination mailbox does not exist, a server MUST return an error, and MUST NOT automatically create the mailbox.
I would interpret any of cur, new and tmp being missing as "mailbox does not exist".
-- Charlie Brady charlie_brady@mitel.com