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: