<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Email alerts in 2.1-M1 not working?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Email alerts on our system stopped working after we upgraded to NetXMS 2.1-M1 (which required an upgrade to Ubuntu 16 for JDK8 and was followed by an upgrade of Postgres to 9.5 - so plenty of changes).</p>
<p dir="auto">The NetXMS configuration was pretty basic and meant to send emails through localhost. Manually sending via telnet works without a problem.<br />
I increased debug logging on the server, monitored Postfix logs as well as NetXMS and found that Postfix does not even see a connection attempt from NetXMS.<br />
NetXMS on the other hand gives me this (email address/server name/DCI data replaced):</p>
<pre><code>[07-Dec-2016 17:13:48.650] [DEBUG] *actions* Executing action 4 ([Email] Standard Alert) of type SEND EMAIL
[07-Dec-2016 17:13:48.650] [DEBUG] *actions* Sending mail to EMAIL_ADDRESS: ""DCI_DESCRIPTION" is in state "NORMAL" - (Parameter: DCI_PARAMETER)"
[07-Dec-2016 17:13:48.655] [DEBUG] SMTP(0x7f5d6c2a3390): Failed to send e-mail, remaining retries: 4
[07-Dec-2016 17:13:48.656] [DEBUG] SMTP(0x7f5d6c2a3390): Failed to send e-mail, remaining retries: 3
[07-Dec-2016 17:13:48.656] [DEBUG] SMTP(0x7f5d6c2a3390): Failed to send e-mail, remaining retries: 2
[07-Dec-2016 17:13:48.656] [DEBUG] SMTP(0x7f5d6c2a3390): Failed to send e-mail, remaining retries: 1
[07-Dec-2016 17:13:48.657] [DEBUG] SMTP(0x7f5d6c2a3390): Failed to send e-mail, remaining retries: 0
[07-Dec-2016 17:13:48.657] [DEBUG] EVENT SYS_SMTP_FAILURE [22] (ID:4307970 F:0x0001 S:1 TAG:"") FROM SERVER_HOSTNAME: Unable to send e-mail to &lt;EMAIL_ADDRESS&gt;: Unable to resolve SMTP server name
</code></pre>
<p dir="auto">I am not sure what there is to resolve for localhost or the IP 127.0.0.1 (I tested that as well). But either way, localhost does resolve locally without problems and telnet to localhost on port 25 works fine.</p>
<p dir="auto">Has anyone else run into this?</p>
]]></description><link>https://forum.netxms.org/topic/4824/email-alerts-in-2.1-m1-not-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 21:05:22 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4824.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Dec 2016 06:24:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Email alerts in 2.1-M1 not working? on Wed, 07 Dec 2016 14:11:21 GMT]]></title><description><![CDATA[<p dir="auto">sorry I forgot to tell about the reconfigure part of postfix</p>
]]></description><link>https://forum.netxms.org/post/21469</link><guid isPermaLink="true">https://forum.netxms.org/post/21469</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 07 Dec 2016 14:11:21 GMT</pubDate></item><item><title><![CDATA[Reply to Email alerts in 2.1-M1 not working? on Wed, 07 Dec 2016 10:45:11 GMT]]></title><description><![CDATA[<p dir="auto">Looks like we basically went through the same steps when running into this problem.<br />
And yes, using the external IP of the server works (after reconfiguring Postfix to allow to relay).<br />
Thanks for pointing that out. <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/post/21468</link><guid isPermaLink="true">https://forum.netxms.org/post/21468</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Wed, 07 Dec 2016 10:45:11 GMT</pubDate></item><item><title><![CDATA[Reply to Email alerts in 2.1-M1 not working? on Wed, 07 Dec 2016 07:15:22 GMT]]></title><description><![CDATA[<p dir="auto">There is a bug introduced in V2.1-M1,<br />
see <a href="https://www.netxms.org/forum/general-support/problem-with-smtp-action-(maybe-since-v2-10-m1)/" rel="nofollow ugc">https://www.netxms.org/forum/general-support/problem-with-smtp-action-(maybe-since-v2-10-m1)/</a></p>
<p dir="auto">use the IP address of the server instead for the moment.</p>
<p dir="auto">best regards<br />
Dani</p>
]]></description><link>https://forum.netxms.org/post/21465</link><guid isPermaLink="true">https://forum.netxms.org/post/21465</guid><dc:creator><![CDATA[user54119]]></dc:creator><pubDate>Wed, 07 Dec 2016 07:15:22 GMT</pubDate></item></channel></rss>