summaryrefslogtreecommitdiff
path: root/files/postfix/logrotate
blob: 86dc7436ff65b2fb7336ab318f41c3ad17a278ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/var/log/postfix.log {
    missingok
    notifempty
    weekly
    rotate 3
    compress
    compresscmd /bin/bzip2
    compressext .bz2
    sharedscripts
    postrotate
        /etc/init.d/postfix reload > /dev/null 2>&1 || true
    endscript
}