Ville Walveranta wrote:
It works except that the Postfix refresh message ("postfix/postfix-script: refreshing the Postfix mail system") is displayed despite of the attempt to redirect it to /dev/null? Any idea how I could hide it?
It's probably writing to stderr, postfix reload 2>/dev/null # stderr only postfix reload &>/dev/null # stdout & stderr Though if it writes an error to the screen, you'll miss it. J.P.