Stefano,

I made sure 10.233.68.208 is the only IP on this machine (using command 
ipconfig /all).

To simplify the problem I opened a telnet session to test James locally 
and remotely.

Here are telnet command issued and response from James:

>From local machine:
220 cn068etss208 SMTP Server (JAMES SMTP Server 2.2.0) ready Tue, 7 Mar 
2006 11:15:11 -0800 (PST)
>MAIL FROM: <[EMAIL PROTECTED]>
250 Sender <[EMAIL PROTECTED]> OK
>RCPT TO:<[EMAIL PROTECTED]>
250 Recipient <[EMAIL PROTECTED]> OK
>DATA
354 Ok Send data ending with <CRLF>.<CRLF>
>HELLO
>.
250 Message received


>From remote machine:
220 cn068etss208 SMTP Server (JAMES SMTP Server 2.2.0) ready Tue, 7 Mar 
2006 11:19:17 -0800 (PST)
>MAIL FROM: <[EMAIL PROTECTED]>
250 Sender <[EMAIL PROTECTED]> OK
>RCPT TO:<[EMAIL PROTECTED]>
530 Authentication Required

Are they full message you want?

Your time and help is very much appreciated.
Thanks.
Ningmei Zhu








Stefano Bagnara <[EMAIL PROTECTED]>
03/07/2006 10:09 AM
Please respond to "James Users List"

 
        To:     James Users List <[email protected]>
        cc: 
        Subject:        Re: Send out emails without authentication required


Your configuration seems correct.

I would like to see the full message (with headers) that you receive 
when authRequired is true.

Are you sure that your SMTP client is on a machine with only that IP 
(10.233.68.208) and there is no NAT or other IP rewriting between your 
client and James machine?

Stefano

PS: you should not send "CONFIDENTUAL OR PRIVILEGED" messages to public 
lists. This is archived on many sites.

[EMAIL PROTECTED] wrote:
> Hi Stefano,
> 
> I have James 2.2 running on one machine and have SMTP client (a third 
> party software) running on another machine (10.233.68.208).
> 
> When the SMTP client send out emails via James, it received the 
response: relaying denied if I have set <authRequired>false</authRequired> 
or  Authentication required if I have set 
<authRequired>true</authRequired>.
> 
> But if  James and SMTP client running on the same machine, then 
everything works fine.
> 
> Question:
> How to set up config.xml so that authentication is NOT required no 
matter 
> SMTP client is running locally or remotely?
> 
> 
> Here is my config.xml:
>          <mailet match="RemoteAddrNotInNetwork=127.0.0.1,10.233.68.208" 
> class="ToProcessor"> 
>             <processor> relay-denied </processor> 
>             <notice>550 - Requested action not taken: relaying 
> denied</notice> 
>          </mailet> 
> 
>    <smtpserver enabled="true"> 
>       <handler> 
>          <authRequired>true</authRequired> 
>          <authorizedAddresses>127.0.0.0/8</authorizedAddresses> 
>          <authorizedAddresses>10.233.68.208</authorizedAddresses> 
>       </handler> 
>    </smtpserver> 
> 
> Many Thanks!
> Ningmei Zhu
> 
> 
> CONFIDENTIAL OR PRIVILEGED:  This communication contains information 
intended only for the use of the 
> individuals to whom it is addressed and may contain information that is 
> privileged, confidential or exempt from other disclosure under 
applicable 
> law.  If you are not the intended recipient, you are notified that any 
> disclosure, printing, copying, distribution or use of the contents is 
> prohibited.  If you have received this in error, please notify the 
sender 
> immediately by telephone or by returning it by reply email and then 
> permanently deleting the communication from your system. Thank you. 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to