[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-list] Re: Granular Email Options
- To: ossec-list@xxxxxxxxxxxxxxxx
- Subject: [ossec-list] Re: Granular Email Options
- From: "Daniel Cid" <daniel.cid@xxxxxxxxx>
- Date: Sun, 16 Sep 2007 23:08:23 -0300
- Authentication-results: mx.google.com; spf=pass (google.com: domain of daniel.cid@xxxxxxxxx designates 64.233.166.181 as permitted sender) smtp.mail=daniel.cid@xxxxxxxxx; dkim=pass (test mode) header.i=@xxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=syuiQra65+Fim9wJRjlhU8yt8RLraDK30Ny8BCJQoa8=; b=PMn9R6Z+6QmdGXAomcY+8M2/W8Mtv6gQV7DS/oZ636jnkD7v37QpNoS9cNAU7N73VY27pJ11qs7VtdqdqZuqLMgDmVxWvUp2KFHHZoq+k/akFsnYlaEC1V9fi7Yo9gYgBWC9PCXeZvC3Lk/i92Ep0malxoH7CWqVVGlugQV8GR8=
Hi,
It is not possible to set multiple "e-mail from" options in the
granular configuration,
because we send only one e-mail with multiple CCs instead of multiple ones... It
would require quite some changes in the internals of ossec-maild to
support that.
Thanks,
--
Daniel B. Cid
dcid ( at ) ossec.net
On 9/15/07, mcamacho75 <mcamacho75@xxxxxxxxx> wrote:
>
> I think you may have misread my email. I had already read the posting
> to this group and the article on the OSSEC web site. I have already
> successfully configured OSSEC to send email notifications "to"
> different email addresses based on agents and events and find that it
> works perfectly.
>
> However, what I wanted to know is if it is also possible to have the
> notifications appear to have been sent "from" different email
> addresses based on agents and events.
>
> Below is an example of an ossec.conf file that may better illustrate
> what I am trying to do:
>
> <global>
> <email_notification>yes</email_notification>
> <email_to>recipient@xxxxxxxxxx</email_to>
> <smtp_server>mailserver.domain.com.</smtp_server>
> <email_from>OssecAlert@domain</email_from>
> </global>
>
> <email_alerts>
> <email_to>recipient@xxxxxxxxxx</email_to>
> <email_from>FirewallAlert@xxxxxxxxxx</email_from>
> <group>firewall</group>
> </email_alerts>
>
> If I try to start OSSEC with the above lines in the ossec.conf file I
> get the following error:
>
> 2007/09/15 08:28:24 ossec-maild(1230): Invalid element in the
> configuration: 'email_from'.
>
> If I remove the email_from tag from the email_alerts entry then
> everything works fine. Having a different "from" address by alert or
> eventtype would be useful to me but from what I have seen it doesnt
> appear to be possible. I was hoping to confirm whether or not I am
> doing something wrong or if this is in fact not a supported
> configuration.
>
> On Sep 14, 8:07 pm, "Peter M. Abraham" <peter.m.abra...@xxxxxxxxx>
> wrote:
> > Greetings:
> >
> > That was just asked the other day <smile>
> >
> > http://groups.google.com/group/ossec-list/browse_thread/thread/b8075a...
> >
> > >From Daniel B. Cid:
> >
> > "Hi Jason,
> >
> > This feature is already implemented (granular e-mail alerting). Take a
> > look at:
> >
> > http://www.ossec.net/wiki/index.php/Know_How:GranularEmail
> >
> > Hope it helps."
> >
> > Thank you.
>
>
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.