Ken Wright:
> On Sun, 2022-01-02 at 11:16 -0500, Wietse Venema wrote:
> > Ken Wright:
> > > On Sat, 2022-01-01 at 18:50 -0500, Wietse Venema wrote:
> > > > Ken Wright:
> > > > > 
> > > > > I did a quick Google search, and ran sudo apparmor_status.
> > > > > There don't appear to be any postfix-related programs listed.
> > > > 
> > > > Then that leaves the cron related profiles.
> > > 
> > > None of those either.
> > 
> > Try turning off AppArmor.
> 
> Still no joy.

Does it also fail when run as root? In that case,

    # strace -e connect postqueue -p |&grep showq

Otherwise, some temporary hack is needed.

As root, disdable file permissions:

# chmod 777 /var/spool/postfix/public
# chmod g-s /usr/sbin/postqueue

As non-root,list the queue:

$ strace -e connect postqueue -p 

As root, restore file permissions:

# chmod 710 /var/spool/postfix/public
# chmod g+s /usr/sbin/postqueue

        Wietse

Reply via email to