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

Re: prepend headers logging

Expand Messages
  • Michael Orlitzky
    ... Have you tried using grep? grep -v mail.log | postfix-logwatch
    Message 1 of 6 , Feb 23, 2010
      AMP Admin wrote:
      >
      > On 2/23/2010 11:34 AM, AMP Admin wrote:
      >> AMP Admin:
      >>> is there away to stop prepend: header from being added to the logs?
      >> No. If it bothers you, use grep.
      >>
      >> Wietse
      >> -----
      >>
      >> It just sucks when logwatch sends me the logs and it's an email with over
      >> 1000 lines of header prepend info.
      >>
      >
      >
      > Adjust your logwatch settings to not include lines you aren't
      > interested in.
      >
      > -- Noel Jones
      >
      > ----
      > The other problem is when a large mailing goes out the log gets too full to
      > process.
      >

      Have you tried using grep?

      grep -v <stuff-you-dont-want> mail.log | postfix-logwatch
    Your message has been successfully submitted and would be delivered to recipients shortly.