create

compress

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

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