Hi all,
In the James mailserver instance I am running, it is giving as error of "530
- Authentication Required" to senders. I have enabled SMTP Authentication in
config.xml and does not have any entry in <authorizedAddresses>. Below are
the snippets from my config.xml
----------------------------------------------------------------------------
--------------------------------------------------
<!-- Uncomment this if you want to require SMTP authentication.
-->
<!-- Comment this line if SMTP AUTH is to be turned OFF -->
<authRequired>true</authRequired>
----------------------------------------------------------------------------
--------------------------------------------------
<!--mailet match="RemoteAddrNotInNetwork=127.0.0.1"
class="ToProcessor">
<processor> relay-denied </processor>
<notice>550 - Requested action not taken: relaying
denied</notice>
</mailet-->
----------------------------------------------------------------------------
----------------------------------------------------
<!-- Uncomment this if you want to authorize specific
addresses/networks.
If you use SMTP AUTH, addresses that match those specified
here will
be permitted to relay without SMTP AUTH. If you do not use
SMTP
AUTH, and you specify addreses here, then only addresses that
match
those specified will be permitted to relay.
Addresses may be specified as a an IP address or domain name,
with an
optional netmask, e.g.,
127.*, 127.0.0.0/8, 127.0.0.0/255.0.0.0, and
220.227.165.246/8 are all the same
See also the RemoteAddrNotInNetwork matcher in the transport
processor.
You would generally use one OR the other approach.
-->
<!-- authorizedAddresses>127.0.0.0/8, 220.227.165.246/8,
192.168.102.17/8, 59.144.163.82/8</authorizedAddresses -->
<authorizedAddresses></authorizedAddresses>
----------------------------------------------------------------------------
---------------------------------------------------
The External IP which is given to this server, is reachable internally i.e.
from 192.168.* network. But when it is used from external network to send
mails, sender gets a System Undelivered mail saying that Authentication is
required.
James version is 2.2.0.
Any help would be appreciated.
Thanks in advance.
P.S. "My server requires Authentication" has been enabled from Email client
from which sender is sending mail.
Rgds,
Gaurav Handa