Steffen Nurpmeso via Postfix-users: > postfix_status() { > # As postfix does not use stdout but console, no > # postfix__init > # ${prog} status 2>&1
I think that was fixed in Postfix 3.8. 20230308 Cleanup: the postfix(1) and postlog(1) commands now produce stderr output even when stderr is not connected to a terminal. This eliminates an inconsistency, and makes these programs easier to use in some automated procedures. The canonical example is to capture output from "postmulti -p status" to figure out which instances are or are not running. Files: postfix/postfix.c, postlog/postlog.c. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org