OSSEC and local notification

Discussion in 'all things UNIX' started by Gullible Jones, Jan 23, 2013.

Thread Status:
Not open for further replies.
  1. I have installed OSSEC on one of my Linux computers. It works, but I would like to get local notifications in my user's mail folder, instead of email notifications. I'm Googling on this but having trouble finding anything... Can it be done? How?

    Oh, bonus points to anyone who can tell me how to make Xfce notify me graphically upon receiving local mail.
     
  2. ddpbsd

    ddpbsd Registered Member

    Joined:
    Jan 25, 2013
    Posts:
    1
    You should be able to use a local account's email address. I do this on my laptop.

    Code:
    <ossec_config>
      <global>
        <email_notification>yes</email_notification>
        <email_to>ddp@localhost</email_to>
        <smtp_server>127.0.0.1</smtp_server>
        <email_from>ossecm@arrakis.example.com</email_from>
    
    The local smtpd knows how to deal with this.
     
  3. Ah, thank you!

    Edit: thanks, that works. Note that one has to install an MTA; I used sendmail because it was simpler to configure than postfix.
     
    Last edited by a moderator: Jan 25, 2013
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.