From what i worked out on my server , you will need to use the second option of an entry for each email address .

Assaf

daniel rahmeh wrote:
Hello,

I'd like to know how to configure OSSEC to send email notification to
multiple recipients. For exemple [email protected] and [email protected]

I was thinking about this:

 <email_alerts>
        <email_to>[email protected]</email_to>
        <email_to>[email protected]</email_to>
        <level>5</level>
        <event_location>server.xyz.com|server2.xyz.com</event_location>
 </email_alerts>

but it doesn't seam to work because only [email protected].

Should i seperate the two recipients? like this:

<email_alerts>
        <email_to>[email protected]</email_to>
        <level>5</level>
        <event_location>server.xyz.com|server2.xyz.com</event_location>
 </email_alerts>

<email_alerts>
        <email_to>[email protected]</email_to>
        <level>5</level>
        <event_location>server.xyz.com|server2.xyz.com</event_location>
 </email_alerts>

thank you


--

Assaf Flatto Linux System Administrator
No.9 | 6 Portal Way | London | W3 6RU |
T: +44 (0)20 88 96 8014 | M: +44 (0)75 3568 1067

-----------------------------------------------------------------------------------------------------------------------------------------
LOVEFiLM UK Limited is a company registered in England and Wales. Registered Number: 06528297. Registered Office: No.9, 6 Portal Way, London W3 6RU, United Kingdom.

This e-mail is confidential to the ordinary user of the e-mail address to which it was addressed. If you have received it in error, please delete it from your system and notify the sender immediately.

This email message has been delivered safely and archived online by Mimecast.
For more information please visit http://www.mimecast.co.uk -----------------------------------------------------------------------------------------------------------------------------------------

Reply via email to