# Copyright 2007 Stevan Bajic <stevan@bajic.ch>
# Distributed under the terms of the GNU General Public License v3
#
# Logrotate old DSPAM logs.
#

tabooext + .gz

# Rotate the system log weekly
/var/log/dspam/system.log {
	create
	notifempty
	nomail
	noolddir
	missingok
	weekly
	compress
	create 0644 qpsmtpd qpsmtpd
}

# Rotate the bigger files daily or when they reach 10MB
/var/log/dspam/dspam.messages /var/log/dspam/sql.errors /var/log/dspam/dspam.debug /var/log/dspam/bnr.log {
	create
	notifempty
	nomail
	noolddir
	missingok
	daily
	size 10M
	compress
	create 0644 qpsmtpd qpsmtpd
}
