Page 1 of 1

SMTPMail RCV: 550 5.7.1 Unable to relay

Posted: Mon Mar 28, 2005 6:52 pm
by mickboland
I got this error running a job with a Notification Activity. I cannot find any more details about why 'SMTPMail RCV: 550 5.7.1 Unable to relay for xxx@xx.com.au' happened?? Full trace below!

NB: I tried it from the cmd line but got the same error. My 'dssendmail_template.txt' uses:

<file>
From: %from%
To: %to%
Subject: %subject%
Server: %server%

%body%
</file>
%dsdir%\bin\dssmtpmail.exe -file %file%

************************************************
lkpSKeyLookupsMaster..JobControl (DSSendMail): Error when executing command: C:\Ascential\DataStage\Projects\ScratchArea\sendmail_lkpSKeyLookupsMaster.bat
*** Output from command was: ***
SMTPMail Looking up server...
SMTPMail Opening connection to xxxxx...
SMTPMail RCV: 220 xxx.xxx.Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Tue, 29 Mar 2005 09:53:44 +1000
SMTPMail RCV: 250 xxx.xxxx Hello [xx.xx.xx.xx]
SMTPMail RCV: 250 2.1.0 xxxxx....Sender OK
SMTPMail RCV: 550 5.7.1 Unable to relay for xxx@xx.com.au
SMTPMail Not sent to recipient xxx@xx.com.au
SMTPMail RCV: 221 2.0.0 xxx.xxx Service closing transmission channel

Please check any paths in the following command file are correct, and if necessary adjust the 'dssendmail_template.txt' file in the project directory.

Contents of command file:
C:\Ascential\DataStage\Engine\bin\dssmtpmail.exe -file sendmail_lkpSKeyLookupsMaster_file.tmp

Posted: Mon Mar 28, 2005 9:10 pm
by chulett
Not really a DataStage problem, more of a configuration issue with your email server. Take a look at this Microsoft Knowledge Base article and see if it applies.

There seemed to be several other similar articles which a search there for your keywords should turn up.

Posted: Mon Mar 28, 2005 9:33 pm
by trokosz
The server you have DataStage installed....what is the name of the SMTP server this server points to? The SMTP appears not to be on the DataStage server so find out the name and point it to there....

Posted: Mon Mar 28, 2005 11:26 pm
by mickboland
thanks - solved

Posted: Wed Oct 12, 2005 7:58 am
by krishnan
hi
mickboland wrote:thanks - solved

could pls tell us how you resolved the problem of sending via ESMTP server.

Posted: Wed Oct 12, 2005 4:51 pm
by mickboland
i used the correct smtp server name