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]