From bf49d26c2b34bcab5472e69f68d970d66a748e9c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 25 Mar 2015 11:50:18 -0300 Subject: Postfix logrotation --- files/postfix/logrotate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 files/postfix/logrotate (limited to 'files') diff --git a/files/postfix/logrotate b/files/postfix/logrotate new file mode 100644 index 0000000..86dc743 --- /dev/null +++ b/files/postfix/logrotate @@ -0,0 +1,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 +} -- cgit v1.2.3