What are the permission and owner of this file?
/opt/zimbra/store/0/2/msg/0/2713-5793.msg (Permission denied)
Did you try the fixperms.sh script?
Ya, I noticed it was a permissions issue while you were posting
If i run it as zimbra, it says operation not permitted, and if it run it as root, it kicks me back to the prompt.
I think that's i'll edit the script, and run it forcefully
Wow, it sure has been a 24 hours, eh?
mmmk, Kevin I owe you one man
the fixperms script explictly skips the message store:
So, I added:Code:# NOT /opt/zimbra/store, /opt/zimbra/backup takes forever chown -R zimbra:zimbra /opt/zimbra/a* /opt/zimbra/[c-ot-z]* /opt/zimbra/s[a-su-z]* /opt/zimbra/perdition-1.17
chown -R zimbra:zimbra /opt/zimbra/st*
So is this something perpahs we should just leave alone, or create a standalone script?
EDIT: How to I force the messages in the queue to be delivered?
Last edited by jholder; 03-25-2006 at 09:42 AM.
I think I learned some very very important lessons today.
So as you may remember, I had this near catastrophe, but I restored from a backup.
I still have the old Zimbra folder with the message store. Is there a way for me to figure out who's messages are in what folder?
Example: I have a teacher who needs some old e-mails, but I'm not even sure where to start.
do you have the original /opt/zimbra/db/?
you can find the mailbox id in mysql like this:
select * from mailbox where comment like '%EMAIL-ADDRESS-FRAGMENT%';
then the messages are in /opt/zimbra/store/0/ID/
where ID is the mailbox id found from mysql, and 0 is actually ID << 12 (i.e. 0 if ID < 4096).
if you don't have the original mysql dbs you could grep the email address out of store/ though it might take a while
grep -r 'for <EMAIL-ADDRESS>' ~/store/
There are currently 1 users browsing this thread. (0 members and 1 guests)