After upgrading to 8.7 queue browsing (summary counters and details) doesnt work.
Logs shows errors:
Jul 15 15:45:30 mail1 postfix/postqueue[25522]: fatal: Connect to the Postfix showq service: Permission denied
I already tried fixing permissions with below commands (as root), but no change:
/opt/zimbra/libexec/zmfixperms
/opt/zimbra/libexec/zmfixperms -extended
EDIT:
Additionally I need to run zmfixperms after every zmcontrol restart, because of errors with storing message in queue!
Jul 15 16:30:03 mail1 postfix/postdrop[7889]: warning: mail_queue_enter: create file maildrop/370137.7889: Permission denied
Jul 15 16:30:13 mail1 postfix/postdrop[7889]: warning: mail_queue_enter: create file maildrop/378964.7889: Permission denied
Jul 15 16:30:23 mail1 postfix/postdrop[7889]: warning: mail_queue_enter: create file maildrop/402504.7889: Permission denied
Queue browse error after 8.7 upgrade
Re: Queue browse error after 8.7 upgrade
Seems fixed after machine reboot (not only zmcontrol restart). Weird.
-
- Posts: 2
- Joined: Thu Jul 28, 2016 11:21 am
Re: Queue browse error after 8.7 upgrade
Hi,
I am having the same problem that zmfixperms or a machine reboot can't fix.
Anyone else had deal with the same error message?
edit:
I forgot to mention that mine was not a server upgrade, but a fresh 8.7 install with the data imported with the zextras utility
Regards
Davide
I am having the same problem that zmfixperms or a machine reboot can't fix.
Anyone else had deal with the same error message?
edit:
I forgot to mention that mine was not a server upgrade, but a fresh 8.7 install with the data imported with the zextras utility
Regards
Davide
Last edited by DavideSJHS on Fri Jul 29, 2016 11:49 pm, edited 1 time in total.
-
- Posts: 10
- Joined: Fri Jul 29, 2016 12:26 pm
- Location: Carpina PE Brazil
- ZCS/ZD Version: Zimbra 8.8.15_GA_3895
- Contact:
Re: Queue browse error after 8.7 upgrade
Same Problem;
Jul 29 09:16:41 webmail postfix/postdrop[21459]: warning: mail_queue_enter: create file maildrop/372478.21459: Permission denied
Jul 29 09:16:41 webmail postfix/postdrop[25715]: warning: mail_queue_enter: create file maildrop/852866.25715: Permission denied
Jul 29 09:16:43 webmail postfix/postdrop[28695]: warning: mail_queue_enter: create file maildrop/635361.28695: Permission denied
Jul 29 09:16:43 webmail postfix/postdrop[1599]: warning: mail_queue_enter: create file maildrop/645219.1599: Permission denied
Jul 29 09:16:44 webmail postfix/postqueue[26691]: fatal: Connect to the Postfix showq service: Permission denied
Jul 29 09:16:41 webmail postfix/postdrop[21459]: warning: mail_queue_enter: create file maildrop/372478.21459: Permission denied
Jul 29 09:16:41 webmail postfix/postdrop[25715]: warning: mail_queue_enter: create file maildrop/852866.25715: Permission denied
Jul 29 09:16:43 webmail postfix/postdrop[28695]: warning: mail_queue_enter: create file maildrop/635361.28695: Permission denied
Jul 29 09:16:43 webmail postfix/postdrop[1599]: warning: mail_queue_enter: create file maildrop/645219.1599: Permission denied
Jul 29 09:16:44 webmail postfix/postqueue[26691]: fatal: Connect to the Postfix showq service: Permission denied
Re: Queue browse error after 8.7 upgrade
Exactly the same for me - migrated to fresh 8.7 install, Ubuntu 14.04 64bit, used ZExtras as well to migrate. Reboot doesn't fix it for me. Tried stopping Zimbra, killing all zimbra user processes (postdrop, postfix were still there), running the permissions fix extended, then starting again, problem still occurs.DavideSJHS wrote:Hi,
I am having the same problem that zmfixperms or a machine reboot can't fix.
Anyone else had deal with the same error message?
edit:
I forgot to mention that mine was not a server upgrade, but a fresh 8.7 install with the data imported with the zextras utility
Regards
Davide
You will likely also find you have a LOAD of sleeping postdrop processes, my server just alerted through nagios.
Re: Queue browse error after 8.7 upgrade
Also doubled checked the upgrade notes, for the globalconfig value adjustments, just in case ZExtras ported any of these - I was on 8.6 previously, but this server that exhibits the problem is a fresh 8.7 install as earlier noted. All seems to be correct, same problem occurs.
https://wiki.zimbra.com/wiki/Zimbra_Rel ... .0/Upgrade
https://wiki.zimbra.com/wiki/Zimbra_Rel ... .0/Upgrade
Re: Queue browse error after 8.7 upgrade
Just something I note, perhaps someone with more Zimbra knowledge than me can advise - postdrop is running as zimbra user, everything else post* seems to run as postfix user?
I can make the error messages go away on a test machine, by changing the file permissions on the maildrop directory to zimba instead of postfix/postdrop, but potentially postdrop is running as the wrong user and the file permissions are correct?
For now, I just modified the permissions on the below directories to 777 - I was going to use setfacl to add the zimbra user but am not 100% sure if this would cause any issues for zimbra - the below is a security risk so do at your own risk:
/opt/zimbra/data/postfix/spool/maildrop/
/opt/zimbra/data/postfix/spool/public/
/opt/zimbra/data/postfix/spool/public/pickup
/opt/zimbra/data/postfix/spool/public/showq
... I don't think there is any immediate fall out, other than the security perspective
I can make the error messages go away on a test machine, by changing the file permissions on the maildrop directory to zimba instead of postfix/postdrop, but potentially postdrop is running as the wrong user and the file permissions are correct?
For now, I just modified the permissions on the below directories to 777 - I was going to use setfacl to add the zimbra user but am not 100% sure if this would cause any issues for zimbra - the below is a security risk so do at your own risk:
/opt/zimbra/data/postfix/spool/maildrop/
/opt/zimbra/data/postfix/spool/public/
/opt/zimbra/data/postfix/spool/public/pickup
/opt/zimbra/data/postfix/spool/public/showq
... I don't think there is any immediate fall out, other than the security perspective
Re: Queue browse error after 8.7 upgrade
What commands are you using to view the queue? "mailq" works fine for me.dafftu wrote:After upgrading to 8.7 queue browsing (summary counters and details) doesnt work.
Logs shows errors:
Jul 15 15:45:30 mail1 postfix/postqueue[25522]: fatal: Connect to the Postfix showq service: Permission denied
I already tried fixing permissions with below commands (as root), but no change:
/opt/zimbra/libexec/zmfixperms
/opt/zimbra/libexec/zmfixperms -extended
EDIT:
Additionally I need to run zmfixperms after every zmcontrol restart, because of errors with storing message in queue!
Jul 15 16:30:03 mail1 postfix/postdrop[7889]: warning: mail_queue_enter: create file maildrop/370137.7889: Permission denied
Jul 15 16:30:13 mail1 postfix/postdrop[7889]: warning: mail_queue_enter: create file maildrop/378964.7889: Permission denied
Jul 15 16:30:23 mail1 postfix/postdrop[7889]: warning: mail_queue_enter: create file maildrop/402504.7889: Permission denied
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Re: Queue browse error after 8.7 upgrade
Those errors are/were just in the zimbra.log - for me, nothing was needed to make them happen, due to the file system permissions issues (or process as wrong user perhaps) they increment in the log file.
-
- Posts: 10
- Joined: Fri Jul 29, 2016 12:26 pm
- Location: Carpina PE Brazil
- ZCS/ZD Version: Zimbra 8.8.15_GA_3895
- Contact:
Re: Queue browse error after 8.7 upgrade
My solution
/etc/init.d/postfix stop
killall -9 postdrop
chgrp -R postdrop /var/spool/postfix/public
chgrp -R postdrop /var/spool/postfix/maildrop
/usr/sbin/postfix set-permissions
postfix check
/etc/init.d/postfix start
/etc/init.d/postfix stop
killall -9 postdrop
chgrp -R postdrop /var/spool/postfix/public
chgrp -R postdrop /var/spool/postfix/maildrop
/usr/sbin/postfix set-permissions
postfix check
/etc/init.d/postfix start