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

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
andynz
Posts: 46
Joined: Sat Sep 13, 2014 1:02 am

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

Post 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
13445raj
Outstanding Member
Outstanding Member
Posts: 743
Joined: Fri Sep 12, 2014 9:59 pm
Location: Canada
Contact:

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

Post by 13445raj »

try the following

[QUOTE]

su - zimbra

zmcontrol stop

logout

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

su - zimbra

zmcontrol start

[/QUOTE]
Raj
andynz
Posts: 46
Joined: Sat Sep 13, 2014 1:02 am

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

Post 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
andynz
Posts: 46
Joined: Sat Sep 13, 2014 1:02 am

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

Post by andynz »

Should I also run "chown -R zimbra:zimbra /opt/zimbra" as I did a restore?
Thanks

Andy
13445raj
Outstanding Member
Outstanding Member
Posts: 743
Joined: Fri Sep 12, 2014 9:59 pm
Location: Canada
Contact:

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

Post by 13445raj »

no the zmfixperms should take care of that
Raj
andynz
Posts: 46
Joined: Sat Sep 13, 2014 1:02 am

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

Post by andynz »

Hi Raj
Many thanks for the suggestion Raj, it worked fine with no more errors so far.
Cheers

Andy
fredarin
Posts: 3
Joined: Sat Sep 13, 2014 2:36 am

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

Post 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
florianh
Posts: 31
Joined: Sat Sep 13, 2014 12:36 am

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

Post by florianh »

Hi folks,

anyone reading this thread might be interested in this post

Kind regards
Florian
Post Reply