Random Project

Excellent!

The plugin itself works just great. There is however a minor issue. In my case the plugin identifies itself to the remote server with ‘ HELO localhost.localdomain’. My server does not accept this is as part of antispam solution.

The fix is to add “Hello=>’your.nagios.server'” to the new class instance definition:

$smtp = Net::SMTP->new($smtp_server, Port=>$smtp_port, Timeout=>$timeout,Debug=>$smtp_debug, Hello=>’nagios.example.com’);