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

Re: Simple postmap question

Expand Messages
  • Noel Jones
    ... postmap -q ... always prints successful output to stdout. Errors are printed to stderr and also reported to syslogd. There are no controls in postfix to
    Message 1 of 2 , Nov 29, 2007
      Simone Felici wrote:
      > Hi,
      >
      > I've a simple question on postmap.
      > On two different servers, the same 'postmap -q ....' command returns on
      > the first server the output to maillog, on the second case, the output
      > is returned on stdout. How can I switch between the two outputs?
      > It's more easier to have the output on stdout to check my policies
      > without look into maillog.
      >
      > Thank's Simon
      >

      "postmap -q ..." always prints successful output to stdout.
      Errors are printed to stderr and also reported to syslogd.
      There are no controls in postfix to change this.

      Perhaps you have redirected stderr away from your screen.

      --
      Noel Jones
    Your message has been successfully submitted and would be delivered to recipients shortly.