server-user  

Re: How to configure the Websphere Business Event with apache-james

Stefano Bagnara
Fri, 13 Nov 2009 01:42:56 -0800

Sorry.. I sent this to server-dev instead of server-user ;-)

Limincn: I correct my last statement... subscribe to
server-user@james.apache.org for this kind of issues.

Stefano

2009/11/13 Stefano Bagnara <apa...@bago.org>:
> 2009/11/13 limincn <limi...@hotmail.com>:
>>
>> No, I am sure I have not use "****".
>>
>> I have tried the following mail address.
>>
>> 1. a...@cn.ibm.com
>> 2. <a...@cn.ibm.com>
>> 3. "ABC" <a...@cn.ibm.com>
>> 4. "a...@cn.ibm.com"
>>
>> all of them are wrong. the error log is same.
>>
>> but according to the Websphere Business Event Help the 1 and 3 above should
>> be right.
>>
>> If you think my answer is not suficient, could you tell me dou you think
>> which type of mail address will be right.
>
> THe first address is correct, but you probably are looking to the wrong stuff.
> The problem is in the parameter that Websphere is passing to the "MAIL
> FROM:" command.
> There is a syntax error in the MAIL FROM command.
> If you are not able to determine what Websphere is passing in this
> command you can enable debug logging for the smtpserver in james:
>
> <jamesfolder>/apps/james/SAR-INF/environment.xml:
> ---
>      <category name="smtpserver" log-level="DEBUG">
>        <log-target id-ref="smtpserver-target"/>
>      </category>
> ---
> Just change the log-level to DEBUG.
>
> Then restart and look at <jamesfolder>/apps/james/logs/smtpserver-YYYY-MM*.log
>
> Stefano
>
> PS: as I told you before the right list is server-dev. So I reply
> there and to you. Let's stop using gene...@j.a.o for something it's
> not about. Subscribe to server-dev if you want answers.
>
>> Stefano Bagnara-2 wrote:
>>>
>>>> but when I want to use apache-james in the Websphere Business Event, the
>>>> mail can not be sent normally neither using *...@cn.ibm.com or using
>>>> <*...@cn.ibm.com>.
>>>>
>>>> error log is:
>>>> Mail reply: (*...@cn.ibm.com) 501 5.1.7 Syntax error in MAIL command
>>>
>>> The error say you have a syntax error in the email address.
>>> You obfuscated the email with "****" so it's hard to say if it was a
>>> correct address or not.
>>> But note that the syntax error is not in the recipient address, but
>>> the sender address (MAIL is the command used to send the FROM: email).
>>>
>>> Stefano
>>>
>>> PS: use server-u...@j.a.o list for this kind of questions.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org