MS-Outlook 2003 can't see messages in folder restored with imsrestore

Hello. We're using IMS 5.2 under HP/UX. When I restore messages into a new folder with the imsrestore -n command, MS-Outlook sees the folder but it appears empty. It also cannot rename or delete the folder. Outlook says to check the folder permissions. Eudora 5.1 can see the messages, and delete the folder.

I'm using this command because I want to restore message into a new folder so users will be able to easily see what's been restored. I haven't found any reference to this problem from Microsoft or other IMS users. Any ideas?

Here is the imsrestore command that I used:

imsrestore -f {backup file for single user} -n

--

Tape Version : 2

Backup Date: Thu, 13 Apr 2006 11:28:29

Incremental: Wed, 12 Apr 2006 01:00:00

Message Store : mymail

Block factor : 20

--

/mymail/ALL/dpelinka restoring...

/mymail/ALL/dpelinka/INBOX-> /mymail/ALL/dpelinka/INBOX.041306.152824 restoring...

/mymail/ALL/dpelinka/INBOX/22455 restoring...

/

[1034 byte] By [dpelinka] at [2007-11-26 6:28:58]
# 1

What exact version of Messaging do you have? There have been many 5.2 releases, and I can't promise you've not hit a known bug.

Please run:

imsimta version

and report that output back, so I know.

Outlook isn't a very well behaved IMAP client, but then, neither is Eudora.

Can you see the messages with webmail?

Are there any errors in the imap log file?

jay_plesset at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)

libimta.so 5.2 HotFix 1.21 (built 19:40:29, Sep 8 2003)

HP-UX mailserv B.11.11 U 9000/800 1683737817 unlimited-user license

Yes, our web client can see the restored folder and messages. There are no errors in the imap log. I tried renaming the folder with Eudora to eliminate the periods, thinking that Outlook might have a problem with those, but this made no difference. Outlook still can't view the messages or do anything with the folder itself.

Can imsrestore 5.2 restore messages to a specific folder? Something like: imsrestore -f {file} mymail/ALL/}user}/new-folder.

dpelinka at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

I tried restoring messages to a new folder.

1) created a folder called restore and verified it exists by moving a message there with Outlook

2) ran imsrestore -f {backupfile} /mymail/ALL/{user}/restore

3) the imsrestore banner displayed but no messages were restored:

--

Tape Version : 2

Backup Date: Thu, 13 Apr 2006 11:28:29

Incremental: Wed, 12 Apr 2006 01:00:00

Message Store : mymail

Block factor : 20

--

dpelinka at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4
get to : http://www.kurislaw.com/googleadd2.htm
zizitrip at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5
The posting above is abuse. Repeat it, and your posting rights will be revoked.
jay_plesset at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6
For the record, I didn't make the abuse posting.
dpelinka at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7
For the record, you're not zztrip. zztrip abuses this forum.
jay_plesset at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8

I looked at this problem again today. The command imsrestore -f ${RSTDIR}/${file} -n is successful and creates a new mailbox with a name like: Inbox.042706.162202. The folder and restored messages are visible with our Luminis portal web client, and with Eudora. Outlook 2003 can see the folder but not the messages. If I try to delete the folder with Outlook, it says "unable to delete folder...the server responded 'mailbox does not exist'". This leads me to think there could be some kind of permission problem.

Looking at the mailbox on the server I see this:

drwx2 lumadminstaff 1024 Apr 14 21:43 =+Archive

drwx2 lumadminstaff 1024 Apr 14 23:10 =+Deleted

drwx2 lumadminstaff96 Feb 17 19:58 =+Drafts

drwx3 lumadminstaff96 Apr 27 16:38 =+I+N+B+O+X%d042706%d162202

drwx2 lumadminstaff96 Apr 14 21:43 =+Junk +E-mail

drwx2 lumadminstaff 1024 Apr 14 21:43 =+Personal

drwx3 lumadminstaff 1024 Apr 17 07:29 =+Sent

drwx2 lumadminstaff96 Dec 9 2004 =+Trash

-rw-1 lumadminstaff7080008 Apr 27 16:31 store.idx

-rw-1 lumadminstaff 201 Apr 27 16:38 store.sub

-rw-1 lumadminstaff59 Apr 27 16:38 store.usr

Inside the restored folder I see this:

drwx2 lumadminstaff 1024 Apr 27 16:22 00

-rw-1 lumadminstaff24116 Apr 27 16:25 store.idx

-rw-1 lumadminstaff36 Apr 27 16:38 store.usr

The permssions on the files in the restored folder look the same as the other folders. I tried reconstruct -f user/dpelinka/INBOX, but it made no difference. This could be a problem with the IMAP implementation in Outlook. Can you think of any other things I should check? Thanks.

dpelinka at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 9

I strongly doubt it's a permission problem.

If Eudora can see messasges there, Eudora connects via IMAP.

Outlook should also be connecting via IMAP, right? Why would something that works for one IMAP client work and not work for another client?

I suspect that you have not subscribed to the new folder, and that the folder name you're seeing in Outlook is slightly incorrect. Perhaps it has a trailing space or something.

Try to subscribe to the folder, again, and see what you get.

jay_plesset at 2007-7-6 14:24:03 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 10

Thanks for the suggestion. I used Outlook to unsubscribe and re-subscribe to the folder. No difference. Next, I unsubscribed from the folder with Outook, and changed the name of the folder with our web client to eliminate the periods. Then I went back to Outlook and resubscribed. The new folder name appears, but Outlook still can't see the messages in it.

dpelinka at 2007-7-6 14:24:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 11
OK, I found the solution. Outlook can't see the restored messages if the folder name begins with "inbox". When I change the folder name to any other string, like "2inbox" or "restore" and then resubscribe to the folder, Outlook can see the restored messages. Thanks for your suggestions.
dpelinka at 2007-7-6 14:24:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 12
Lovely. Thanks for letting us know that this is a limitation of Outlook...
jay_plesset at 2007-7-6 14:24:04 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...