> On Oct 18, 2018, at 7:26 AM, das mouse <phsni...@gmail.com> wrote:
>
> I run Postfix 3.1 on a Ubuntu 16lts box. Postfix' config on this machine is
> very very simple, not more than a local relay.
>
> As weird as it sounds none of the queue managing commands seem to do
> anything: postfix flush, postqueue -f, postsuper -h ALL, postsuper -H ALL.
> Increasing verbosity levels (-v) does not really help.
Are you running these as "root" or as some other user? And if as "root", are
you sure that "postsuper -h" and "postsuper -H" don't work even when the source
queue is not empty of complete messages?
The "postqueue" command is setgid, e.g. on my system:
$ ls -ld /usr/local/sbin/postqueue
-rwxr-sr-x 1 root maildrop 20512 Jun 14 00:10 /usr/local/sbin/postqueue
so one might imagine some system configurations in which such programs silently
don't execute (and containers of various sorts can also simply suppress
execution
of specific binaries and make them silent NOOPs).
> On this machine, however, I must put emails on hold using configuration in
> main.cf:
>
> smtpd_recipient_restrictions =
> check_recipient_access hash:/etc/postfix/hold
>
> with /etc/postfix/hold:
> mydomain.com HOLD
>
> and release the held back emails with postsuper -r [queueid].
> The cli queue commands neither hold emails nor do they flush the queues.
But you report that "postsuper -r" works, suggests "postsuper" actually runs,
and moves queue files around, so "postsuper -h" would not be expected to fail.
--
Viktor.