Hi, I am trying to use zmmailbox addMessage to recover some email from the store folder.

I have chown -R zimbra:zimbra on the source folder.

As zimbra user, I have run

zmmailbox -z

selectMailbox someone@something.com

when I run addMessage, I get the following error:

Exception in thread "main" java.io.FileNotFoundException: /home/me/1/msg/0 (Permission denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
at com.zimbra.cs.zclient.ZMailboxUtil.addMessage(ZMai lboxUtil.java:1706)
at com.zimbra.cs.zclient.ZMailboxUtil.doAddMessage(ZM ailboxUtil.java:1749)
at com.zimbra.cs.zclient.ZMailboxUtil.execute(ZMailbo xUtil.java:934)
at com.zimbra.cs.zclient.ZMailboxUtil.interactive(ZMa ilboxUtil.java:2554)
at com.zimbra.cs.zclient.ZMailboxUtil.main(ZMailboxUt il.java:2652)

It looks like a permission problem, but I have tried Chown -R zimbra:zimbra and chmod -R 777, so I am stumped.

Any help would be appreciated.