Mark Crispin wrote:

On Mon, 08 Jul 2002 09:29:01 -0600, Deb Teale wrote:
> Marc,  the file does not exist.    Perhaps what I am needing is a patch to
> have it check the home directory mbox file if the /var/spool/mail entry
> doesn't exist.  (It used to work prior to imapd2000-by accident or design).
> Reading INBOX slurps the /var/spool/mail messages into mbox if they exist
> but apparently writing to INBOX if the /var/spool/mail entry does NOT exist
> fails to instead append to mbox in the home directory.

I just tried the following tests:
 APPEND to INBOX when no spool or mbox file exists
 APPEND to INBOX when spool exists but no mbox
 APPEND to INBOX when mbox exists but no spool
 COPY to INBOX when no spool or mbox file exists
 COPY to INBOX when spool exists but no mbox
 COPY to INBOX when mbox exists but no spool

In all cases, the expected behavior happened.

So, what is happening to you is mysterious to me.  Have you made any
modifications to imapd which may in some way be implicated?  Have you tried
the latest imap 2002 development snapshot to see if the problem occurs there?

We haven't set access to write to /var/spool/mail but create an entry for those who are using filter which delivers there.   postfix delivers to home directory mbox otherwise.   Appends to other folders fine.

The only local change is to check for a .locked file when opening to deny read of inbox.

IMAP DEBUG 11:26:30 7/8: 00000002 OK [READ-WRITE] SELECT completed
IMAP 11:26:30 7/8 mm_log babble: Mailbox is empty
Opened folder "{iproxy2.acs.ucalgary.ca:143/imap/user=sikorski}inbox"
with 0 messages
Sorting by Arrival/reverse
 

    ---- MAIN_MENU_SCREEN ----
IMAP DEBUG 11:26:30 7/8: 00000003 NOOP
IMAP DEBUG 11:26:30 7/8: 00000003 OK NOOP completed
mm_list "Mail/oldinbox": delim: '/', , no inferiors, unmarked
broach folder, name entered "oldinbox"
About to open folder "oldinbox"    inbox: "INBOX"
Close - saved inbox state: max 0
=== mm_exists(83,/u108/sikorski/Mail/oldinbox) called ===
Opened folder "/u108/sikorski/Mail/oldinbox" with 83 messages
Sorting by Arrival/reverse
 

 ---- MAIL INDEX ----
 

 ---- INDEX MANAGER ----
IMAP DEBUG 11:27:02 7/8: 00000004 LIST "" inbox
IMAP DEBUG 11:27:02 7/8: * LIST (\NoInferiors) NIL INBOX
mm_list "{iproxy.ucalgary.ca}INBOX": delim: 'X', , no inferiors
IMAP DEBUG 11:27:02 7/8: 00000004 OK LIST completed
IMAP DEBUG 11:27:02 7/8: 00000005 APPEND inbox () "18-Mar-2002 10:10:09
-0700" {756}
IMAP DEBUG 11:27:02 7/8: + Ready for argument
IMAP DEBUG 11:27:02 7/8:
IMAP DEBUG 11:27:02 7/8: 00000005 NO APPEND failed: Not a UNIX-format
mailbox: inbox
IMAP 11:27:02 7/8 mm_log ERROR: APPEND failed: Not a UNIX-format mailbox:
inbox
FAILED save of msg 76 (c-client sequence #)
IMAP DEBUG 11:27:13 7/8: 00000006 APPEND saved-messages () "18-Mar-2002
10:10:09 -0700" {756}
IMAP DEBUG 11:27:13 7/8: + Ready for argument
IMAP DEBUG 11:27:13 7/8:
IMAP DEBUG 11:27:14 7/8: 00000006 OK APPEND completed
MAIL_CMD: quit
 
 

Reply via email to