Notification broken when using external SMTP Server
Netflow visualisation and investigation tool
Brought to you by:
phaag
When connecting to an external SMTP SERVER (ie. not localhost), Notification.pm uses the SMTP_SERVER variable for both opening the connection and creating the HELO statement. This violates RFC, and causes well configured email servers to refuse the email.
The attached patches add a HELO_SERVER variable to the config, and then use that when issuing the call to smtpsend().
Please include in the next release.
Fix SMTP behavior when using external SMTP_SERVER