<?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[TLS SMTP problem]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">I use Office 365 as mail service and i'm stuck now with mail configuration (NetXMS server is a Debian machine). I installed msmtp and configured it as was an example here in forum (link to sendmail and sendmail is renamed). From shell is mail sending working good and I recieve my testmail, but NetXMS says in event log that "SYS_SMTP_FAILURE"and "Unable to send e-mail to &lt;blabla&gt;: Communication failure."<br />
I configured NetXMS as it seems to be right (SMTPServer tried both localhost and real IP).<br />
Another suggestion here was to use scripts .. is there some example for they? NetXMS is a really cool system, but that mail problem is a showstopper for me right now.</p>
]]></description><link>https://forum.netxms.org/topic/2654/tls-smtp-problem</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:47:53 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2654.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Oct 2013 08:26:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TLS SMTP problem on Mon, 22 May 2023 14:54:39 GMT]]></title><description><![CDATA[<p dir="auto">SMTP Authentication was added in 4.3, please see updated documentation: <a href="https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels</a></p>
]]></description><link>https://forum.netxms.org/post/32463</link><guid isPermaLink="true">https://forum.netxms.org/post/32463</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 22 May 2023 14:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to TLS SMTP problem on Wed, 09 Oct 2013 14:01:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/11493">TLS SMTP problem</a>:</p>
<blockquote>
<p dir="auto">Hi!</p>
<p dir="auto">NetXMS server uses SMTP protocol to deliver mails. If it is unable to communicate with your post server directly, you can install local SMTP server (mail client is not enough), configure NetXMS to use 127.0.0.1 as SMTP server, and just forward everything from your local SMTP server to your real mail server. On Debian Postfix could be right choice. This is short document on how to configure Postfix to forward everything to mail gateway: <a href="http://marcelog.github.io/articles/configure_postfix_forward_all_email_smtp_gateway.html" rel="nofollow ugc">http://marcelog.github.io/articles/configure_postfix_forward_all_email_smtp_gateway.html</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
</blockquote>
<p dir="auto">Got it working with Exim4 (default MTA in Debian). If anybody wants .. here is what I did in exim4.conf file:</p>
<p dir="auto">First, allow relay from localhost and my own LAN</p>
<p dir="auto">hostlist relay_from_hosts = 127.0.0.1 : my.lan.ip.range/24</p>
<p dir="auto"><strong>A new router to Router section (I named it send_to_gateway):</strong></p>
<p dir="auto">send_to_gateway:<br />
  driver = manualroute<br />
  domains = !+local_domains<br />
  transport = ms_smtp<br />
  route_list = * pod(your_Office365_smtp_server_number_here).outlook.com</p>
<p dir="auto"><strong>Then a new transport in Transport section</strong></p>
<p dir="auto">ms_smtp:<br />
  driver = smtp<br />
  port = 587<br />
  hosts_require_auth = $host_address<br />
  hosts_require_tls = $host_address</p>
<p dir="auto"><strong>And then new authenticator to Authenticators section</strong> (i commented out another authenticator, that used same public name, without that throw exim an configuration error):</p>
<p dir="auto">smtp_login:<br />
  driver = plaintext<br />
  public_name = LOGIN<br />
  hide client_send = : <a href="mailto:username@domain.com" rel="nofollow ugc">username@domain.com</a> : password</p>
]]></description><link>https://forum.netxms.org/post/11494</link><guid isPermaLink="true">https://forum.netxms.org/post/11494</guid><dc:creator><![CDATA[tiithe]]></dc:creator><pubDate>Wed, 09 Oct 2013 14:01:00 GMT</pubDate></item><item><title><![CDATA[Reply to TLS SMTP problem on Wed, 09 Oct 2013 08:58:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">NetXMS server uses SMTP protocol to deliver mails. If it is unable to communicate with your post server directly, you can install local SMTP server (mail client is not enough), configure NetXMS to use 127.0.0.1 as SMTP server, and just forward everything from your local SMTP server to your real mail server. On Debian Postfix could be right choice. This is short document on how to configure Postfix to forward everything to mail gateway: <a href="http://marcelog.github.io/articles/configure_postfix_forward_all_email_smtp_gateway.html" rel="nofollow ugc">http://marcelog.github.io/articles/configure_postfix_forward_all_email_smtp_gateway.html</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11493</link><guid isPermaLink="true">https://forum.netxms.org/post/11493</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 09 Oct 2013 08:58:40 GMT</pubDate></item></channel></rss>