Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

smtp setup

$
0
0
I tried to follow the instructions for setting up SMTP from this documentation link:

  http://support.hyperic.com/display/DOC/Configuring+HQ+Server+for+SMTP+Server

But the description does not complete match the jboss-services-events.xml, so I tried a few things. In some cases, upon an alert I can see in the server.log file that the server couldn't send an email and I know my setup is wrong...But in other cases (like the configuration setup below), it doesn't complain, however the email never arrives.

Since I am using the Amazon AWS AMI with a pre-installed HQ server, I have no root password of the instance and I can't peek in the var/log/mail* files to see what happens with the alert-emails...

Anyway, any suggestions on what's wrong with the below SMTP setup?


<server>
  <!-- ==================================================================== -->
  <!-- Mail Connection Factory                                              -->
  <!-- ==================================================================== -->

  <mbean code="org.jboss.mail.MailService"
         name="jboss:service=SpiderMail">
    <attribute name="JNDIName">java:/SpiderMail</attribute>
    <attribute name="User">joe@blah.com</attribute>
    <attribute name="Password">secret_pwd</attribute>
    <attribute name="Configuration">
       <!-- SMTP -->
       <configuration>
         <property name="mail.smtp.auth" value="true"/>
         <property name="mail.smtp.port" value="25"/>
       </configuration>
    </attribute>
  </mbean>

</server>

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>