Server Management - Systems Insight Manager
1833751 Members
2319 Online
110063 Solutions
New Discussion

Re: Email alerts, external address

 
James Crosland
Frequent Advisor

Email alerts, external address

I'm trying to setup to send alerts to an external address.The samer alert sends mail fine to internal addreses, but when you check back in the logs it comes up with the message below whenever you attempt to send externally.

Sending failed; javax.mail.SendFailedException: Invalid Addresses; javax.mail.SendFailedException: 551 This is not a relay host - mail must be to or from host domain.:

Originally the address i was using as a "sender" address was our mail, rather than our internal dns domain. I've now swapped it to the internal dns domain (which is the dns domain of the SIM server) and whilst mails are coming through internally with the updated mail settings, I'm still getting the same error message for external mail

4 REPLIES 4
Greg Lyon_1
New Member

Re: Email alerts, external address

James,

Were you able to resolve this problem? Of the five posts with javax.mail.SendFailedException, there are no solutions or response provided.

I am experiencing the same problem with emailing to external address, particularly mobile messaging.

Greg
Rob Buxton
Honored Contributor

Re: Email alerts, external address

Your e-mail Server will not "relay" the message to the outside world.
This is not an HPSIM problem.

You will need to talk to the folk that administer the e-mail system or network and try and determine if there's a host that can relay the e-mail for you.

You might then need to use a SMTP Mailer like Blat which you would run via a custom command. This can be configured to use a separate server as e-mail relay.
James Crosland
Frequent Advisor

Re: Email alerts, external address

I maanged to work around it by using a forward.

I had been trying to send to an internal address and an external address from rthe hP SIm to local SMTP router.

Instead I created an address in our internal address vook, forwarding to the external address. HPSIM then sent to 2 internal addresses fine, and the internal forward bounced the mail out.

Hope that helps.
Greg Lyon_1
New Member

Re: Email alerts, external address

James and Rob.

My email team is able activate this for me. They have a relay list for our SMTP gateway. All I to do was provide them with the server name , IP and domain name.

Thanks both of you for your replies.
Greg