Originally posted by: phiiiiiiiil
Hello,
I have an issue with the mail adapter. I use the resource registry to store the password of the user of a pop3 account. This password value is a unix environment variable. So the entry in the resource registry looks like :
<Resource>
<Name>E_RECRUITEMENT_PASSWD</Name>
<Value encrypt="OFF" Server="skylab">$(E_RECRUITEMENT_PASSWD)</Value>
</Resource>
Here is the mail adapter trace :
Copyright <A9> 2004, IBM Corporation. All rights reserved
Built for SUN on Jul 16 2007 at 11:49:55.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 1. Card Mode is Integral.
Run Started at 17:15:07.090 on 08/26/08.
GetMailCoreInfo: Successful.
WSAStart: Entering WSAStart: bWSStarted = 0, nWSClients = 0 Sockets Client ID 1 enabled.
WSAStart: Exiting (rc = 1) Server host is 'skylab'.
Using port 'pop3' for the connection.
Connecting to 'skylab'.
Socket Opened.
Connected.
+OK POP3 skylab 2006e.96 server ready (S)
USER $(E_RECRUITEMENT_PASSWD)
+OK User name accepted, password please (S)
PASS
-ERR Bad login (E)
QUIT
+OK Sayonara (S)
Socket Closed.
It's look like the unix environment variable is never evaluated before authenticating to the mail sever.
This way to store password works fine for every other adapter we use ( especially Database ) except the mail one.
Do someone encounter such problem or have a suggestion of what the problem could be ?
Thanks in advance for your help,
Regards,
Phil
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender