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

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

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

Postby andynz » Tue Apr 19, 2011 10:48 pm

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

Postby 13445raj » Wed Apr 20, 2011 9:26 am

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

Postby andynz » Wed Apr 20, 2011 4:24 pm

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

Postby andynz » Wed Apr 20, 2011 5:30 pm

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

Postby 13445raj » Wed Apr 20, 2011 5:32 pm

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

Postby andynz » Wed Apr 20, 2011 11:30 pm

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

Postby fredarin » Thu Jun 21, 2012 4:24 am

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: 28
Joined: Sat Sep 13, 2014 12:36 am

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

Postby florianh » Tue Sep 10, 2019 8:23 am

Hi folks,

anyone reading this thread might be interested in this post

Kind regards
Florian

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 21 guests