Code: Select all
2025/01/29 11:55:43 rootcheck: INFO: Ending rootcheck scan.
2025/01/29 13:14:00 getaddrinfo: System error
2025/01/29 13:14:00 ossec-maild(1223): ERROR: Error Sending email to mta5.am0.yahoodns.net (smtp server)
2025/01/29 15:14:43 getaddrinfo: System error
2025/01/29 15:14:43 ossec-maild(1223): ERROR: Error Sending email to mta5.am0.yahoodns.net (smtp server)
Code: Select all
<global>
<email_notification>yes</email_notification>
<email_to>user@yahoo.com</email_to>
<smtp_server>mta5.am0.yahoodns.net</smtp_server>
<email_from>ossec@mydomain.com</email_from>
</global>
Code: Select all
swaks --to user@yahoo.com --from ossec@mydomain.com
swaks --to user@yahoo.com --from ossec@mydomain.com --server 127.0.0.1 # I have a locally running exim server
swaks --to user@yahoo.com --from ossec@mydomain.com --server mta5.am0.yahoodns.net
Thanks