I am not able to implement email alerts in rsyslog. I have changed my configuration file as shown below
$ModLoad ommail
$ActionMailSMTPServer mailserver's address
$ActionMailFrom root@localhost.com
$ActionMailTo prakash.akumalla@xxxx.com
$template mailSubject,"disk problem on %hostname%"
$template mailBody,"RSYSLOG Alert\r\nmsg='%msg%'"
$ActionMailSubject mailSubject
$ActionExecOnlyOnceEveryInterval 60
*.*
Should i change or add any thing else.


