Loading ...
Sorry, an error occurred while loading the content.

246542Re: Send stdout from command down a pipe

Expand Messages
  • Magnus Bäck
    Nov 30, 2008
      On Monday, December 01, 2008 at 03:14 CET,
      Adrian Overbury <adrian@...> wrote:

      > Is it possible, if I specify a mailbox_command in my main.cf, to pipe
      > any output that produces on stdout to somewhere else? Like, say, to
      > another command?

      Postfix itself won't help you with this, but you can write a wrapper
      script or program that performs any logging you want and propagates the
      exit status of the actual delivery agent.

      Magnus Bäck
    • Show all 3 messages in this topic