Page 1 of 1

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Tue Apr 19, 2011 10:48 pm
by andynz
Hi all
Had to restore of our 6.0.8 opt/zimbra from backup a month back and have been getting postfix/postdrop permission errors although mail delivery seems to be fine.
Error every 10 seconds in log is:

ZIMBRA1 postfix/postdrop[5654]: warning: mail_queue_enter: create file maildrop/(some number): Permission denied
I have run zmfixperms as root and it runs without showing errors but does not solve the problem.
Thanks

Andy

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Wed Apr 20, 2011 9:26 am
by 13445raj
try the following

[QUOTE]

su - zimbra

zmcontrol stop

logout

/opt/zimbra/libexec/zmfixperms --verbose --extended

su - zimbra

zmcontrol start

[/QUOTE]
Raj

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Wed Apr 20, 2011 4:24 pm
by andynz
Many thanks Raj, will try this later today when the office is empty of people and let you know the result.
Cheers

Andy

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Wed Apr 20, 2011 5:30 pm
by andynz
Should I also run "chown -R zimbra:zimbra /opt/zimbra" as I did a restore?
Thanks

Andy

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Wed Apr 20, 2011 5:32 pm
by 13445raj
no the zmfixperms should take care of that
Raj

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Wed Apr 20, 2011 11:30 pm
by andynz
Hi Raj
Many thanks for the suggestion Raj, it worked fine with no more errors so far.
Cheers

Andy

[SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Thu Jun 21, 2012 4:24 am
by fredarin
I have a log entry every second or so:

Jun 21 11:22:49 zimbra postfix/postdrop[30421]: warning: mail_queue_enter: create file maildrop/918685.30421: Permission denied


Tried the above suggestion from Raj, but it did not help.
Here are the current permissions on this folder.

zimbra@zimbra ~]$ ls -l /opt/zimbra/data/postfix/spool/|grep drop

drwx-wx---. 2 postfix postdrop 4096 May 21 18:06 maildrop

drwx--x---. 2 postfix postdrop 4096 Jun 21 11:07 public

Re: [SOLVED] run zmfixperms as root but still getting Permission Denied

Posted: Tue Sep 10, 2019 8:23 am
by florianh
Hi folks,

anyone reading this thread might be interested in this post

Kind regards
Florian