Steffen Nurpmeso wrote in <20241209200938.b_QFFAp_@steffen%sdaoden.eu>: |Wietse Venema via Postfix-users wrote in | <4y6wzc64lqzj...@spike.porcupine.org>: ||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. ... |Yes, it seems fine now! ... | if postconf -d mail_version | awk '{split($3, v, "\\."); \ | exit(v[1] + 0 <= 3 && v[2] + 0 < 8)}'; then ...
(must of course precisely be if postconf -d mail_version | awk '{split($3, v, "\\."); exit(v[1]+0 < 3 || (v[1]+0 == 3 && v[2]+0 < 8))'; then just in case someone copy+pastes.) ... --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) | |And in Fall, feel "The Dropbear Bard"s ball(s). | |The banded bear |without a care, |Banged on himself for e'er and e'er | |Farewell, dear collar bear _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org