[prev in list] [next in list] [prev in thread] [next in thread]
List: opennms-discuss
Subject: Re: [opennms-discuss] Is there a way to change source email address of notifications?
From: mgdnms <murray.g.davis () gmail ! com>
Date: 2012-01-25 0:09:57
Message-ID: 1327450197763-7222380.post () n2 ! nabble ! com
[Download RAW message or body]
Thanks, Tan
I tried changing the from address, but somehow broke my notifications. Using
the GUI (Admin/Configure Discovery), I added two fictitious IP addresses
that obviously should generate an email. I am also puzzled by the fact in
the Node List, all my servers are listed, but if I click on one of the
fictitious servers, the availability is shown as 100%, but the server is
shown as not monitored. Actually, all my servers show as not monitored. I
can generate an email using the command line, such as: echo "Testing..." |
mail -s "Hey a test" email@bob.com, so I know sendmail/postfix is working.
This is on a Ubuntu system.
Very puzzling. I checked log files, but can't seem to find the log file that
says anything is wrong.
<?xml version="1.0" encoding="UTF-8"?>
<javamail-configuration
xmlns:this="http://xmlns.opennms.org/xsd/config/javamail-configuration"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.opennms.org/xsd/config/javamail-configuration
"
default-read-config-name="localhost"
default-send-config-name="localhost" >
<sendmail-config name="localhost"
attempt-interval="3000" use-authentication="false"
use-jmta="true"
debug="true" >
<sendmail-host host="127.0.0.1" port="25"/>
<sendmail-protocol char-set="us-ascii" mailer="smtpsend"
message-content-type="text/plain"
message-encoding="7-bit"
quit-wait="true" ssl-enable="false" start-tls="false"
transport="smtp"/>
<sendmail-message to="root@localhost"
from="root@[127.0.0.1]"
subject="OpenNMS Test Message"
body="This is an OpenNMS test message." />
<user-auth user-name="opennms" password="opennms" />
</sendmail-config>
<sendmail-config name="google" attempt-interval="3000"
use-authentication="true" use-jmta="true" debug="true" >
<sendmail-host host="smtp.gmail.com" port="465"/>
<sendmail-protocol char-set="us-ascii" mailer="smtpsend"
message-content-type="text/plain"
message-encoding="7-bit"
quit-wait="true" ssl-enable="true" start-tls="false"
transport="smtps"/>
<sendmail-message to="noc@networksRus.com"
from="networksRusNOC@gmail.com"
subject="OpenNMS Test Message"
body="This is an OpenNMS test message." />
<user-auth user-name="networksRusNOC" password="w00t" />
</sendmail-config>
<readmail-config name="localhost"
attempt-interval="1000" delete-all-mail="false"
mail-folder="INBOX"
debug="true" >
<javamail-property name="mail.pop3.apop.enable" value="false"/>
<javamail-property name="mail.pop3.rsetbeforequit" value="false" />
<readmail-host host="127.0.0.1" port="110">
<readmail-protocol ssl-enable="false" start-tls="false"
transport="pop3"/>
</readmail-host>
<user-auth user-name="opennms" password="opennms" />
</readmail-config>
<readmail-config name="google" attempt-interval="1000"
delete-all-mail="false" mail-folder="INBOX" debug="true" >
<readmail-host host="imap.gmail.com" port="993">
<readmail-protocol ssl-enable="true" start-tls="true"
transport="imaps"/>
</readmail-host>
<user-auth user-name="networksRusNOC" password="w00t" />
</readmail-config>
<end2end-mail-config name="default" readmail-config-name="localhost"
sendmail-config-name="localhost" />
--
View this message in context: \
http://opennms.530661.n2.nabble.com/Is-there-a-way-to-change-source-email-address-of-notifications-tp7198680p7222380.html
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic