Adding an external email address for NS notifications causes no message to be sent and event not to be processed
Last Updated September 19, 2006
Setting an Email Notfication to be sent to an external email causes the Notification to stops processing, and the xml file to be moved to the 'BadMail' folder.
If only email addresses that are in the Exchange Server address book are used then Notification is processed correctly and email sent.
The following error is displayed:
Source: Altiris.NS.NSMailQueue.HandleEmailError Description: Failed to send email C:\Program Files\Altiris\Notification Server\Mail\SendMail\632799272229582804.xml. Moving to bad folder C:\Program Files\Altiris\Notification Server\Mail\BadMail\SMTPProtocolException\RecipientAddress ( Unhandled exception. Type=Quiksoft.EasyMail.SMTP.SMTPProtocolException Msg=550 Relaying is prohibited
Src=SMTP.Net StackTrace= at Quiksoft.EasyMail.SMTP.SMTP.a(String A_0, l A_1, ai A_2) at Quiksoft.EasyMail.SMTP.SMTP.a(String A_0, EmailMessage A_1, aiA_2) at Quiksoft.EasyMail.SMTP.SMTP.Send(EmailMessage MessageObj) at Altiris.NS.Utilities.MailStdScripting.SendSMTPSync(MailMessagemailMsg) )
There are 2 possible causes for this error message:
1- This error signifies that you have an invalid address in the "to" field of your notification policy
2- These errors come directly from your SMTP server.
They mean that the SMTP server you are using is configured to reject messages sent to outside email addresses and originating from unauthorized IP addresses or users. The purpose of such a restriction is to block spammers from using this server to send unsolicited email.
To confirm this, first thing you need to do is check whether you can Telnet to port 25 of the exchange server from the Notification Server machine.
telnet <exchange server name>:25
If you can't do this then the email won't work.
To fix cause 1:
1-Open the Notification Policy that is causing the problem (you can find the name of it in the email that failed to be sent in the Program Files\Altiris\Notification Server\Mail\BadMail\SMTPProtocolException\RecipientAddress directory
2- Look at the sub-fields within the Notification Server Policy, edit them to see if any are sending email to an incorrect / invalid location.
3- If any email addresses are incorrect, correct them.
To fix cause 2: You must have your system administrator enable relaying at least for certain IP addresses, or certain authenticated users.
To enable relaying in the Microsoft SMTP services, right-click on the Default SMTP Virtual Server under MMC (NT4) or Internet Services Manager (W2000), select the Access tab, and click on the Relay button.
If relaying is only allowed for authenticated users, you should take advantage of AspEmail's support for SMTP authentication via the properties Mail.Username and Mail.Password . Check with the AspEmail User Manual for more information.
Applies To NS 6.0 SP3 Microsoft Exchange Server
Imported Document ID: TECH13491
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe