diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-03-24 20:56:58 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-03-24 20:56:58 +0000 |
commit | 1df664991f31bcd98b2faae20d5556ddc0af9dd3 (patch) | |
tree | 777413c891b574c0177292f8d44c5ac1ffd2c1b8 | |
parent | b82e9b72808bbd8291e1edf4dd581f10758eb2e1 (diff) |
Store mboxes below /var/spool/amavis instead (they need to be owned by nobody:nogroup), and rotate razor log too.
-rw-r--r-- | amavis/logrotate.d/local-amavis | 6 |
1 files 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 |