[Cialug] Postfix log rotation

cialug@cialug.org cialug@cialug.org
Wed, 2 Feb 2005 22:45:50 -0000


Jonathan Bailey <jcbailey@code0.net> said:

> I've been looking for where Postfix rotates its logs. I'm using awstats 
> to track mail usage and would like to put it in the prerotate. I've 
> checked logrotate.d/ but have not found it there. What controls Postfix 
> log rotation? It's a pretty much default install on Ubuntu.

There are all kinds of logging options in the postfix main.cf. Most debian
configs I've seen have the comments stripped out, so grab one from a
Mandrake system, or go to the postfix web site.

-dc