create

compress

&DIR&/test.log {
    monthly
    rotate 3
    mail user@myhost.org
    mailfirst
    sharedscripts

    postrotate
	touch scriptout
	echo $(cat scriptout) foo > foo
	mv foo scriptout
    endscript
}
