Subject: Accessing new mail from MH folders?

From: Uwe Richter <[email-masked]>
Date: 10 Apr 1995 22:23:07 GMT

Hello, does anybody know how I can access new mails from
the mail spool directory via the "#mh" switch as a remote
MH folder.
If I try "{imap-server}#mh/INBOX" only the existing mails (that
were read previously) are seen, but no new mails.

On the other side, if I set the incoming-folder to
"{imap-server}INBOX" new mails are seen but an error is
returned while saving read mails into a remote MH folder.
A directory is created, but no mail file can be written.

---------------debugging--------------
..
    ---- QUIT SCREEN ----
expunge and close mail stream "{paxp02.mipool.uni-jena.de}INBOX"
q_status_message, Count 1, "Closing "INBOX"..."
output_message(Closing "INBOX"...)
STATUS cmd:120, disp:1, length:0, max:1, min0IMAP DEBUG: A00009 SEARCH SEEN UNDELETED
IMAP DEBUG: * SEARCH 1
IMAP DEBUG: A00009 OK SEARCH completed
IMAP DEBUG: A00010 COPY 1 #mh/read-messages
IMAP DEBUG: * OK [TRYCREATE] Must create mailbox before copy
IMAP mm_notify NIL : {paxp02.mipool.uni-jena.de}INBOX : [TRYCREATE] Must create mailbox before copy
IMAP DEBUG: A00010 NO COPY failed: No such destination mailbox
IMAP 0:19 4/11 mm_log ERROR: COPY failed: No such destination mailbox
prev_col: 0, prev_end:3, top_column:24 spacing:22
0 (null)  (null)     0
1 ^C      Cancel     0
2 Y       [Yes]      23
3 N       No         23
4 (null)  (null)     46
5 (null)  (null)     46
6 (null)  (null)     68
7 (null)  (null)     68
8 (null)  (null)     90
9 (null)  (null)     90
11 (null)  (null)     112
row: -2, real_row: 22, column: 0
Select readfds:1 timeval:0,0
Select on tty returned 1
Read returned 1
Read char returning: 121 y
Want_to read: y (121)
IMAP DEBUG: A00011 Create #mh/read-messages
IMAP DEBUG: A00011 OK CREATE completed
IMAP 0:19 4/11 mm_log babble: CREATE completed
IMAP DEBUG: A00012 COPY 1 #mh/read-messages
IMAP DEBUG: * OK [TRYCREATE] Must create mailbox before copy
IMAP mm_notify NIL : {paxp02.mipool.uni-jena.de}INBOX : [TRYCREATE] Must create mailbox before copy
IMAP DEBUG: A00012 NO COPY failed: No such destination mailbox
IMAP 0:19 4/11 mm_log ERROR: COPY failed: No such destination mailbox
q_status_message, Count 1, "Unable to save 1 read messages to read-messages"
---------------debugging--------------

Many thanks in advance.

Uwe