Is this even possible to do in rsyslog?
http://www.rsyslog.com/doc/rsyslog_conf_output.html
This syntax is not working:
mail.* -/var/log/mail.log:300M
I need to set this limitation in rsyslog instead of logrotate because the log can quickly fill up the partition in case of some error (even before it would get to logrotate next day) with high traffic mail system.