Just installed ossec and sendmail however can't able to get alerts to my gmail from ossec. I am able to see the alerts on the sendmail localhost, however alerts seem to be not forwarding to gmail.


Have you checked that you are able to send an email from your sendmail to your gmail?

It is probably a sendmail problem. General debugging:

  • check your mail.err
  • check your mail.log
  • Gmail: does your IP have a reverse dns entry?
  • Does your ISP block outgoing traffic on the SMTP port? (25)

In /var/ossec/etc/ossec.conf Do you see your email address listed there?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.