On Fri, 19 Jul 2013, jc_ruiz wrote:

I want to email  multiple email messages and I?m only getting the first one.
How can I configure the omail to send off multiple email messages

here is the config that I have
Can you also please provide me the link to the doc that touches base on this
topic or related topics?

$template mailSubject,"A syslog alert at %timegenerated% from %hostname%"
$template mailBody,"RSYSLOG Alert\r\nmsg='%msg%'"
$template mailBody1,"RSYSLOG Alert\r\nmsg='%msg%'"
$ActionMailSubject mailSubject

if $msg contains 'Login' then  :ommail:;mailBody
&

& indicates that you are wanting to implement a new action with the same decision logic as the prior line, but you don't show an action here.

you don't show us what you are doing for setting all the variables, it's possible that you need to specify some variables again. Some of them (like the destination address) get cleared when you do an action, and would need to be specified again before the next action.

David Lang

if $msg contains 'Configured' then :ommail:;mailBody1

Thanks,




--
View this message in context: 
http://rsyslog-rsyslog-users.1305293.n2.nabble.com/Multiple-Email-messages-filter-tp7581205.html
Sent from the rsyslog -- rsyslog-users mailing list archive at Nabble.com.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to