<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Configuring alert email without providing mail server user name &amp;amp; password in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306228#M222749</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9321"&gt;@gzigldrum&lt;/a&gt;, Please find the answers below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1) Is the mail server hostname the host where CM is installed on, or a different host?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;A) It is a different host.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2) Please login to CM, change the url in browser location bar to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;/cmf/debug/jmx&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;and grep for MBeanServerId, does that show localhost or the correct hostname?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;A) It is showing localhost_somenumber (&lt;SPAN&gt;&lt;SPAN class="objectBox objectBox-string"&gt;ZMLPZCNVSAPP03_1600837272908)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3) What do those commands show:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;A) # getent hosts &amp;lt;mail server hostname&amp;gt; - Displays my mail server IP and Host Name&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # getent hosts &amp;lt;cm server hostname&amp;gt; - Displays CM IP &amp;amp; Host Name&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # getent hosts localhost - displays below info in the screenshot&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Capture.JPG" style="width: 540px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29573i0BD7E24B4941B4CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Nov 2020 13:09:36 GMT</pubDate>
    <dc:creator>SuryaDilip</dc:creator>
    <dc:date>2020-11-19T13:09:36Z</dc:date>
    <item>
      <title>Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306137#M222704</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm using Cloudera Express 6.3.0. I'm trying to configure alert emails to be received by a list of users. While configuring properties, it is asking for&amp;nbsp;mail server user name &amp;amp; password. We have SMTP enabled and we are triggering emails with sendmail command on the nodes where Cloudera is installed. But, here why we need to provide the&amp;nbsp;mail server user name &amp;amp; password for receiving the alert emails on our mail id. I have found a solution for this in Cloudera community (&lt;A href="https://community.cloudera.com/t5/Support-Questions/Why-does-Alert-Publisher-require-mail-server-login-amp/m-p/41003#M36254" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/Why-does-Alert-Publisher-require-mail-server-login-amp/m-p/41003#M36254&lt;/A&gt;), but it is not working for my version of Cloudera. Does any know a turnaround for this.&lt;/P&gt;&lt;P&gt;Please refer to the link above for the solution provided &amp;amp; please also see the picture attached for better understanding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="When i click on Send Test Alert, i  see this pop up &amp;amp; the email is not triggering" style="width: 581px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29552i1001C69120B1A3B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot (52).png" alt="When i click on Send Test Alert, i  see this pop up &amp;amp; the email is not triggering" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;When i click on Send Test Alert, i  see this pop up &amp;amp; the email is not triggering&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mail Server UN &amp;amp; PWD" style="width: 738px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29553iC68CC17C3799487B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mail Server UN &amp;amp; PWD.JPG" alt="Mail Server UN &amp;amp; PWD" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Mail Server UN &amp;amp; PWD&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:15:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306137#M222704</guid>
      <dc:creator>SuryaDilip</dc:creator>
      <dc:date>2020-11-17T08:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306140#M222705</link>
      <description>&lt;P&gt;Username/password is not strictly required for sending mails. This is not the cause for the issues you are seeing. Check the Alert Publisher logs for errors at the time when you hit the &lt;EM&gt;&lt;STRONG&gt;Send Test Alert&lt;/STRONG&gt;&lt;/EM&gt; button, there will be related errors shown why email delivery doesn't work yet.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 09:12:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306140#M222705</guid>
      <dc:creator>gzigldrum</dc:creator>
      <dc:date>2020-11-17T09:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306173#M222726</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9321"&gt;@gzigldrum&lt;/a&gt;, thanks for replying. The below message is what i see in logs. As, per the below error "Couldn't connect to host, port: &lt;FONT color="#FF0000"&gt;localhost&lt;/FONT&gt;, 25; timeout 30000;"&amp;nbsp; - As I highlighted in red color, why it is trying to connect to localhost? I provided the SMTP hostname:port no. in the "Alerts: Mail Server Hostname" config. I did not get any solid info from the log about why the error is occurring. Do you find anything from the below message?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stacktrace&lt;BR /&gt;---------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 25; timeout 30000;&lt;BR /&gt;nested exception is:&lt;BR /&gt;java.net.ConnectException: Connection refused (Connection refused)&lt;BR /&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2100)&lt;BR /&gt;at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:699)&lt;BR /&gt;at javax.mail.Service.connect(Service.java:366)&lt;BR /&gt;at org.apache.camel.component.mail.DefaultJavaMailSender.send(DefaultJavaMailSender.java:112)&lt;BR /&gt;at org.apache.camel.component.mail.MailProducer.process(MailProducer.java:63)&lt;BR /&gt;at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)&lt;BR /&gt;at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:173)&lt;BR /&gt;at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:436)&lt;BR /&gt;at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:168)&lt;BR /&gt;at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:541)&lt;BR /&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198)&lt;BR /&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:120)&lt;BR /&gt;at org.apache.camel.processor.Pipeline.process(Pipeline.java:83)&lt;BR /&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198)&lt;BR /&gt;at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:198)&lt;BR /&gt;at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:109)&lt;BR /&gt;at org.apache.camel.processor.MulticastProcessor.doProcessParallel(MulticastProcessor.java:841)&lt;BR /&gt;at org.apache.camel.processor.MulticastProcessor.access$200(MulticastProcessor.java:85)&lt;BR /&gt;at org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:328)&lt;BR /&gt;at org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:314)&lt;BR /&gt;at java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)&lt;BR /&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)&lt;BR /&gt;at java.lang.Thread.run(Thread.java:748)&lt;BR /&gt;Caused by: java.net.ConnectException: Connection refused (Connection refused)&lt;BR /&gt;at java.net.PlainSocketImpl.socketConnect(Native Method)&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)&lt;BR /&gt;at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)&lt;BR /&gt;at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)&lt;BR /&gt;at java.net.Socket.connect(Socket.java:606)&lt;BR /&gt;at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:329)&lt;BR /&gt;at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:238)&lt;BR /&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2066)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 17:33:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306173#M222726</guid>
      <dc:creator>SuryaDilip</dc:creator>
      <dc:date>2020-11-17T17:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306188#M222731</link>
      <description>&lt;P&gt;Thank you. That confirms alert email delivery fails because there is no SMTP daemon listening on localhost:25.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suspect there is a name resolution issue. Is the mail server hostname the host where CM is installed on, or a different host? Please login to CM, change the url in browser location bar to &lt;EM&gt;&lt;STRONG&gt;/cmf/debug/jmx&lt;/STRONG&gt;&lt;/EM&gt; and grep for MBeanServerId, does that show localhost or the correct hostname?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What do those commands show:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;# getent hosts &amp;lt;mail server hostname&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# getent hosts &amp;lt;cm server hostname&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# getent hosts localhost&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 08:08:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306188#M222731</guid>
      <dc:creator>gzigldrum</dc:creator>
      <dc:date>2020-11-18T08:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306228#M222749</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9321"&gt;@gzigldrum&lt;/a&gt;, Please find the answers below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1) Is the mail server hostname the host where CM is installed on, or a different host?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;A) It is a different host.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2) Please login to CM, change the url in browser location bar to&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;/cmf/debug/jmx&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;and grep for MBeanServerId, does that show localhost or the correct hostname?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;A) It is showing localhost_somenumber (&lt;SPAN&gt;&lt;SPAN class="objectBox objectBox-string"&gt;ZMLPZCNVSAPP03_1600837272908)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3) What do those commands show:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;A) # getent hosts &amp;lt;mail server hostname&amp;gt; - Displays my mail server IP and Host Name&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # getent hosts &amp;lt;cm server hostname&amp;gt; - Displays CM IP &amp;amp; Host Name&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # getent hosts localhost - displays below info in the screenshot&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Capture.JPG" style="width: 540px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/29573i0BD7E24B4941B4CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 13:09:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306228#M222749</guid>
      <dc:creator>SuryaDilip</dc:creator>
      <dc:date>2020-11-19T13:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306234#M222752</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27053"&gt;@SuryaDilip&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets try for a test to set CM -&amp;gt; Administration -&amp;gt; Settings -&amp;gt; Category: Ports and Addresses to the actual FQDN of the CM host. This needs a restart of CM server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that change, update Alert Publisher config and re-enter the mail server hostname again, and restart Alert Publisher. Do you see the same exception in the Alert Publisher logs then, for a test alert?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2020 13:48:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306234#M222752</guid>
      <dc:creator>gzigldrum</dc:creator>
      <dc:date>2020-11-19T13:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306343#M222799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/9321"&gt;@gzigldrum&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank U very very much for the help. I'm able to receive the email alerts. The solution you provided in the last answer really really helped me.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:29:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306343#M222799</guid>
      <dc:creator>SuryaDilip</dc:creator>
      <dc:date>2020-11-23T09:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring alert email without providing mail server user name &amp; password</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306344#M222800</link>
      <description>&lt;P&gt;Great to hear &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/27053"&gt;@SuryaDilip&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;Although I noticed my last update was not complete, I referenced the CM -&amp;gt; Administration -&amp;gt; Settings -&amp;gt; Category: Ports and Addresses -&amp;gt; &lt;STRONG&gt;&lt;EM&gt;Cloudera Manager Hostname Override&lt;/EM&gt;&lt;/STRONG&gt; configuration property.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 09:34:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-alert-email-without-providing-mail-server-user/m-p/306344#M222800</guid>
      <dc:creator>gzigldrum</dc:creator>
      <dc:date>2020-11-23T09:34:47Z</dc:date>
    </item>
  </channel>
</rss>

