gunzip and Postfix Monitoring With Mailgraph And pflogsumm

Discussion in 'HOWTO-Related Questions' started by mr88talent, Oct 4, 2006.

  1. mr88talent

    mr88talent New Member

    In the /usr/local/sbin/postfix_report.sh script it would probably be more efficient to use:

    zcat -f /var/log/mail.log.0.gz | pflogsumm | formail -c .....

    instead of:

    gunzip /var/log/mail.log.0.gz
    pflogsumm /var/log/mail.log.0 | formail -c .....
    gzip /var/log/mail.log.0
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Thanks for the hint. :)
     

Share This Page