[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-install
Subject:    [opennms-install] javax.mail.authenticationfailedexception Notification is not emailed.
From:       Kyle Morgan <kmorgan () rollxvans ! com>
Date:       2012-07-31 22:12:18
Message-ID: 2012731171218.923975 () kmorgan
[Download RAW message or body]

[Attachment #2 (text/html)]

<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Tahoma';font-size:10pt;font-color:'#080000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
body{}
--></style>
</head><BODY BGCOLOR="white" ><div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">I am having trouble configuring email to \
send my notifications.</SPAN></div> <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">Notifications have been \
turned on and both the admin account and the two user accounts in the destination \
path have valid email addresses.</SPAN></div> <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">This is the error I have in \
notifd.log</SPAN></div> <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">2012-07-31 16:35:10,118 ERROR \
[Thread-465392] JavaMailNotificationStrategy: send: Error sending \
notification.</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">org.opennms.javamail.JavaMailerException: \
Java Mailer messaging exception: \
javax.mail.AuthenticationFailedException</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; at \
org.opennms.javamail.JavaMailer.sendMessage(JavaMailer.java:453)</SPAN></div> \
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; \
at org.opennms.javamail.JavaMailer.mailSend(JavaMailer.java:246)</SPAN></div> \
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; \
at org.opennms.netmgt.notifd.JavaMailNotificationStrategy.send(JavaMailNotificationStrategy.java:65)</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; \
at org.opennms.netmgt.notifd.ClassExecutor.execute(ClassExecutor.java:63)</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; \
at org.opennms.netmgt.notifd.NotificationTask.run(NotificationTask.java:260)</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">Caused by: \
javax.mail.AuthenticationFailedException</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; at \
javax.mail.Service.connect(Service.java:319)</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; at \
org.opennms.javamail.JavaMailer.sendMessage(JavaMailer.java:440)</SPAN></div> \
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">&#160; &#160; &#160; &#160; \
... 4 more</SPAN></div> <div><SPAN style="font-family:'Tahoma';font-size:10pt;">Below \
is the javamailer-configuration.properties file.</SPAN></div> <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">The changes I have made are \
in Red (I am not sure if color is an option, thus they are underlined as well) \
anything I needed to modify from default I left commented out and added a line, that \
didn't cause the issue as I had tried it differently before. I wanted to be able to \
see the defaults as I worked to figure it out this time.</SPAN></div> \
<div>&nbsp;</div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">################################################################################</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;"># This file is the \
configuration for the the JavaMailer class. &#160;It is used to</SPAN></div> \
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># specify the details of the \
JavaMailer system properties</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">################################################################################</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># Properties are defined but \
commented out indicating the default values.</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div> <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># This property defines \
system sender account.</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;"># The default setting is \
root@[127.0.0.1]</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.fromAddress=root@[127.0.0.1]</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U>org.opennms.core.utils.fromAddress=TheEmailAddress</U></SPAN></div>
 <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># These properties define the \
SMTP Host.</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.mailHost=127.0.0.1</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U>org.opennms.core.utils.mailHost=smtp.gmail.com</U></SPAN></div>
 <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.mailer=smtpsend</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.transport=smtp</B></U></SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.debug=true</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.smtpport=25</B></U></SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.smtpssl.enable=false</B></U></SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.quitwait=true</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># This property controls the \
use of the JMTA</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;"># if it is true, mailHost will be \
ignored</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">org.opennms.core.utils.useJMTA=false</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># These properties define the \
Mail authentication.</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.authenticate=false</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.authenticate=true</B></U></SPAN></div>
 <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.authenticateUser="opennms"</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.authenticateUser="TheEmailAddress"</B></U></SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.authenticatePassword="opennms"</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.authenticatePassword="ThePassword"</B></U></SPAN></div>
 <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">#org.opennms.core.utils.starttls.enable=false</SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.starttls.enable=true</B></U></SPAN></div>
 <div>&nbsp;</div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div>
<div><SPAN style="font-family:'Tahoma';font-size:10pt;"># These properties configure \
message content</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;">#</SPAN></div> <div><SPAN \
style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.messageContentType=text/plain</B></U></SPAN></div>
 <div><SPAN style="font-family:'Tahoma';font-size:10pt;color:red;"><U><B>org.opennms.core.utils.charset=us-ascii</B></U></SPAN></div>
 <div>&nbsp;</div>
</body></html>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic