<?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[SMTP AUTH support]]></title><description><![CDATA[<p dir="auto">Today every organization/service-provider are having this basic security for SPAM protection. In such scenario NextXMS will fail to send e-mails.<br />
Please consider SMTP AUTH feature on high priority!!!</p>
<p dir="auto">SMTP AUTH implementation is just addition of 2 send-receive after getting "250 AUTH ..." for EHLO domain-name\r\n.<br />
<img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> AUTH LOGIN\r\n<br />
S: 334 message &lt;- here message is base64 encoding for constant string "Username:" i.e. VXNlcm5hbWU6<br />
<img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> base64_encode(Login_str,Login_str.size())\r\n<br />
S: 334 message &lt;- as above here message is base64 encoding for constant string "Password:" i.e. UGFzc3dvcmQ6<br />
<img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> base64_encode(Passwd_str,Passwd_str.size())\r\n<br />
S: 235 or 334 message<br />
<img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> MAIL FROM: <a href="mailto:support@netxms.org" rel="nofollow ugc">support@netxms.org</a>\r\n</p>
<p dir="auto">PLAIN mechanism consists of a single message from the client to the server.  The client sends the authorization identity (identity to login as), followed by a US-ASCII NUL character, followed by the authentication identity (identity whose password will be used), followed by a US-ASCII NUL character, followed by the clear-text password.  The client may leave the authorization identity empty to indicate that it is the same as the authentication identity.<br />
In other words, the correct form of the AUTH PLAIN value is 'authid\0userid\0passwd' where '\0' is the NUL byte into UTF-8 encoding.</p>
<p dir="auto"><img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> ehlo <a href="http://client.example.com" rel="nofollow ugc">client.example.com</a><br />
S: 250 AUTH PLAIN<br />
<img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> AUTH PLAIN dGVzdAB0ZXN0AHRlc3RwYXNz<br />
S: 235 ok, go ahead (#2.0.0)<br />
<img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> RCPT TO:&lt;....&gt;</p>
<p dir="auto">In this sample, the user name was 'test' and the password 'testpass'.</p>
<p dir="auto">   The server will verify the authentication identity and password with the system authentication database and verify that the authentication credentials permit the client to login as the authorization identity. If both steps succeed, the user is logged in.</p>
<p dir="auto">   Non-US-ASCII characters are permitted as long as they are represented in UTF-8 [UTF-8].  Use of non-visible characters or characters which a user may be unable to enter on some keyboards is discouraged.</p>
<p dir="auto">   The formal grammar for the client message using Augmented BNF [ABNF] follows.<br />
   message         = [authorize-id] NUL authenticate-id NUL password<br />
   authenticate-id = 1*UTF8-SAFE      ; MUST accept up to 255 octets<br />
   authorize-id    = 1*UTF8-SAFE      ; MUST accept up to 255 octets<br />
   password        = 1*UTF8-SAFE      ; MUST accept up to 255 octets<br />
   NUL             = %x00<br />
   UTF8-SAFE       = %x01-09 / %x0B-0C / %x0E-7F / UTF8-2 / UTF8-3 / UTF8-4 / UTF8-5 / UTF8-6<br />
   UTF8-1          = %x80-BF<br />
   UTF8-2          = %xC0-DF UTF8-1<br />
   UTF8-3          = %xE0-EF 2UTF8-1<br />
   UTF8-4          = %xF0-F7 3UTF8-1<br />
   UTF8-5          = %xF8-FB 4UTF8-1<br />
   UTF8-6          = %xFC-FD 5UTF8-1</p>
<p dir="auto">Support of CRAM-MD5 DIGEST-MD5 and SMTPS/STARTTLS will require some good amount of work but PLAIN authentication is pretty simple.</p>
]]></description><link>https://forum.netxms.org/topic/1024/smtp-auth-support</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:21:33 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1024.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Nov 2010 10:50:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SMTP AUTH support on Tue, 28 Feb 2012 17:02:41 GMT]]></title><description><![CDATA[<p dir="auto">up, if possible please add this feature</p>
<p dir="auto">udp? found another way</p>
]]></description><link>https://forum.netxms.org/post/6995</link><guid isPermaLink="true">https://forum.netxms.org/post/6995</guid><dc:creator><![CDATA[SKYnv]]></dc:creator><pubDate>Tue, 28 Feb 2012 17:02:41 GMT</pubDate></item></channel></rss>