Hi list,

sorry in advance for a possible dumb question.

- output is printed to the console:
  postfix tls new-server-cert
- output is printed to the console:
  postfix tls new-server-cert 2>&1
- output is not printed:
postfix tls new-server-cert 2>/dev/null
- empty file /tmp/certinfo:
  postfix tls new-server-cert 2>/tmp/certinfo
- empty file /tmp/certinfo:
  postfix tls new-server-cert >/tmp/file 2>&1

I wanna catch the output to parse it and run
  postfix tls deploy-server-cert

What am I doing wrong? Any suggestions?

Thanks in advance,
Arjen Van Drie,
Antwerp

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to