From 1df664991f31bcd98b2faae20d5556ddc0af9dd3 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Fri, 24 Mar 2006 20:56:58 +0000 Subject: Store mboxes below /var/spool/amavis instead (they need to be owned by nobody:nogroup), and rotate razor log too. --- amavis/logrotate.d/local-amavis | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amavis/logrotate.d/local-amavis b/amavis/logrotate.d/local-amavis index 985587a..0de1c0e 100644 --- a/amavis/logrotate.d/local-amavis +++ b/amavis/logrotate.d/local-amavis @@ -1,7 +1,7 @@ -/var/lib/amavis/mboxes/spam-quarantine /var/lib/amavis/mboxes/spamalert /var/lib/amavis/mboxes/virus-quarantine /var/lib/amavis/mboxes/virusalert { - weekly +/var/spool/amavis/spam-quarantine /var/spool/amavis/spamalert /var/spool/amavis/virus-quarantine /var/spool/amavis/virusalert /var/lib/amavis/razor-agent.log { + daily missingok - rotate 5 + rotate 28 compress delaycompress notifempty -- cgit v1.2.3