Hi guys, I'm trying over here to make e-mail alerts to work one way or another but I'm running only into problems and searching for solution didn't help too much. So here's the story: I've installed hyperic OSS version on a ubuntu 7.04 server edition. I have a special mail server...let's call it mail.ba.com Now...I've changed from jboss-service-events.xml file to look like this: <property name="mail.store.protocol" value="pop3"/> <property name="mail.transport.protocol" value="smtp"/>
<!-- Change to the user who will receive mail --> <property name="mail.user" value="me@ba.com"/>
<!-- Change to the mail server --> <property name="mail.pop3.host" value="mail.ba.com"/>
<!-- Change to the SMTP gateway server --> <property name="mail.smtp.host" value="mail.ba.com"/>
<!-- Enable debugging output from the javamail classes --> <property name="mail.debug" value="true"/>
Now when I trigger an alert I see this in server.log file: 2007-09-06 16:00:53,166 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc] 2007-09-06 16:00:53,207 INFO [STDOUT] DEBUG SMTP: useEhlo true, useAuth false 2007-09-06 16:00:53,208 INFO [STDOUT] DEBUG SMTP: trying to connect to host "mail.ba.com", port 25 2007-09-06 16:00:53,426 INFO [STDOUT] 220 rblsmtpd.local 2007-09-06 16:00:53,427 INFO [STDOUT] DEBUG SMTP: connected to host "mail.ba.com", port: 25 2007-09-06 16:00:53,434 INFO [STDOUT] EHLO ubuntu 2007-09-06 16:00:53,465 INFO [STDOUT] 250 rblsmtpd.local 2007-09-06 16:00:53,468 INFO [STDOUT] DEBUG SMTP: use8bit false 2007-09-06 16:00:53,469 INFO [STDOUT] MAIL FROM:<hqadmin@HypericIP!!!> 2007-09-06 16:00:53,506 INFO [STDOUT] 250 rblsmtpd.local 2007-09-06 16:00:53,506 INFO [STDOUT] RCPT TO:<me@ba.com> 2007-09-06 16:00:53,541 INFO [STDOUT] 451 http://www.spamhaus.org/SBL/sbl.lasso?query=Sxxxxxxxx 2007-09-06 16:00:53,541 INFO [STDOUT] DEBUG SMTP: Valid Unsent Addresses 2007-09-06 16:00:53,542 INFO [STDOUT] DEBUG SMTP: <me@ba.com> 2007-09-06 16:00:53,542 INFO [STDOUT] DEBUG SMTP: Sending failed because of invalid destination addresses 2007-09-06 16:00:53,542 INFO [STDOUT] RSET 2007-09-06 16:00:53,573 INFO [STDOUT] 250 rblsmtpd.local
I want to mention that I just installed sendmail on the server without any further customizations... Something weird: if you look at 2007-09-06 16:00:53,469 INFO [STDOUT] MAIL FROM:<hqadmin@HypericIP!!!> this is weird since I know I changed that address to me@ba.com but apparently not and I can't find from where to changed that. Can someone please please look into this and give me a solution...or using my existing mail server or making a new one on this hyperic machine only for this? many thanks, Chris
Message was edited by: chrisv
oh forgot to mention that my existing mail server - mail.ba.com is using SMTP authentification but I don't know how can I specify that... 😞 Message was edited by: chrisv