/var/log/mailman3/*.log {
	daily
	rotate 14
	compress
	delaycompress
	missingok
	notifempty
	create 640 list list
	postrotate
		if [ -e /run/systemd/system ] ; then
			if systemctl -q is-active mailman3; then
			    /usr/bin/mailman-wrapper reopen -q
			fi;
		elif [ -s /run/mailman3/master.pid ]; then
			/usr/bin/mailman-wrapper reopen -q
		fi
	endscript
}
