create

&DIR&/test.log &DIR&/anothertest.log {
    monthly
    rotate 1
    start 0
    mail user@myhost.org
    maillast
    sharedscripts

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